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

Skip to content

Commit 182430d

Browse files
committed
DOC: minor edits
1 parent d4f2540 commit 182430d

File tree

2 files changed

+14
-13
lines changed

2 files changed

+14
-13
lines changed

doc/api/api_changes.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ of of the ``process`` method, which is typically in the GUI event
3333
loop. Most GUI frameworks simple print the traceback to the screen
3434
and continue as there is not always a clear method of getting the
3535
exception back to the user. However PyQt5 now exits the process when
36-
it receives and un-handled python exception in the event loop. Thus,
36+
it receives an un-handled python exception in the event loop. Thus,
3737
:meth:`~matplotlib.cbook.CallbackRegistry.process` now suppresses and
3838
prints tracebacks to stderr by default.
3939

doc/users/whats_new.rst

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ For example:
5050
:include-source:
5151
:align: center
5252

53-
data = {'apples':10, 'oranges':15, 'lemons':5, 'limes':20}
53+
data = {'apples': 10, 'oranges': 15, 'lemons': 5, 'limes': 20}
5454
fig, ax = plt.subplots()
5555
ax.bar(data.keys(), data.values(), color='lightgray')
5656

@@ -111,12 +111,13 @@ negative values are simply used as labels, and the real radius is shifted by
111111
the configured minimum. This release also allows negative radii to be used for
112112
grids and ticks, which were previously silently ignored.
113113

114-
Radial ticks have been modified to be parallel to the circular grid line, and
115-
angular ticks have been modified to be parallel to the grid line. It may also
116-
be useful to rotate tick *labels* to match the boundary. Calling
117-
``ax.tick_params(rotation='auto')`` will enable new behavior: radial tick
118-
labels will be parallel to the circular grid line, and angular tick labels will
119-
be perpendicular to the grid line (i.e., parallel to the outer boundary).
114+
Radial ticks have been modified to be parallel to the circular grid
115+
line, and angular ticks have been modified to be parallel to the grid
116+
line. It may also be useful to rotate tick *labels* to match the
117+
boundary. Calling ``ax.tick_params(rotation='auto')`` will enable the
118+
new behavior: radial tick labels will be parallel to the circular grid
119+
line, and angular tick labels will be perpendicular to the grid line
120+
(i.e., parallel to the outer boundary).
120121

121122

122123
``Figure`` class now has ``subplots`` method
@@ -176,7 +177,7 @@ the timestamp value in the PS and PDF outputs. See `source date epoch
176177
<https://reproducible-builds.org/specs/source-date-epoch/>`__.
177178

178179
Alternatively, calling ``savefig`` with ``metadata={'creationDate': None}``
179-
will omit the timestamp altogether.
180+
will omit the timestamp altogether for the PDF backend.
180181

181182
The reproducibility of the output from the PS and PDF backends has so
182183
far been tested using various plot elements but only default values of
@@ -420,8 +421,8 @@ keyword.
420421
ax.xaxis.set_tick_params(which='both', rotation=90)
421422

422423

423-
Users can now toggle shading in 3D bar plots
424-
--------------------------------------------
424+
Shading in 3D bar plots
425+
-----------------------
425426

426427
A new ``shade`` parameter has been added the 3D
427428
`~mpl_toolkits.mplot3d.axes3d.Axes3D.bar` plotting method. The default behavior
@@ -509,8 +510,8 @@ the expected ``"3.14 V"`` (with the default behavior).
509510
Extend ``MATPLOTLIBRC`` behavior
510511
--------------------------------
511512

512-
The environmental variable can now specify the full file path or path
513-
to find :file:`matplotlibrc` in.
513+
The environmental variable can now specify the full file path or the
514+
path to a directory containing a :file:`matplotlibrc` file.
514515

515516

516517
``density`` kwarg to hist

0 commit comments

Comments
 (0)