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

Reverse query #2359

Open
LaurentAndrieu opened this issue Jul 9, 2024 · 0 comments
Open

Reverse query #2359

LaurentAndrieu opened this issue Jul 9, 2024 · 0 comments
Labels
state: pending not addressed yet

Comments

@LaurentAndrieu
Copy link

LaurentAndrieu commented Jul 9, 2024

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
My actual code creates a class for each plot and then calls the drawing function here:

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.

@LaurentAndrieu LaurentAndrieu added the state: pending not addressed yet label Jul 9, 2024
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

1 participant