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

Skip to content

Commit 3cc3ab8

Browse files
authored
Merge pull request #14490 from timhoffm/fix-doc-link
Fix links of parameter types
2 parents 98490c4 + 28a79f4 commit 3cc3ab8

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

lib/matplotlib/axis.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1629,7 +1629,7 @@ def set_major_formatter(self, formatter):
16291629
16301630
Parameters
16311631
----------
1632-
formatter : ~matplotlib.ticker.Formatter
1632+
formatter : `~matplotlib.ticker.Formatter`
16331633
"""
16341634
if not isinstance(formatter, mticker.Formatter):
16351635
raise TypeError("formatter argument should be instance of "
@@ -1645,7 +1645,7 @@ def set_minor_formatter(self, formatter):
16451645
16461646
Parameters
16471647
----------
1648-
formatter : ~matplotlib.ticker.Formatter
1648+
formatter : `~matplotlib.ticker.Formatter`
16491649
"""
16501650
if not isinstance(formatter, mticker.Formatter):
16511651
raise TypeError("formatter argument should be instance of "
@@ -1661,7 +1661,7 @@ def set_major_locator(self, locator):
16611661
16621662
Parameters
16631663
----------
1664-
locator : ~matplotlib.ticker.Locator
1664+
locator : `~matplotlib.ticker.Locator`
16651665
"""
16661666
if not isinstance(locator, mticker.Locator):
16671667
raise TypeError("locator argument should be instance of "
@@ -1679,7 +1679,7 @@ def set_minor_locator(self, locator):
16791679
16801680
Parameters
16811681
----------
1682-
locator : ~matplotlib.ticker.Locator
1682+
locator : `~matplotlib.ticker.Locator`
16831683
"""
16841684
if not isinstance(locator, mticker.Locator):
16851685
raise TypeError("locator argument should be instance of "

0 commit comments

Comments
 (0)