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 setting a plot's x-axis to time, the function dpg.get_plot_mouse_pos() returns an x value in increments of 128 seconds instead of returning the exact x-value of the mouse position to the nearest second. For example the seconds returned from this function jump between 1658792320 and 1658792448 instead of returning any of the values in between. The precision of the dpg.get_plot_mouse_pos() return value is brought up here, however that issue is regarding the lack of decimal points in the number of seconds returned.
To Reproduce
Steps to reproduce the behavior:
Run the code below.
Move the mouse pointer horizontally over the graph area between the two plotted points
Watch the coordinates in the command line output (the x-coordinate jumps between 1658792320 and 1658792448 instead of showing any of the values in between)
Expected behavior
We should see the x-coordinate change by 1 as we slowly move the mouse horizontally across the plot
Standalone, minimal, complete and verifiable example
Version of Dear PyGui
Version: 1.11.1
Operating System: Windows 10
My Issue/Question
When setting a plot's x-axis to time, the function
dpg.get_plot_mouse_pos()
returns an x value in increments of 128 seconds instead of returning the exact x-value of the mouse position to the nearest second. For example the seconds returned from this function jump between 1658792320 and 1658792448 instead of returning any of the values in between. The precision of thedpg.get_plot_mouse_pos()
return value is brought up here, however that issue is regarding the lack of decimal points in the number of seconds returned.To Reproduce
Steps to reproduce the behavior:
Expected behavior
We should see the x-coordinate change by 1 as we slowly move the mouse horizontally across the plot
Standalone, minimal, complete and verifiable example
The text was updated successfully, but these errors were encountered: