Skip to content

Commit 20ddebd

Browse files
committed
DOC: improve crosslinking for docs
1 parent 60a9cad commit 20ddebd

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

lib/matplotlib/colorbar.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -490,59 +490,59 @@ def __init__(self, ax, mappable=None, *, cmap=None,
490490
@property
491491
def locator(self):
492492
"""
493-
Major locator being used for colorbar
493+
Major `~.Locator` being used for colorbar.
494494
"""
495495
return self._long_axis().get_major_locator()
496496

497497
@locator.setter
498498
def locator(self, loc):
499499
"""
500-
Set the major locator being used for colorbar
500+
Set the major `~.Locator` being used for colorbar.
501501
"""
502502
self._long_axis().set_major_locator(loc)
503503
self._locator = loc
504504

505505
@property
506506
def minorlocator(self):
507507
"""
508-
Minor locator being used for colorbar
508+
Minor `~.Locator` being used for colorbar.
509509
"""
510510
return self._long_axis().get_minor_locator()
511511

512512
@minorlocator.setter
513513
def minorlocator(self, loc):
514514
"""
515-
Set minor locator being used for colorbar
515+
Set minor `~.Locator` being used for colorbar.
516516
"""
517517
self._long_axis().set_minor_locator(loc)
518518
self._minorlocator = loc
519519

520520
@property
521521
def formatter(self):
522522
"""
523-
Major formatter being used for colorbar
523+
Major `~.Formatter` being used for colorbar.
524524
"""
525525
return self._long_axis().get_major_formatter()
526526

527527
@formatter.setter
528528
def formatter(self, fmt):
529529
"""
530-
Set major formatter being used for colorbar
530+
Set major `~.Formatter` being used for colorbar.
531531
"""
532532
self._long_axis().set_major_formatter(fmt)
533533
self._locator = fmt
534534

535535
@property
536536
def minorformatter(self):
537537
"""
538-
Minor formatter being used for colorbar
538+
Minor `~.Formatter` being used for colorbar
539539
"""
540540
return self._long_axis().get_minor_formatter()
541541

542542
@minorformatter.setter
543543
def minorformatter(self, fmt):
544544
"""
545-
Set minor formatter being used for colorbar
545+
Set minor `~.Formatter` being used for colorbar
546546
"""
547547
self._long_axis().set_minor_formatter(fmt)
548548
self._minorformatter = fmt

0 commit comments

Comments
 (0)