Seaborn boxplot – spaces beetween plots and categories
Question:
got problem with figure. I made seaborn boxplot for days and hours (1h stamp).
I also get median value on boxes.
My problem is that it is unreadable cause mediana text. I would like to change spaces beetween data sets for hours but cant find calling for it. Anyone can help?
Look at attached pic: i want change space between 2021&2022 and between hoursenter image description here
Code: https://Control.com/7ae270bf
I cant find seaborn boxplot parameter to change spaces.
Answers:
You can use the width
argument in the sns.boxplot()
function to change the space between boxplots/hours. Next you can increase the ax width (by setting figsize
when you create the axes). Together this will create more space between boxplots.
got problem with figure. I made seaborn boxplot for days and hours (1h stamp).
I also get median value on boxes.
My problem is that it is unreadable cause mediana text. I would like to change spaces beetween data sets for hours but cant find calling for it. Anyone can help?
Look at attached pic: i want change space between 2021&2022 and between hoursenter image description here
Code: https://Control.com/7ae270bf
I cant find seaborn boxplot parameter to change spaces.
You can use the width
argument in the sns.boxplot()
function to change the space between boxplots/hours. Next you can increase the ax width (by setting figsize
when you create the axes). Together this will create more space between boxplots.