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
Sorry, I have zero experience in reporting issues.
But I believe I've found an error > if you succesfully draw a plot with wxmplot.PlotPanel.Plot() using the use_dates=True option and then you want to later update it with wxmplot.PlotPanel.update_line() and update_limits=True you'll get an error:
TypeError: '>' not supported between instances of 'float' and 'datetime.datetime'
The error I believe stems from config.py the set_viewlimits() function. More specifically I think it goes wrong here:
Which is the piece of code that will throw a TypeError if x contains datetime.datetime objects.
Hope this helps your team to further improve the code. If you need me to write a full piece of code that throws the error when you run it let me know. If the error is surely on my part due to wrong usage just mention so and I'll find my own solution.
Thnx!
The text was updated successfully, but these errors were encountered:
Sorry, I have zero experience in reporting issues.
But I believe I've found an error > if you succesfully draw a plot with
wxmplot.PlotPanel.Plot()
using theuse_dates=True
option and then you want to later update it withwxmplot.PlotPanel.update_line()
andupdate_limits=True
you'll get an error:TypeError: '>' not supported between instances of 'float' and 'datetime.datetime'
The error I believe stems from
config.py
theset_viewlimits()
function. More specifically I think it goes wrong here:Which is the piece of code that will throw a TypeError if
x
containsdatetime.datetime
objects.Hope this helps your team to further improve the code. If you need me to write a full piece of code that throws the error when you run it let me know. If the error is surely on my part due to wrong usage just mention so and I'll find my own solution.
Thnx!
The text was updated successfully, but these errors were encountered: