Closed Modiug closed 5 years ago
Hello Guido, thanks for reporting this. It seems to be a bug in the cairoplugin caused by setting the workstation viewport repeatedly. As a quick workaround, you can export a pdf instead of a png, which should work correctly.
This should be fixed by commit 01560eacde287732f6b29a03b5fa90cc17953985.
Hi Florian, thanks, but I was actually using the gr.beginprint() mechanism to write to memory for integration with tkinter/PySimpleGUI. Will wait for the next release then (not urgent).
Ah, the memory output also uses the cairoplugin, so the fix should work as well.
The fix was released as part of gr 0.41.0 / python-gr 1.11.0.
Version is 1.10.0 (Python)
The following script will open a "GKS QtTerm" correctly showing two subplots. However the gr_test.png created with gr.beginprint() only shows the lower subplot.
Regards Guido