Skip to content
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

Auto-Scaling Axis in plots #1780

Open
xlr8max opened this issue May 24, 2022 · 1 comment
Open

Auto-Scaling Axis in plots #1780

xlr8max opened this issue May 24, 2022 · 1 comment
Labels
state: pending not addressed yet

Comments

@xlr8max
Copy link

xlr8max commented May 24, 2022

Is your feature request related to a problem? Please describe.
Not exactly a problem, but I think this option was missed.
I want to auto-fit the X axis by code. Currently I can only do it manually, if I right click on the axis. (See attached picture )

Describe the solution you'd like
Is it possible to set a parameter to true/false for auto scaling? same as for Invert and Log Scale
Alternatively, I would like to set a timeframe (for example the last minute) to be plotted

Describe alternatives you've considered
Manually adjusting the axis every time I start the program

Additional context
DearPyGui functions here and here

@xlr8max xlr8max added the state: pending not addressed yet label May 24, 2022
@yannou38
Copy link

yannou38 commented Oct 1, 2024

Done in #2275
dpg.add_plot_axis(dpg.mvYAxis, label="value",parent=graph,auto_fit=True)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
state: pending not addressed yet
Projects
None yet
Development

No branches or pull requests

2 participants