I tried embedding newlines in the text but it does not wrap long titles. Iām using the Bokeh backend.
Thanks!
I tried embedding newlines in the text but it does not wrap long titles. Iām using the Bokeh backend.
Thanks!
You can add line breaks in the title like this:
import pandas as pd
df = pd.DataFrame([1, 2, 3], columns=['y'])
df.hvplot(title='A long title\nwith a line break')
The version of bokeh is what determines whether this is supported or not, so try upgrading to latest.
Works with Bokeh ā2.4.0ā!