holoviz / holoviews

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

[Bug] Legend order backwards for stacked bar plots #4799

Open mullimanko opened 3 years ago

mullimanko commented 3 years ago

This example here shows it if you set show_legend=True: https://holoviews.org/gallery/demos/bokeh/bars_economic.html#demos-bokeh-gallery-bars-economic

Enabling the legend in a stacked bar plot displays the legend items in the opposite order of how they are stacked. One would expect them to be in the same order.

grafik

This might be somehow related: https://github.com/bokeh/bokeh/issues/9135

jlstevens commented 3 years ago

Thanks for reporting this on HoloViews as well as hvplot! (https://github.com/holoviz/hvplot/issues/551 for reference)