first tick label on categorical x-axis misplaced when labels are rotated
- Dominant language
- Python
- Stars
- 1.4k
- Forks
- 124
- Avg merge
- 1d 18h
- Merged PRs (30d)
- 1
Description
### Versions
```
hvplot 0.8.1
holoviews 1.15.1
pandas 1.5.0
python 3.9.13
jupyterlab 3.4.5
Chrome Browser
```
### Description
The first tick label on a categorical x-axis is not correctly placed horizontally when tick labels are rotated at an angle (not 0 or 90 degrees). It is much closer to the second tick label than it should be. I noticed that while working with a larger set of labels. This can also be easily seen with a smaller set of labels by making the plot very narrow. I have tested `bar`, `area`, `line`, and `scatter`. They all have that issue.
### Example
```python
import hvplot.pandas
import pandas as pd
df = pd.DataFrame([["Steven Spielberg", 5],
["Alfred Hitchcock", 4],
["Stanley Kubrick", 4],
["Billy Wilder", 4],
["John Huston", 3]],
columns=['Director', 'Frequency'])
df.hvplot.bar(rot=45, x='Director', y='Frequency', width=150)
```
### Stack traceback
No error message.
### Screenshots
Contributor guide
Assessment
This issue has not been assessed yet.