I have just found that I needed to use 

exporter = pg.exporters.ImageExporter(*win.scene()*)

To achieve what I wanted.
--Ian


On Friday, 19 August 2016 11:49:35 UTC+9:30, Ian001 wrote:
>
> I am trying to find the correct syntax to export a window created with 
>
> "win=pg.GraphicsWindow()"
>
> that consists of several plots created with 
>
> "p1 = win.addPlot(...) and then p2 = win.addPlot(...)" etc.
>
> I can export a single plot using the command 
>
> exporter = pg.exporters.ImageExporter(p1)
>
> but want to export the whole window made up of several plots.
>
> Can this be done?
>
> Thanks,
> Ian
>
>

-- 
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/e3a4d663-ac63-4884-aacb-5e4e4b7f2b1c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to