You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Violin plots on hvplot with the plotly extension do not work properly when using the 'by' argument to make a violin for each category. Instead of one violin per category as expected, only the first letter of each category is used, and violins of categories with the same first letter are stacked. The legend shows only the first letter of each category name instead of the full names.
This can also be seen in the hvplot documentation. For example the violin plot at the bottom of this page, using bokeh, in which each category has its own violin and its full name shown on the x axis and on the legend. This is the expected behaviour.
Compare with the same plot using the plotly extension, you can see that any categories that share the same first letter are stacked e.g. OO and OH are stacked and are both labelled as O.
Software versions, although I think it doesn't matter since the bug is visible in the documentation as well:
Python 3.12 running on mac os 13.3.1 and on a Linux server
Holoviews 1.18.3
Violin plots on hvplot with the plotly extension do not work properly when using the 'by' argument to make a violin for each category. Instead of one violin per category as expected, only the first letter of each category is used, and violins of categories with the same first letter are stacked. The legend shows only the first letter of each category name instead of the full names.
This can also be seen in the hvplot documentation. For example the violin plot at the bottom of this page, using bokeh, in which each category has its own violin and its full name shown on the x axis and on the legend. This is the expected behaviour.
Compare with the same plot using the plotly extension, you can see that any categories that share the same first letter are stacked e.g. OO and OH are stacked and are both labelled as O.
Software versions, although I think it doesn't matter since the bug is visible in the documentation as well:
Python 3.12 running on mac os 13.3.1 and on a Linux server
Holoviews 1.18.3
Reproducible code:
The text was updated successfully, but these errors were encountered: