From 10fe11913daac36afd996ebc594c0fe093cfc11f Mon Sep 17 00:00:00 2001 From: Paul Hobson Date: Thu, 19 Nov 2015 15:18:11 -0800 Subject: [PATCH 1/2] added boxplot params (w/ current default) to mplrc --- matplotlibrc.template | 44 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/matplotlibrc.template b/matplotlibrc.template index 0aa172251f82..16c78d43967d 100644 --- a/matplotlibrc.template +++ b/matplotlibrc.template @@ -102,6 +102,50 @@ backend : %(backend)s #patch.edgecolor : black #patch.antialiased : True # render patches in antialiased (no jaggies) +### Boxplot +#boxplot.notch : False +#boxplot.vertical : True +#boxplot.whiskers : 1 +#boxplot.bootstrap : None +#boxplot.patchartist : False +#boxplot.showmeans : False +#boxplot.showcaps : True +#boxplot.showbox : True +#boxplot.showfliers : True +#boxplot.meanline : False + +#boxplot.flierprops.color : 'k' +#boxplot.flierprops.marker : 'o' +#boxplot.flierprops.markerfacecolor : 'none' +#boxplot.flierprops.markeredgecolor : 'k' +#boxplot.flierprops.markersize : 6 +#boxplot.flierprops.linestyle : 'none' +#boxplot.flierprops.linewidth : 1.0 + +#boxplot.boxprops.color : 'k' +#boxplot.boxprops.linewidth : 1.0 +#boxplot.boxprops.linestyle : '-' + +#boxplot.whiskerprops.color : 'k' +#boxplot.whiskerprops.linewidth : 1.0 +#boxplot.whiskerprops.linestyle : '-' + +#boxplot.capprops.color : 'k' +#boxplot.capprops.linewidth : 1.0 +#boxplot.capprops.linestyle : '-' + +#boxplot.medianprops.color : 'b' +#boxplot.medianprops.linewidth : 1.0 +#boxplot.medianprops.linestyle : '-' + +#boxplot.meanprops.color : 'b' +#boxplot.meanprops.marker : '^' +#boxplot.meanprops.markerfacecolor : 'b' +#boxplot.meanprops.markeredgecolor : 'b' +#boxplot.meanprops.markersize : 6 +#boxplot.meanprops.linestyle : 'none' +#boxplot.meanprops.linewidth : 1.0 + ### FONT # # font properties used by text.Text. See From 2fa840a069fe4ddaa5641d2856ea511aff9722db Mon Sep 17 00:00:00 2001 From: Paul Hobson Date: Fri, 20 Nov 2015 11:13:20 -0800 Subject: [PATCH 2/2] fix boxplot flier linestyle from - to none --- lib/matplotlib/mpl-data/stylelib/classic.mplstyle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/matplotlib/mpl-data/stylelib/classic.mplstyle b/lib/matplotlib/mpl-data/stylelib/classic.mplstyle index 0f61a53ac8cd..968d993ae843 100644 --- a/lib/matplotlib/mpl-data/stylelib/classic.mplstyle +++ b/lib/matplotlib/mpl-data/stylelib/classic.mplstyle @@ -322,7 +322,7 @@ boxplot.capprops.color: k boxplot.capprops.linestyle: - boxplot.capprops.linewidth: 1.0 boxplot.flierprops.color: b -boxplot.flierprops.linestyle: - +boxplot.flierprops.linestyle: none boxplot.flierprops.linewidth: 1.0 boxplot.flierprops.marker: + boxplot.flierprops.markeredgecolor: k