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

Skip to content

Commit bb78abb

Browse files
committed
DOC: Fix overly long header underlining.
1 parent 64cee30 commit bb78abb

File tree

7 files changed

+23
-23
lines changed

7 files changed

+23
-23
lines changed

lib/matplotlib/axes/_axes.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -751,7 +751,7 @@ def axvline(self, x=0, ymin=0, ymax=1, **kwargs):
751751
752752
753753
Examples
754-
---------
754+
--------
755755
* draw a thick red vline at *x* = 0 that spans the yrange::
756756
757757
>>> axvline(linewidth=4, color='r')
@@ -1034,7 +1034,7 @@ def vlines(self, x, ymin, ymax, colors='k', linestyles='solid',
10341034
hlines : horizontal lines
10351035
10361036
Examples
1037-
---------
1037+
--------
10381038
.. plot:: mpl_examples/pylab_examples/vline_hline_demo.py
10391039
10401040
"""
@@ -1702,7 +1702,7 @@ def acorr(self, x, **kwargs):
17021702
- `b` is the x-axis.
17031703
17041704
Other parameters
1705-
-----------------
1705+
----------------
17061706
linestyle : `~matplotlib.lines.Line2D` prop, optional, default: None
17071707
Only used if usevlines is False.
17081708
@@ -1766,7 +1766,7 @@ def xcorr(self, x, y, normed=True, detrend=mlab.detrend_none,
17661766
- `b` is the x-axis (none, if plot is used).
17671767
17681768
Other parameters
1769-
-----------------
1769+
----------------
17701770
linestyle : `~matplotlib.lines.Line2D` prop, optional, default: None
17711771
Only used if usevlines is False.
17721772
@@ -2231,7 +2231,7 @@ def barh(self, bottom, width, height=0.8, left=None, **kwargs):
22312231
the x coordinates of the left sides of the bars
22322232
22332233
Returns
2234-
--------
2234+
-------
22352235
`matplotlib.patches.Rectangle` instances.
22362236
22372237
Other parameters
@@ -5034,7 +5034,7 @@ def imshow(self, X, cmap=None, norm=None, aspect=None,
50345034
Display an image on the axes.
50355035
50365036
Parameters
5037-
-----------
5037+
----------
50385038
X : array_like, shape (n, m) or (n, m, 3) or (n, m, 4)
50395039
Display the image in `X` to current axes. `X` may be an
50405040
array or a PIL image. If `X` is an array, it
@@ -5117,7 +5117,7 @@ def imshow(self, X, cmap=None, norm=None, aspect=None,
51175117
when interpolation is one of: 'sinc', 'lanczos' or 'blackman'
51185118
51195119
Returns
5120-
--------
5120+
-------
51215121
image : `~matplotlib.image.AxesImage`
51225122
51235123
Other parameters
@@ -6528,7 +6528,7 @@ def hist2d(self, x, y, bins=10, range=None, normed=False, weights=None,
65286528
The return value is ``(counts, xedges, yedges, Image)``.
65296529
65306530
Other parameters
6531-
-----------------
6531+
----------------
65326532
kwargs : :meth:`pcolorfast` properties.
65336533
65346534
See also

lib/matplotlib/backend_managers.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ def toolmanager_connect(self, s, func):
7979
Connect event with string *s* to *func*.
8080
8181
Parameters
82-
-----------
82+
----------
8383
s : String
8484
Name of the event
8585
@@ -138,7 +138,7 @@ def get_tool_keymap(self, name):
138138
Name of the Tool
139139
140140
Returns
141-
----------
141+
-------
142142
list : list of keys associated with the Tool
143143
"""
144144

@@ -379,7 +379,7 @@ def get_tool(self, name, warn=True):
379379
Return the tool object, also accepts the actual tool for convenience
380380
381381
Parameters
382-
-----------
382+
----------
383383
name : str, ToolBase
384384
Name of the tool, or the tool itself
385385
warn : bool, optional

lib/matplotlib/cbook.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ def warn_deprecated(
8686
Used to display deprecation warning in a standard way.
8787
8888
Parameters
89-
------------
89+
----------
9090
since : str
9191
The release at which this API became deprecated.
9292
@@ -143,7 +143,7 @@ def deprecated(since, message='', name='', alternative='', pending=False,
143143
Decorator to mark a function as deprecated.
144144
145145
Parameters
146-
------------
146+
----------
147147
since : str
148148
The release at which this API became deprecated. This is
149149
required.
@@ -599,7 +599,7 @@ def local_over_kwdict(local_var, kwargs, *keys):
599599
kwargs dict in place.
600600
601601
Parameters
602-
------------
602+
----------
603603
local_var: any object
604604
The local variable (highest priority)
605605
@@ -611,12 +611,12 @@ def local_over_kwdict(local_var, kwargs, *keys):
611611
priority
612612
613613
Returns
614-
---------
614+
-------
615615
out: any object
616616
Either local_var or one of kwargs[key] for key in keys
617617
618618
Raises
619-
--------
619+
------
620620
IgnoredKeywordWarning
621621
For each key in keys that is removed from kwargs but not used as
622622
the output value

lib/matplotlib/lines.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1161,7 +1161,7 @@ def set_marker(self, marker):
11611161
ACCEPTS: :mod:`A valid marker style <matplotlib.markers>`
11621162
11631163
Parameters
1164-
-----------
1164+
----------
11651165
11661166
marker: marker style
11671167
See `~matplotlib.markers` for full description of possible

lib/matplotlib/mlab.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
commands with the same names.
55
66
MATLAB compatible functions
7-
-------------------------------
7+
---------------------------
88
99
:func:`cohere`
1010
Coherence (normalized cross spectral density)
@@ -39,7 +39,7 @@
3939
Spectrogram (spectrum over segments of time)
4040
4141
Miscellaneous functions
42-
-------------------------
42+
-----------------------
4343
4444
Functions that don't exist in MATLAB, but are useful anyway:
4545
@@ -99,7 +99,7 @@
9999
100100
101101
record array helper functions
102-
-------------------------------
102+
-----------------------------
103103
104104
A collection of helper methods for numpyrecord arrays
105105

lib/matplotlib/pyplot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -920,7 +920,7 @@ def gca(**kwargs):
920920
current figure matching the given keyword args, or create one.
921921
922922
Examples
923-
---------
923+
--------
924924
To get the current polar axes on the current figure::
925925
926926
plt.gca(projection='polar')

lib/matplotlib/tri/triinterpolate.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1334,14 +1334,14 @@ def _cg(A, b, x0=None, tol=1.e-10, maxiter=1000):
13341334
Right hand side of the linear system.
13351335
13361336
Returns
1337-
----------
1337+
-------
13381338
x: array.
13391339
The converged solution.
13401340
err: float
13411341
The absolute error np.linalg.norm(A.dot(x) - b)
13421342
13431343
Other parameters
1344-
----------
1344+
----------------
13451345
x0: array.
13461346
Starting guess for the solution.
13471347
tol: float.

0 commit comments

Comments
 (0)