hoffstadt / hoffstadt/DearPyGui
Setting the "auto-fit" feature for plots through the code and not through the popups
- Dominant language
- C++
- Stars
- 15.6k
- Forks
- 783
- PR merge metrics
- No merged PRs in 30d
Description
**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](https://dearpygui.readthedocs.io/en/latest/documentation/plots.html#axis-limits) 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.

Contributor guide
Assessment
This issue has not been assessed yet.