Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Doc build is full of lots of irrelevant warnings #1896

Merged
merged 1 commit into from

2 participants

Michael Droettboom Phil Elson
Michael Droettboom
Owner

We should try to clean them up if possible so that doc warnings are useful again.

Michael Droettboom
Owner

This is mostly fixed. I found a few more (attached).

Phil Elson pelson merged commit df34c93 into from
Michael Droettboom mdboom deleted the branch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
4 examples/api/colorbar_only.py
View
@@ -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))
@@ -71,4 +72,3 @@
cb3.set_label('Custom extension lengths, some other units')
pyplot.show()
-
2  examples/pylab_examples/gradient_bar.py
View
@@ -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 lib/matplotlib/axes.py
View
@@ -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
Something went wrong with that request. Please try again.