-
-
Notifications
You must be signed in to change notification settings - Fork 196
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Can't save the line chart to an image file in KDE Wayland #530
Comments
Sorry about that, and no I do not. If you solve it, please write your solution in here or send me a pull request, as it might help others with the same problem. |
I find out the reason but I can't fix it. I appreciate your help. @highfestiva Root cause: Solution (partial): from PIL import ImageGrab Need help: |
print(fplt.windows[0].pos(), fplt.windows[0].size()) prints something like
on my Windows machine. Hope it helps! |
Unfortunately it doesn't work on wayland either. The x,y,w,h from your codes above is
Among many who complained the same about wayland, I found this eventually (2nd paragraph): tl;dr is, wayland intentionally doesn't support positioning/moving of app window programmatically. |
I have been using finplot to generate a line chart and save to an image file without any problems. Recently I notice that when I use KDE Wayland on Linux, it saves an 0 byte file. When I switch back to X11, it works fine. Any ideas why it doesn't work on Wayland?
The text was updated successfully, but these errors were encountered: