Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 5 additions & 11 deletions doc/users/dflt_style_changes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -426,13 +426,14 @@ 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')
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like this (And below) is reversed?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops, yes. Fixed and force-pushed.


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)
new.set_yscale('log')
old.set_yscale('log')

The previous defaults can be restored by setting::

Expand Down Expand Up @@ -551,7 +552,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::

Expand Down Expand Up @@ -1130,10 +1131,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
2 changes: 1 addition & 1 deletion doc/users/whats_new.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
+---------------------------------+--------------------------------------------------+
Expand Down