-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
(Web) graphics does not work from PyROOT #14943
Comments
(Hold on, mixed up the reproducer, fixing...) |
Can you add For me it works ok. |
Ok, now the reproducer is the correct one. Adding |
It also does not work with Canvas destroyed before it can be drawn. I have idea to provide special |
This is a blocker for the web graphics. |
It is not. Normal graphics is also not working with this macro. |
Right, thanks for pointing this out! I suggest a change to the documentation (e.g., this page: https://root.cern/manual/python/#interactive-graphics) that mentions that the canvas is better not in function-local scope but in global scope. |
One can use |
Can I work on this issue? |
Check duplicate issues.
Description
When using Python in interactive mode, the web window does not launch properly (see screenshot). It works from a C++ macro. One can also save canvas contents in ROOT batch mode.
Reproducer
Output:
ROOT version
master
Installation method
From sources
Operating system
Linux
Additional context
No response
The text was updated successfully, but these errors were encountered: