hoffstadt / hoffstadt/DearPyGui

Reverse query

Open
#2,359 1 comment 0 reactions 0 assignees View on GitHub
state: pending
Dominant language
C++
Stars
15.6k
Forks
783
PR merge metrics
No merged PRs in 30d

Description

Hello,

I like the plot query but I find better to have the reverse function because I can zomm in and out as I want, with more precision.
Here is what I made but I have to cut the framerate for each plot, it's not efficient:
![Reverse query](https://github.com/hoffstadt/DearPyGui/assets/160728560/230adc52-fb41-4304-910f-f4e8ae074d89)
My actual code creates a class for each plot and then calls the drawing function here:
```python
dpg.show_viewport()
while dpg.is_dearpygui_running():
# Show plot rectangle for each shown plot. The more plots shown, the less the frame rate
for plot, object in Plots_objects.items():
if dpg.is_item_visible(plot+"_") and not loading_status:
object.plot_limits()
dpg.render_dearpygui_frame()
```
As you can guess, the more plots, the more each rectangle will blink.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.