From 22e48c3655c2e88b3dcfb0d10c1af3de8883230a Mon Sep 17 00:00:00 2001 From: danielballan Date: Tue, 6 Dec 2016 06:58:34 -0500 Subject: [PATCH 1/4] DOC: Minor copy edits --- doc/users/dflt_style_changes.rst | 4 ++-- doc/users/whats_new.rst | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/users/dflt_style_changes.rst b/doc/users/dflt_style_changes.rst index b0ab000a6bcb..ae2574b26aef 100644 --- a/doc/users/dflt_style_changes.rst +++ b/doc/users/dflt_style_changes.rst @@ -426,11 +426,11 @@ obscuring data too much. fig, (old, new) = plt.subplots(ncols=2, sharey=True) with plt.style.context('default'): new.boxplot(data, labels=['A', 'B', 'C', 'D']) - new.set_title('New boxplots') + new.set_title('v2.0') with plt.style.context('classic'): old.boxplot(data, labels=['A', 'B', 'C', 'D']) - old.set_title('Old boxplots') + old.set_title('classic') new.set_ylim(bottom=0) diff --git a/doc/users/whats_new.rst b/doc/users/whats_new.rst index 62ee469d72de..63ae0de63a80 100644 --- a/doc/users/whats_new.rst +++ b/doc/users/whats_new.rst @@ -53,7 +53,7 @@ New rcparams added +---------------------------------+--------------------------------------------------+ | Parameter | Description | +=================================+==================================================+ -|`date.autoformatter.year` | foramt string for 'year' scale dates | +|`date.autoformatter.year` | format string for 'year' scale dates | +---------------------------------+--------------------------------------------------+ |`date.autoformatter.month` | format string for 'month' scale dates | +---------------------------------+--------------------------------------------------+ From a37bfbe7f8e9bfe761307ecaa02aab14b5113115 Mon Sep 17 00:00:00 2001 From: danielballan Date: Tue, 6 Dec 2016 06:59:07 -0500 Subject: [PATCH 2/4] Remove temporary notes. --- doc/users/dflt_style_changes.rst | 7 ------- 1 file changed, 7 deletions(-) diff --git a/doc/users/dflt_style_changes.rst b/doc/users/dflt_style_changes.rst index ae2574b26aef..689b5d807756 100644 --- a/doc/users/dflt_style_changes.rst +++ b/doc/users/dflt_style_changes.rst @@ -1130,10 +1130,3 @@ mplot3d - grid.color - grid.linewidth - grid.linestyle - - - -TEMPORARY NOTES TOM IS KEEPING IN THE SOURCE SO THEY DO NOT GET LOST -==================================================================== - -- lines.color change, only hits raw usage of Line2D From 19023d2c6f9f1130b1b8d9c682fd6fd9cf33c2d9 Mon Sep 17 00:00:00 2001 From: danielballan Date: Tue, 6 Dec 2016 09:50:51 -0500 Subject: [PATCH 3/4] DOC: Fix mistake in code example. --- doc/users/dflt_style_changes.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/users/dflt_style_changes.rst b/doc/users/dflt_style_changes.rst index 689b5d807756..a64b932bbd32 100644 --- a/doc/users/dflt_style_changes.rst +++ b/doc/users/dflt_style_changes.rst @@ -551,7 +551,7 @@ default. The default face color is now ``'C0'`` instead of ``'b'``. The previous defaults can be restored by setting:: mpl.rcParams['patch.force_edgecolor'] = True - mpl.rcParams['patch.facecolor'] = True + mpl.rcParams['patch.facecolor'] = 'b' or by setting:: From e265e08eb4c4765b6c429998fb2eea585207e7d9 Mon Sep 17 00:00:00 2001 From: danielballan Date: Tue, 6 Dec 2016 17:48:37 -0500 Subject: [PATCH 4/4] DOC: Use log scale in boxplot style change example. --- doc/users/dflt_style_changes.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/users/dflt_style_changes.rst b/doc/users/dflt_style_changes.rst index a64b932bbd32..43eaf97b3f7e 100644 --- a/doc/users/dflt_style_changes.rst +++ b/doc/users/dflt_style_changes.rst @@ -432,7 +432,8 @@ obscuring data too much. old.boxplot(data, labels=['A', 'B', 'C', 'D']) old.set_title('classic') - new.set_ylim(bottom=0) + new.set_yscale('log') + old.set_yscale('log') The previous defaults can be restored by setting::