Skip to content

Commit

Permalink
Merge pull request matplotlib#2201 from NelleV/MEP10_fixes
Browse files Browse the repository at this point in the history
FIX small fixes in numpydoc's titles
  • Loading branch information
mdboom committed Jul 4, 2013
2 parents 954b752 + 0e1cb9e commit d03f053
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
4 changes: 2 additions & 2 deletions lib/matplotlib/axes/_axes.py
Original file line number Diff line number Diff line change
Expand Up @@ -1799,8 +1799,8 @@ def bar(self, left, height, width=0.8, bottom=None, **kwargs):
--------
barh: Plot a horizontal bar plot.
Example
-------
Examples
--------
**Example:** A stacked bar chart.
Expand Down
12 changes: 7 additions & 5 deletions lib/matplotlib/pyplot.py
Original file line number Diff line number Diff line change
Expand Up @@ -262,13 +262,15 @@ def xkcd(scale=1, length=100, randomness=2):
Parameters
----------
scale: float, optional
scale : float, optional
The amplitude of the wiggle perpendicular to the source line.
length: float, optional
length : float, optional
The length of the wiggle along the line.
randomness: float, optional
randomness : float, optional
The scale factor by which the length is shrunken or expanded.
Notes
-----
This function works by a number of rcParams, so it will probably
override others you have set before.
Expand Down Expand Up @@ -359,8 +361,8 @@ def figure(num=None, # autoincrement if None, else integer from 1-N
pylab interface. Additional kwargs will be passed to the figure init
function.
Note
----
Notes
-----
If you are creating many figures, make sure you explicitly call "close"
on the figures you are not using, because this will enable pylab
to properly clean up the memory.
Expand Down

0 comments on commit d03f053

Please sign in to comment.