shared_series in subplot
-
PLEASE CAREFULLY READ: FAQ
-
PLEASE CAREFULLY READ: Documentation
-
FOR FIRST-TIME USERS ISSUES, please use the Discord server.
-
REMOVE ALL 3RD PARTY LIBRARIES.
-
PLEASE MAKE SURE that you have: read the FAQ; explored the examples; searched among Issues; and read the link provided in (1) (2).
-
Be mindful that messages are being sent to the e-mail box of "Watching" users. Try to proof-read your messages before sending them. Edits are not seen by those users.
-
Delete points 1-7 and PLEASE FILL THE TEMPLATE BELOW before submitting your issue or we will immediately close it.
Thank you!
Version of Dear PyGui
Version: 2.0.0 Operating System: windows 11
My Issue/Question
when we use shared series in subplot and add multiple plots the plot labels gets extended to a point where it goes beyond the screen A clear and concise description of what the issue/question is. Please provide as much context as possible.
To Reproduce
Steps to reproduce the behavior: add subplots option add shared series in argument add more number of series to the plot to go beyond the screen
Expected behaviour
there should be at least scrool bar to check the labels A clear and concise description of what you expected to happen.
Screenshots/Video
XXX (you can drag files here)
Standalone, minimal, complete and verifiable example
# Here's some code anyone can copy and paste to reproduce your issue
import dearpygui.dearpygui as dpg
dpg.create_context()
dpg.create_viewport()
dpg.setup_dearpygui()
with dpg.window(label="tutorial"):
dpg.add_button(label="Press me")
more_code_to_explain_my_issue()
dpg.show_viewport()
dpg.start_dearpygui()
dpg.destroy_context()
This functionality is provided by ImPlot, which DPG uses as a backend for rendering plots. This enhancement request should be opened for ImPlot, because there's nothing we can do at DearPyGui level here.
Just curious, what's your scenario or reason for using the share_series argument? Is it because you need a single legend for all the plots?
in my application I'm not using shared series ,i just tried it out than thought if we add more number of series we might face this issue @v-ein