A heatmap plot I generated with hvPlot seems to have stopped working after the latest update. This problem can be reproduced from the example, at least for me: Change the example plot command to
df.hvplot.heatmap(x='time.date', y='time.hour', C='temperature', reduce_function=np.mean, height=500, width=500, colorbar=False)
where I added the
reduce_function for good measure, to prevent a warning. I would now expect the mean temperature for each hour of the day over the timerange in question, but I end up with an empty plot. Can you reproduce this, or am I doing something wrong?
Edit: It appears I can get this to work if I define a new column containing only the date, without(!) time zone information. Why?
df["date"] = df.index.map(lambda x: x.floor("d").tz_localize(tz=None)) df.hvplot.heatmap(x='date', y='time.hour', C='temperature', reduce_function=np.mean, height=500, width=500, colorbar=False)