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 the x-limits of my datetime axis with xlim = (datetime.datetime(2002, 1, 1), datetime.datetime(2004, 1, 1)),
I get the error message ValueError: xlim: tuple element is not numeric: 2002-01-01 00:00:00.
The x-axis data comes from xarray and has dtype='datetime64[ns]
My workaround for entering the x-limits is xlim = (datetime.datetime(2002, 1, 1).timestamp() * 1000, datetime.datetime(2004, 1, 1).timestamp() * 1000)
The text was updated successfully, but these errors were encountered:
When setting the x-limits of my datetime axis with
xlim = (datetime.datetime(2002, 1, 1), datetime.datetime(2004, 1, 1))
,I get the error message
ValueError: xlim: tuple element is not numeric: 2002-01-01 00:00:00.
The x-axis data comes from xarray and has
dtype='datetime64[ns]
My workaround for entering the x-limits is
xlim = (datetime.datetime(2002, 1, 1).timestamp() * 1000, datetime.datetime(2004, 1, 1).timestamp() * 1000)
The text was updated successfully, but these errors were encountered: