Document (x/y)formatter and the printf-style
- Dominant language
- Python
- Stars
- 1.4k
- Forks
- 124
- Avg merge
- 1d 18h
- Merged PRs (30d)
- 1
Description
I've been working on a chat interface for hvPlot. Its already available at Panel-Chat-Examples.
According to https://hvplot.holoviz.org/user_guide/Customization.html the `xformatter` argument should support a `str` argument.

But when I try, the plot does not show and I see errors raised in the browser console.
```python
import pandas as pd
import hvplot.pandas
import bokeh.sampledata
bokeh.sampledata.download()
from bokeh.sampledata.stocks import MSFT
data = pd.DataFrame(MSFT)[60:120]
data["date"] = pd.to_datetime(data["date"])
data = data.sort_values(by="date", ascending=False).head(100)
plot = data.hvplot(
x='date',
y='close',
kind='line',
xformatter='%d-%Y',
xlabel='Date',
ylabel='Closing Price',
title='Closing Price Over Time',
responsive=True,
)
import panel as pn
pn.panel(plot).servable()
```

If I don't use the `xformatter`, then the plot shows.
```bash
bokeh==3.3.1 holoviews==1.18.1 hvplot==0.9.0 panel==1.3.4
```
Contributor guide
Assessment
This issue has not been assessed yet.