You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using dearpygui.core.add_text_point(), the x and y coordinates don't line up with what is plotted. For example, if I put add_text_point(plot, name, 1, 1), the point goes to point 0, 1 on the plot. Any subsequent commands to add points don't get placed where you expect.
To Reproduce
Steps to reproduce the behavior:
Use dearpygui.core.add_text_point to add a point to a preexisting plot, entering x and y coordinates
Observe that the x and y coordinates that you entered in the command do not line up with what is plotted
Expected behavior
When using dearpygui.core.add_text_point(plot, name, x, y), the values entered for x and y should correspond to the plotted points.
Screenshots/Video
Standalone, minimal, complete and verifiable example:
# sample plotting script with add_text_point and a few random pointsfromdearpyguiimportcoreasdpgfromdearpyguiimportsimpleasdpgswithdpgs.window("Main Window"):
dpg.add_plot("plot")
dpg.add_text_point("plot", "p1", 0, 0)
dpg.add_text_point("plot", "p2", 4, 3)
dpg.add_text_point("plot", "p3", 2, 1)
dpg.start_dearpygui(primary_window="Main Window")
The text was updated successfully, but these errors were encountered:
Version of Dear PyGui:
Version: 0.6.121
OS
Operating System: Windows 10
My Issue/Question
When using dearpygui.core.add_text_point(), the x and y coordinates don't line up with what is plotted. For example, if I put add_text_point(plot, name, 1, 1), the point goes to point 0, 1 on the plot. Any subsequent commands to add points don't get placed where you expect.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
When using dearpygui.core.add_text_point(plot, name, x, y), the values entered for x and y should correspond to the plotted points.
Screenshots/Video
Standalone, minimal, complete and verifiable example:
The text was updated successfully, but these errors were encountered: