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

Skip to content

Commit 11605bc

Browse files
committed
Minor documentation fixes.
svn path=/trunk/matplotlib/; revision=7755
1 parent 930838e commit 11605bc

3 files changed

Lines changed: 2 additions & 2 deletions

File tree

examples/api/watermark_image.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
"""
44
import numpy as np
55
import matplotlib
6-
matplotlib.use('Agg')
76
import matplotlib.cbook as cbook
87
import matplotlib.image as image
98
import matplotlib.pyplot as plt

lib/matplotlib/axes.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5519,6 +5519,7 @@ def hexbin(self, x, y, C = None, gridsize = 100, bins = None,
55195519
**Example:**
55205520
55215521
.. plot:: mpl_examples/pylab_examples/hexbin_demo.py
5522+
55225523
"""
55235524

55245525
if not self._hold: self.cla()

lib/matplotlib/pyplot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1596,7 +1596,7 @@ def getname_val(identifier):
15961596
def autogen_docstring(base):
15971597
"""Autogenerated wrappers will get their docstring from a base function
15981598
with an addendum."""
1599-
msg = "Additional kwargs: hold = [True|False] overrides default hold state"
1599+
msg = "\n\nAdditional kwargs: hold = [True|False] overrides default hold state"
16001600
addendum = docstring.Appender(msg, '\n\n')
16011601
return lambda func: addendum(docstring.copy_dedent(base)(func))
16021602

0 commit comments

Comments
 (0)