Heatmap Box Size / Heat Map Elements Discrepancy
- Dominant language
- Python
- Stars
- 1.4k
- Forks
- 124
- Avg merge
- 1d 18h
- Merged PRs (30d)
- 1
Description
I am currently running hvplot 0.6.0 and noticed that the size of the boxes in a heatmap are not accurate to the size of the bins in the x-axis. I have tried with multiple data types (floats, int, dt[ns], etc.) and have experienced the same issue. Problem is replicated for me with the code below. As you can see "Thor" extends for several months at the end of the year and "Mr. Anderson" doesn't show up on January 1st.
```
import pandas as pd
import hvplot.pandas
import holoviews
hv.extension('bokeh')
d={'Date': ['1/1/2020', '6/2/2020', '1/7/2020','2/25/2020','6/2/2020','12/13/2020'],
'Agent': ['Mr. Anderson', 'Axl Rose', 'Axl Rose', 'Frodo', 'Spiderman', 'Thor'],
'Commissions': [10, 8, 18, 2, 5, 3]}
d=pd.DataFrame(d)
d.Date=pd.to_datetime(d.Date)
d.hvplot.heatmap('Date', 'Agent', 'Commissions', title='Commissions for some serious MFers')
```

Contributor guide
Assessment
This issue has not been assessed yet.