DearPyGui icon indicating copy to clipboard operation
DearPyGui copied to clipboard

Place the window to a plot

Open Todme opened this issue 9 months ago • 5 comments

Is there any way to place window on a plot? Here is an example that I want. I'm trying to create air traffic controller screen, so I have to place some map data and some movable squares. I've done with it but I can't realize how to make additional rectangle with data and clickable labels near each square. I found that window could be transparent and contain labels and buttons, but idk how to add it on a plot. Any suggestions? Thanks.

Image

Todme avatar Mar 25 '25 13:03 Todme

Can you ask this question on Discord? People in there are more experienced with plots and can probably suggest a solution.

Also, you can probably use plot annotations to draw the labels, and a click handler plus get_plot_mouse_pos to handle mouse clicks.

v-ein avatar Mar 25 '25 15:03 v-ein

Can you ask this question on Discord? People in there are more experienced with plots and can probably suggest a solution.

Also, you can probably use plot annotations to draw the labels, and a click handler plus get_plot_mouse_pos to handle mouse clicks.

Can't find Discord community, could you share it with me please?

Todme avatar Mar 25 '25 15:03 Todme

The link is right there at DearPyGui home page: https://github.com/hoffstadt/DearPyGui -> Discord Forum.

v-ein avatar Mar 25 '25 19:03 v-ein

Please don't click the link in the notification you received for the previous comment. It's a scam.

v-ein avatar Apr 16 '25 18:04 v-ein