diff --git a/lib/matplotlib/axis.py b/lib/matplotlib/axis.py index c0cd2617e878..dbd65aba4a17 100644 --- a/lib/matplotlib/axis.py +++ b/lib/matplotlib/axis.py @@ -1001,7 +1001,7 @@ def get_tick_params(self, which='major'): :: >>> ax.yaxis.set_tick_params(labelsize=30, labelcolor='red', - direction='out', which='major') + ... direction='out', which='major') >>> ax.yaxis.get_tick_params(which='major') {'direction': 'out', 'left': True, diff --git a/lib/matplotlib/colors.py b/lib/matplotlib/colors.py index 70e275fdaeca..9a493c928fdb 100644 --- a/lib/matplotlib/colors.py +++ b/lib/matplotlib/colors.py @@ -1471,7 +1471,7 @@ def __init__(self, vcenter, vmin=None, vmax=None): >>> import matplotlib.colors as mcolors >>> offset = mcolors.TwoSlopeNorm(vmin=-4000., - vcenter=0., vmax=10000) + ... vcenter=0., vmax=10000) >>> data = [-4000., -2000., 0., 2500., 5000., 7500., 10000.] >>> offset(data) array([0., 0.25, 0.5, 0.625, 0.75, 0.875, 1.0])