Plotly.go heatmap display issues, when date range not continuous

code_date_range_continuous

code_date_range_discontinuous

Hi plotly community,

I stumbled upon a display issue with the heatmap in plotly python. If I filter the date range for the x-axis in an uncontinuous way (from September 1st until March 30th for example), performing df.loc (which works fine with the data itself), the heatmap kind of “interpolates” the heatmap cells between March 30th and September 1st. Ideally, I would like it to be not filled. See screenshots for code snippets and images.

Doing a “normal” date range from April 1st until August 31st works totally fine.

Does somebody have an idea, what I might be doing wrong here? Do I need to use 2 separate traces for the beginning and end of year date ranges?

Thank you

Kind regards

Has anybody figure this out?

I noticed that this is still an issue in current version, 6.3.0

Thank you

Hey @kob4lt could you provide some sample code?

I understood, that you want to display a heatmap and your data has missing values, right? What do you want to be displayed where the data is missing?