Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e43ace1

Browse files
committed
Change default boxplot colors to make sure median color stands out from patch color
1 parent 506ff28 commit e43ace1

35 files changed

+278
-278
lines changed

lib/matplotlib/rcsetup.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -961,14 +961,14 @@ def validate_animation_writer_path(p):
961961
'boxplot.capprops.linewidth': [1.0, validate_float],
962962
'boxplot.capprops.linestyle': ['-', six.text_type],
963963

964-
'boxplot.medianprops.color': ['C0', validate_color],
964+
'boxplot.medianprops.color': ['C1', validate_color],
965965
'boxplot.medianprops.linewidth': [1.0, validate_float],
966966
'boxplot.medianprops.linestyle': ['-', six.text_type],
967967

968-
'boxplot.meanprops.color': ['C1', validate_color],
968+
'boxplot.meanprops.color': ['C2', validate_color],
969969
'boxplot.meanprops.marker': ['^', six.text_type],
970-
'boxplot.meanprops.markerfacecolor': ['C1', validate_color],
971-
'boxplot.meanprops.markeredgecolor': ['C1', validate_color],
970+
'boxplot.meanprops.markerfacecolor': ['C2', validate_color],
971+
'boxplot.meanprops.markeredgecolor': ['C2', validate_color],
972972
'boxplot.meanprops.markersize': [6, validate_float],
973973
'boxplot.meanprops.linestyle': ['--', six.text_type],
974974
'boxplot.meanprops.linewidth': [1.0, validate_float],
Binary file not shown.
Loading

0 commit comments

Comments
 (0)