hvplot icon indicating copy to clipboard operation
hvplot copied to clipboard

bar plot docs: specify column

Open sophiamyang opened this issue 3 years ago • 1 comments

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!

sophiamyang avatar Aug 09 '22 02:08 sophiamyang

I agree, the docs should be explicit.

philippjfr avatar Aug 09 '22 10:08 philippjfr

The problem is that the y argument does not work. See https://github.com/holoviz/hvplot/issues/1033

MarcSkovMadsen avatar Mar 11 '23 19:03 MarcSkovMadsen