Open maurosilber opened 1 month ago
This could be a fix for #3769, where the bin width for overlapping histograms is smaller than the actual bin width.
It renames "space" to "width" in so.Hist's calculated properties, and only applies extra scaling to the default width.
"space"
"width"
so.Hist
A possibly unintended consecuence is that it changes the look for so.Bar(), so.Hist() which used to look like so.Bar(), so.Count():
so.Bar(), so.Hist()
so.Bar(), so.Count()
import seaborn as sns import seaborn.objects as so penguins = sns.load_dataset("penguins").dropna() ( so.Plot(penguins, x="species") .add(so.Bar(), so.Hist(), label="Hist") .add(so.Bar(color="C1"), so.Count(), label="Count") )
This could be a fix for #3769, where the bin width for overlapping histograms is smaller than the actual bin width.
It renames
"space"
to"width"
inso.Hist
's calculated properties, and only applies extra scaling to the default width.A possibly unintended consecuence is that it changes the look for
so.Bar(), so.Hist()
which used to look likeso.Bar(), so.Count()
: