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
I'd like to know what the rationale is behind setting saturation to 0.75 by default in barplot(), maybe there is a good reason I cant think of?
I have create lots of plots right now and was using matplotlib pyplot, but the plots didnt look as nice as I wouldve liked so I remembered that seaborn can fix this. I made some barplots using seaborn and it looked good but it was too much effort switching completely, so I went back to pyplot at some point. Now I wanted to make the colors consistent across plots and I couldn't for the life of me figure out why the colors in the seaborn plots looked different, even though I tried using the default palette returned from sns.color_palette() everywhere. Until I realized that barplot() simply sets saturation to 0.75.
What the fuck is the logic behind that? I lost an hour on this.
The text was updated successfully, but these errors were encountered:
I'd like to know what the rationale is behind setting saturation to 0.75 by default in
barplot()
, maybe there is a good reason I cant think of?I have create lots of plots right now and was using matplotlib pyplot, but the plots didnt look as nice as I wouldve liked so I remembered that seaborn can fix this. I made some barplots using seaborn and it looked good but it was too much effort switching completely, so I went back to pyplot at some point. Now I wanted to make the colors consistent across plots and I couldn't for the life of me figure out why the colors in the seaborn plots looked different, even though I tried using the default palette returned from
sns.color_palette()
everywhere. Until I realized thatbarplot()
simply sets saturation to 0.75.What the fuck is the logic behind that? I lost an hour on this.
The text was updated successfully, but these errors were encountered: