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

Skip to content

Commit 76eaa96

Browse files
authored
Merge pull request #27836 from Carreau/doc-cont
DOC: use ... for continuation prompt in docstrings
2 parents bf6cc30 + 8a98b6c commit 76eaa96

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/matplotlib/axis.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1001,7 +1001,7 @@ def get_tick_params(self, which='major'):
10011001
::
10021002
10031003
>>> ax.yaxis.set_tick_params(labelsize=30, labelcolor='red',
1004-
direction='out', which='major')
1004+
... direction='out', which='major')
10051005
>>> ax.yaxis.get_tick_params(which='major')
10061006
{'direction': 'out',
10071007
'left': True,

lib/matplotlib/colors.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1471,7 +1471,7 @@ def __init__(self, vcenter, vmin=None, vmax=None):
14711471
14721472
>>> import matplotlib.colors as mcolors
14731473
>>> offset = mcolors.TwoSlopeNorm(vmin=-4000.,
1474-
vcenter=0., vmax=10000)
1474+
... vcenter=0., vmax=10000)
14751475
>>> data = [-4000., -2000., 0., 2500., 5000., 7500., 10000.]
14761476
>>> offset(data)
14771477
array([0., 0.25, 0.5, 0.625, 0.75, 0.875, 1.0])

0 commit comments

Comments
 (0)