Skip to content

Commit f2c145e

Browse files
committed
Merge pull request #7574 from danielballan/docs-edits
DOC: minor prose edits
1 parent 1c1fd38 commit f2c145e

File tree

2 files changed

+6
-12
lines changed

2 files changed

+6
-12
lines changed

doc/users/dflt_style_changes.rst

+5-11
Original file line numberDiff line numberDiff line change
@@ -426,13 +426,14 @@ obscuring data too much.
426426
fig, (old, new) = plt.subplots(ncols=2, sharey=True)
427427
with plt.style.context('default'):
428428
new.boxplot(data, labels=['A', 'B', 'C', 'D'])
429-
new.set_title('New boxplots')
429+
new.set_title('v2.0')
430430

431431
with plt.style.context('classic'):
432432
old.boxplot(data, labels=['A', 'B', 'C', 'D'])
433-
old.set_title('Old boxplots')
433+
old.set_title('classic')
434434

435-
new.set_ylim(bottom=0)
435+
new.set_yscale('log')
436+
old.set_yscale('log')
436437

437438
The previous defaults can be restored by setting::
438439

@@ -551,7 +552,7 @@ default. The default face color is now ``'C0'`` instead of ``'b'``.
551552
The previous defaults can be restored by setting::
552553

553554
mpl.rcParams['patch.force_edgecolor'] = True
554-
mpl.rcParams['patch.facecolor'] = True
555+
mpl.rcParams['patch.facecolor'] = 'b'
555556

556557
or by setting::
557558

@@ -1123,10 +1124,3 @@ mplot3d
11231124
- grid.color
11241125
- grid.linewidth
11251126
- grid.linestyle
1126-
1127-
1128-
1129-
TEMPORARY NOTES TOM IS KEEPING IN THE SOURCE SO THEY DO NOT GET LOST
1130-
====================================================================
1131-
1132-
- lines.color change, only hits raw usage of Line2D

doc/users/whats_new.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ New rcparams added
5353
+---------------------------------+--------------------------------------------------+
5454
| Parameter | Description |
5555
+=================================+==================================================+
56-
|`date.autoformatter.year` | foramt string for 'year' scale dates |
56+
|`date.autoformatter.year` | format string for 'year' scale dates |
5757
+---------------------------------+--------------------------------------------------+
5858
|`date.autoformatter.month` | format string for 'month' scale dates |
5959
+---------------------------------+--------------------------------------------------+

0 commit comments

Comments
 (0)