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
Recently, when I plotted a bar graph, I passed a 'width' to' barplot' function.
Such as sns.barplot(x='len', y="cnt", data=df, color="#6495ED", width=1)
But it told me I had passed the parameter. Then I found the class '_CategoricalPlotter' in 'categorical.py' assigned a 'width=.8' which was used by '_BarPlotter' of 'barplot'.
I think the 'barplot' could allow us to adjust the width of bar, even though we might not use it in general.
I used a 'if' statement to achieve my goal, but it seems not elegant. So I raised this issue.
seaborn 0.9.0 matplotlib 3.1.1
The text was updated successfully, but these errors were encountered:
Recently, when I plotted a bar graph, I passed a 'width' to' barplot' function.
Such as
sns.barplot(x='len', y="cnt", data=df, color="#6495ED", width=1)
But it told me I had passed the parameter. Then I found the class '_CategoricalPlotter' in 'categorical.py' assigned a 'width=.8' which was used by '_BarPlotter' of 'barplot'.
I think the 'barplot' could allow us to adjust the width of bar, even though we might not use it in general.
I used a 'if' statement to achieve my goal, but it seems not elegant. So I raised this issue.
seaborn 0.9.0 matplotlib 3.1.1
The text was updated successfully, but these errors were encountered: