hvplot
hvplot copied to clipboard
bar plot docs: specify column
Hi, in the bar plot docs https://hvplot.holoviz.org/reference/pandas/bar.html, the bar plot output fromtable.hvplot.bar(stacked=True, height=500, legend='top_left') is confusing. We didn't specify the column 'mpg' anywhere. It basically just plot the first column. Can we add the column name here just to be clear? Like table['mpg'].hvplot.bar(stacked=True, height=500, legend='top_left')? Thanks!
I agree, the docs should be explicit.
The problem is that the y argument does not work. See https://github.com/holoviz/hvplot/issues/1033