How can I set the left margin of the graph such that the y-axis labels 
don't get cut off? I generated my plot by calling pg.PlotWidget(), and when 
I generate my graph and save it to disk (using .grab() on the plot widget), 
the y-axis labels are all cut off. I have tried setContentsMargins() on the 
PlotWidget, setting tickTextWidth on the y-axis (obtained 
via plot.getPlotItem().getAxis('left') ), and adding the plot widget to a 
layout in another widget and calling setContentsMargins on those, and none 
of those seems to have any effect on how much space is available for the 
labels. How can I fix this? Thanks.

-- 
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/4b874e3f-e1df-4629-b716-19e40b3a5455%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to