Hi,

I am creating a GraphicsLayoutWidget and then using addPlot() to add plots 
to the widget. This widget is not displayed on the screen but used to 
export image by using:

        exporter = pyqtgraph.exporters.ImageExporter(pwidget.scene())
        exporter.export(os.path.join(datadirtemp, str(typename) + '.png'))

But the images are never covering the whole plot.

Also, using the below item does not help:
       exporter.parameters()['width'] = pwidget.scene().sceneRect().width() 

pwidget.scene() has correct dimensions but pwidget doesnot.

-- 
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/e34cf9f6-af3a-4dee-8060-e69f3ceeb676%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to