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

Skip to content

Doc build is full of lots of irrelevant warnings #1896

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 13, 2013
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
A number of small fixes to reduce warnings during doc build
  • Loading branch information
mdboom committed May 10, 2013
commit 0e256f1b1ff3b985f75fd390db2145280d4ba1ea
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