Also, I only have this issue when I am using this with row-major. :| Maybe 
I keep getting that wrong, although my image looks like it was intended. 

On Tuesday, May 19, 2020 at 5:17:46 PM UTC+2, Lavinia B wrote:
>
> Hi,
> I have an ImageView in which I set data with mode=rgba. When I try to use 
> the ROI , the plot  gives me warnings if the ROI is not perfectly square. 
> "..\src\pyqtgraph\pyqtgraph\graphicsItems\PlotCurveItem.py", line 385, in 
> updateData
>     raise Exception("X and Y arrays must be the same shape--got %s and 
> %s." % (self.xData.shape, self.yData.shape))
>
> I don't understand why is this enforced. Can somebody explain?
>
> Note: this does not happen for mono images, or if I keep my selection 
> shape square. 
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"pyqtgraph" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/pyqtgraph/2ec3af92-f5ce-4e2e-b8fd-8dbc4cbeab08%40googlegroups.com.

Reply via email to