Skip to content

Commit

Permalink
Merge pull request #1896 from mdboom/doc-warnings
Browse files Browse the repository at this point in the history
Remove some documentation build warnings
  • Loading branch information
pelson committed May 13, 2013
2 parents 9e734b6 + 0e256f1 commit df34c93
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions examples/api/colorbar_only.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
Make a colorbar as a separate figure.
'''

from matplotlib import pyplot, mpl
from matplotlib import pyplot
import matplotlib as mpl

# Make a figure and axes with dimensions as desired.
fig = pyplot.figure(figsize=(8,3))
Expand Down Expand Up @@ -71,4 +72,3 @@
cb3.set_label('Custom extension lengths, some other units')

pyplot.show()

2 changes: 1 addition & 1 deletion examples/pylab_examples/gradient_bar.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@ def gbar(ax, x, y, width=0.5, bottom=0):
x = arange(N)+0.25
y = rand(N)
gbar(ax, x, y, width=0.7)
ax.set_aspect('normal')
ax.set_aspect('auto')
show()
4 changes: 2 additions & 2 deletions lib/matplotlib/axes.py
Original file line number Diff line number Diff line change
Expand Up @@ -4878,8 +4878,8 @@ def bar(self, left, height, width=0.8, bottom=None, **kwargs):
-------
:class:`matplotlib.patches.Rectangle` instances.
Note
----
Notes
-----
The optional arguments `color`, `edgecolor`, `linewidth`,
`xerr`, and `yerr` can be either scalars or sequences of
length equal to the number of bars. This enables you to use
Expand Down

0 comments on commit df34c93

Please sign in to comment.