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

Skip to content

Commit 75a289f

Browse files
committed
Add line continuation in docstrings
1 parent f98978f commit 75a289f

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

lib/matplotlib/axes/_axes.py

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5054,7 +5054,7 @@ def imshow(self, X, cmap=None, norm=None, aspect=None,
50545054
to colors based on the `norm` (mapping scalar to scalar)
50555055
and the `cmap` (mapping the normed scalar to a color).
50565056
5057-
cmap : `~matplotlib.colors.Colormap`,
5057+
cmap : `~matplotlib.colors.Colormap`, \
50585058
`~matplotlib.colors.BivariateColormap`optional, default: None
50595059
If None, default to rc `image.cmap` value. `cmap` is ignored
50605060
if `X` is 3-D but not bivariate, directly specifying RGB(A) values.
@@ -5081,7 +5081,7 @@ def imshow(self, X, cmap=None, norm=None, aspect=None,
50815081
on the Agg, ps and pdf backends. Other backends will fall back to
50825082
'nearest'.
50835083
5084-
norm : `~matplotlib.colors.Normalize`,
5084+
norm : `~matplotlib.colors.Normalize`, \
50855085
`matplotlib.colors.BivariateNorm` optional, default: None
50865086
A `~matplotlib.colors.Normalize` instance is used to scale
50875087
a 2-D float `X` input to the (0, 1) range for input to the
@@ -5302,10 +5302,12 @@ def pcolor(self, *args, **kwargs):
53025302
vectors, they will be expanded as needed into the appropriate 2-D
53035303
arrays, making a rectangular grid.
53045304
5305-
cmap : `~matplotlib.colors.Colormap`, optional, default: None
5305+
cmap : `~matplotlib.colors.Colormap` or \
5306+
`matplotlib.colors.BivariateColormap` optional, default: None
53065307
If `None`, default to rc settings.
53075308
5308-
norm : `matplotlib.colors.Normalize`, optional, default: None
5309+
norm : `matplotlib.colors.Normalize` or \
5310+
`matplotlib.colors.BivariateNorm` optional, default: None
53095311
An instance is used to scale luminance data to (0, 1).
53105312
If `None`, defaults to :func:`normalize`.
53115313
@@ -5572,12 +5574,12 @@ def pcolormesh(self, *args, **kwargs):
55725574
Keyword arguments:
55735575
55745576
*cmap*: [ *None* | Colormap ]
5575-
A :class:`matplotlib.colors.Colormap` or
5577+
A :class:`matplotlib.colors.Colormap` or \
55765578
:class:`matplotlib.colors.BivariateColormap`instance. If *None*,
55775579
use rc settings.
55785580
55795581
*norm*: [ *None* | Normalize ]
5580-
A :class:`matplotlib.colors.Normalize` or
5582+
A :class:`matplotlib.colors.Normalize` or \
55815583
:class:`matplotlib.colors.BivariateNorm` instance is used to
55825584
scale luminance data to 0,1. If *None*, defaults to
55835585
:func:`normalize`.
@@ -5765,12 +5767,12 @@ def pcolorfast(self, *args, **kwargs):
57655767
Optional keyword arguments:
57665768
57675769
*cmap*: [ *None* | Colormap ]
5768-
A :class:`matplotlib.colors.Colormap` or
5770+
A :class:`matplotlib.colors.Colormap` or \
57695771
:class:`matplotlib.colors.BivariateColormap` instance from cm.
57705772
If *None*, use rc settings.
57715773
57725774
*norm*: [ *None* | Normalize ]
5773-
A :class:`matplotlib.colors.Normalize` or
5775+
A :class:`matplotlib.colors.Normalize` or \
57745776
:class:`matplotlib.colors.BivariateNorm` instance is used to scale
57755777
luminance data to 0,1. If *None*, defaults to normalize()
57765778

0 commit comments

Comments
 (0)