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
brechtmann
changed the title
geom_violin fails when many the same values is often in the data
geom_violin fails when the same values is often in the data
Sep 23, 2019
plotnine gives unclear error and shows no violin plot, when a values appears to often in the to be plotted variable.
See the following example code:
Executing this example gives the following error:
plotnine.exceptions.PlotnineError: 'Width not defined. Set with
position_dodge(width = ?)'
Running the same example in R ggplot2 produces a plot:
The same happens, when there is only a small fraction of other values in the data.
Thanks!
The text was updated successfully, but these errors were encountered: