Hi, I tried to make a quadmesh with the plotly backend, but the datetime values get converted to numerical.
Also tried bokeh & matplotlib backends, which work fine.
Data:
Plot:
Hi, I tried to make a quadmesh with the plotly backend, but the datetime values get converted to numerical.
Also tried bokeh & matplotlib backends, which work fine.
Data:
Plot:
OK, I figured it out.
Just need to convert datetime to an object:
x = xr.DataArray(df.values,dims=("price","date"),
coords={"date":df.columns.astype('O'),"price":df.index},
attrs={"long_name":"volume","units":"USDT"})