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

Skip to content

Commit 4e1035e

Browse files
committed
Remove :class: from docstring
1 parent 12d30e5 commit 4e1035e

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

lib/matplotlib/axes/_axes.py

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6510,16 +6510,15 @@ def hist2d(self, x, y, bins=10, range=None, normed=False, weights=None,
65106510
Other Parameters
65116511
----------------
65126512
cmap : Colormap or str, optional
6513-
A :class:`.colors.Colormap` instance. If not set, use rc
6514-
settings.
6513+
A `.colors.Colormap` instance. If not set, use rc settings.
65156514
65166515
norm : Normalize, optional
6517-
A :class:`.colors.Normalize` instance is used to
6516+
A `.colors.Normalize` instance is used to
65186517
scale luminance data to ``[0, 1]``. If not set, defaults to
6519-
:class:`.colors.Normalize()`.
6518+
`.colors.Normalize()`.
65206519
65216520
vmin/vmax : None or scalar, optional
6522-
Arguments passed to the :class:`~.colors.Normalize` instance.
6521+
Arguments passed to the `~.colors.Normalize` instance.
65236522
65246523
alpha : ``0 <= scalar <= 1`` or ``None``, optional
65256524
The alpha blending value.
@@ -6533,10 +6532,10 @@ def hist2d(self, x, y, bins=10, range=None, normed=False, weights=None,
65336532
- Currently ``hist2d`` calculates it's own axis limits, and any limits
65346533
previously set are ignored.
65356534
- Rendering the histogram with a logarithmic color scale is
6536-
accomplished by passing a :class:`.colors.LogNorm` instance to
6537-
the *norm* keyword argument. Likewise, power-law normalization
6538-
(similar in effect to gamma correction) can be accomplished with
6539-
:class:`.colors.PowerNorm`.
6535+
accomplished by passing a `.colors.LogNorm` instance to the *norm*
6536+
keyword argument. Likewise, power-law normalization (similar
6537+
in effect to gamma correction) can be accomplished with
6538+
`.colors.PowerNorm`.
65406539
"""
65416540

65426541
h, xedges, yedges = np.histogram2d(x, y, bins=bins, range=range,

0 commit comments

Comments
 (0)