Okay, as for the text: here's what works best for my purpose (I want to, so 
to speak, annotate the PlotItem rather than the view of the plot - i.e. I 
want the text positioned outside the axes and relative to the edge of the 
widget)


clabel = pg.LabelItem('some text...', justify='right')
widget.plotItem.layout.addItem(clabel, 4, 1)


where widget is my PlotWidget.

The only puzzle is that using Qt layout flags in the addItem call seems to 
have no effect. 

-- 
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/10e87fe6-846f-48c9-b5d1-0b590edf4639%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to