holoviz / holoviews

With Holoviews, your data visualizes itself.
https://holoviews.org
BSD 3-Clause "New" or "Revised" License
2.66k stars 396 forks source link

[matplotlib backend] Setting title for `hv.Bars` does not work #6233

Closed sztal closed 1 month ago

sztal commented 1 month ago

ALL software version info

Description of expected behavior and the observed behavior

As in the title. The expected behavior is, of course, that it should be possible to set title.

Complete, minimal, self-contained example code that reproduces the issue

import pandas as pd
import holoviews as hv

hv.extension("matplotlib", logo=False)

df = pd.DataFrame({"x": ["a", "b"], "y": [5, 10]})
hv.Bars(df).opts(title="THE TITLE IS NOT DISPLAYED")

Stack traceback and/or browser JavaScript console output

Screenshots or screencasts of the bug in action

sztal commented 1 month ago

Sorry, that was an error on my side due to a global configuration.