-
-
Notifications
You must be signed in to change notification settings - Fork 699
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
Setting the "auto-fit" feature for plots through the code and not through the popups #1363
Comments
Hi |
Is this what you are looking for? |
Hi! Almost! but I still would like to see some synchronization between the popup and API😊. Maybe at some point later. Probably it will reduce some necessity for additional widgets which we need to build ourselves to control this functionality. |
Hi, is there any progress on this? It would be really nice to have, as the functionality is already built into implot. From what I understand, this feature would only require exposing the |
For 1.7, we will be revamping the plotting API (similar to how we did the nodes in 1.6). You can expect this in 1.7 (plus a lot of other new plot related functions). |
Hi @hoffstadt was this feature ever added? |
It would be great to manually set the limits of the axes without locking them internally. Is it possible? |
with #2275 there is now a auto-fit argument for add_plot_axis: As of writing this there is no stable release yet but you can get it as beta: python -m pip install dearpygui=2.0.0b1 |
Is your feature request related to a problem? Please describe.
I am looking for pqtgraph alternatives for certain tasks and investigating dpg at the moment. Pyqtgraph has capability to control auto scaling of axes through code, such that this information is also synchronized with popup menus.
I am frustrated on how one can set "auto-fit" feature of the plots for x and y axes. The documentation does not seem to have this section.
Could not find it in the code too.
Describe the solution you'd like
I would like to see an API feature of axes items which enables "auto-fit" option, the same one which can be selected through the popup windows of the the plot.
Describe alternatives you've considered
I considered using an external option testing the limits on data updates and manually readjusting the limits, but I cannot control the popup, and adding additional widgets is more like increasing entropy.
Additional context
Here is the popup menu I am refering to.
The text was updated successfully, but these errors were encountered: