hoffstadt / DearPyGui

Dear PyGui: A fast and powerful Graphical User Interface Toolkit for Python with minimal dependencies
https://dearpygui.readthedocs.io/en
MIT License
12.96k stars 677 forks source link

Image Series (plots),query=True,Box coordinates, how to fix #1784

Open monkeycc opened 2 years ago

monkeycc commented 2 years ago

Is your feature request related to a problem? Please describe. I want to frame it Dimension coordinates Coordinates of the box Should be image coordinates

Describe the solution you'd like A clear and concise description of what you want to happen.

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Additional context

with dpg.window(label="Example Window"):

        with dpg.plot(label="Image Plot", height=height, width=width, query=True):
            dpg.add_plot_legend()
            dpg.add_plot_axis(dpg.mvXAxis, label="XXX axis")
            with dpg.plot_axis(dpg.mvYAxis, label="YYY axis"):

                dpg.add_image_series("texture_tag", [0, 0], [width, height], label="ABCD")

dddd

sedenka commented 2 years ago

I am not sure if I understand the problem but I have recorded a behavior which I would consider as a bug. I have used version 1.6.2. query