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

Skip to content

Commit d03f053

Browse files
committed
Merge pull request #2201 from NelleV/MEP10_fixes
FIX small fixes in numpydoc's titles
2 parents 954b752 + 0e1cb9e commit d03f053

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed

lib/matplotlib/axes/_axes.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1799,8 +1799,8 @@ def bar(self, left, height, width=0.8, bottom=None, **kwargs):
17991799
--------
18001800
barh: Plot a horizontal bar plot.
18011801
1802-
Example
1803-
-------
1802+
Examples
1803+
--------
18041804
18051805
**Example:** A stacked bar chart.
18061806

lib/matplotlib/pyplot.py

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -262,13 +262,15 @@ def xkcd(scale=1, length=100, randomness=2):
262262
263263
Parameters
264264
----------
265-
scale: float, optional
265+
scale : float, optional
266266
The amplitude of the wiggle perpendicular to the source line.
267-
length: float, optional
267+
length : float, optional
268268
The length of the wiggle along the line.
269-
randomness: float, optional
269+
randomness : float, optional
270270
The scale factor by which the length is shrunken or expanded.
271271
272+
Notes
273+
-----
272274
This function works by a number of rcParams, so it will probably
273275
override others you have set before.
274276
@@ -359,8 +361,8 @@ def figure(num=None, # autoincrement if None, else integer from 1-N
359361
pylab interface. Additional kwargs will be passed to the figure init
360362
function.
361363
362-
Note
363-
----
364+
Notes
365+
-----
364366
If you are creating many figures, make sure you explicitly call "close"
365367
on the figures you are not using, because this will enable pylab
366368
to properly clean up the memory.

0 commit comments

Comments
 (0)