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

Skip to content

Commit b1dbf5d

Browse files
committed
Small fixes to clabel docstring
1 parent 46e9c31 commit b1dbf5d

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

lib/matplotlib/contour.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,8 @@ def clabel(self, *args, **kwargs):
7878
Parameters
7979
----------
8080
fontsize : string or float, optional
81-
Size in points or relative size e.g., 'smaller', 'x-large'
81+
Size in points or relative size e.g., 'smaller', 'x-large'.
82+
See `Text.set_size` for accepted string values.
8283
8384
colors :
8485
Color of each label
@@ -133,8 +134,8 @@ def clabel(self, *args, **kwargs):
133134
or minus 90 degrees from level. Default is ``True``.
134135
135136
use_clabeltext : bool, optional
136-
If ``True``, ClabelText class (instead of matplotlib.Text)
137-
is used to create labels. ClabelText recalculates rotation angles
137+
If ``True``, `ClabelText` class (instead of `Text`) is used to
138+
create labels. `ClabelText` recalculates rotation angles
138139
of texts during the drawing time, therefore this can be used if
139140
aspect of the axes changes. Default is ``False``.
140141
"""
@@ -149,7 +150,7 @@ def clabel(self, *args, **kwargs):
149150
150151
Once these attributes are set, clabel passes control to the
151152
labels method (case of automatic label placement) or
152-
BlockingContourLabeler (case of manual label placement).
153+
`BlockingContourLabeler` (case of manual label placement).
153154
"""
154155

155156
fontsize = kwargs.get('fontsize', None)

0 commit comments

Comments
 (0)