I am using a legend within the PlotItem of a 
custom GraphicsLayoutWidget which enables me to hide lines by changing the 
pen of PlotCurveItems.

Whenever I change the pen of a curve, the line itself immediately updates; 
however, the line drawn in the ItemSample of the legend only updates after 
the mouse is moved over the ViewBox.
What should I be calling after I change the pen to update the ItemSample?

-- 
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/d1ef6a8b-d406-4977-be73-d19bd22463e3%40googlegroups.com.

Reply via email to