Issue with plots #2194
Replies: 1 comment
-
|
I just figured out that dpg only allos second precision. I made an arragement to my data, but it will be nice if smaller precision could be aded (if it is feasible). Amazing library by the way :) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have to plot a time series. In the x axis I have the timestamps in Unix time format (to nanoseconds) and on the y axis I have integers. The data is in lists, so, for example:
x = [1694445267313000000, 1694502867091000000, 1694503827178000000]andy=[3.094, 3.083, 3.092]. I have set thetimekeyword toTrueand tried different configurations like using the keywordsuse_ISO8601or/anduse_24hour_clock.Below is the code used (
screen_plotis the pandas time series)I don't get any errors and I do get a window plot, but there is no data on it. The y aixs labels seems to recognize the data but in the x axis no dates appear and the plot is empty (see picture). Does someone know why this could happen? I tried to reduce the Unix timestamp to seconds instead of nanoseconds but, although something appears, it does not make sense as my data needs nanosecond precision.
Thanks in advance!
Ps: I tried plotting the time series with matplotlib and everything looks fine, the problem occurs with dearpygui library plot functions
Beta Was this translation helpful? Give feedback.
All reactions