-
Notifications
You must be signed in to change notification settings - Fork 25
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
feature-request : export as svg or pdf #37
Comments
A long-term plan with Datoviz is to make a GPU rendering backend, leaving to other projects (such as the future VisPy 2.0 for which work has just started) the high-level specification of the scene. Export to vector formats would then be part of these other projects and not Datoviz itself. |
Ok, then I need to work on the interactivity of the program and keep performing export with matplotlib. |
Jupyter is not well supported yet, unfortunately. This is a major objective of the next version which is still in development. |
If you force to run in asyncio with Jupyter, it works, I don't really understand why : https://drive.google.com/file/d/1khMcT67qXGDz1SPJ07y3IisDY0RtlVd6/view?usp=sharing |
The error (shown in the output of the run() function, hidden in my video) is 👍
|
Can you try passing Good thing if asyncio is working. I wouldn't worry much about the error message, the asyncio event loop is still quite experimental. |
Show_fps does not seem to affect the GPU usage for my code (default panel and scene parameters, 2 visuals, 1 "markers" and 1 "line_strip". (between 70% and 80% for the same "constant" graph, whether show_fps is false or true). I also tried to disconnect all events, it does not change. However, I also tried with the example france.py and here it affects (29% GPU usage with show_fps = false, 70% when true)
|
show_fps=False should enable vertical synchronization, which will limit the framerate to 60 FPS. This framerate may still be too high for your computer, though. Maybe Datoviz should offer an option to artificially reduce the framerate even further. You could also check whether your nvidia card has settings that would allow you to reduce the framerate (google "half refresh rate" for example) |
That makes sense. My own plot was very large so was already updating at FPS smaller than 60, hence no difference, while the France.py example was updating at a higher FPS. Thanks for your help. |
A great feature would be to add the possibility to export a panel in a PDF or a SVG file !
The text was updated successfully, but these errors were encountered: