How to get 2 or more LinearRegionItem to overlap each other
<p>I have added 2 <code>LinearRegionItems</code> to a <code>pyqtgraph</code> plot. When I move the boundary of 1 over the other, the boundary never overlaps the other.</p>

<p>I would like to know how to allow overlapping. This is a functionality that I need, where I am selecting different regions of the data plot to be used later on.</p>

<p>Sorry, there was a bug in my code which was handling the case where a part of one LinearRegionItem overlapped with another LinearRegionItem.</p>

<p>Now I see that one linearRegionItem can lie on top of another one.</p>

<p>Consider this solved</p>

python pyqtgraph