@@ -512,61 +512,41 @@ def __init__(self, ax, mappable=None, *, cmap=None,
512
512
513
513
@property
514
514
def locator (self ):
515
- """
516
- Major `~.Locator` being used for colorbar.
517
- """
515
+ """ Major tick `~.Locator` for the colorbar. """
518
516
return self ._long_axis ().get_major_locator ()
519
517
520
518
@locator .setter
521
519
def locator (self , loc ):
522
- """
523
- Set the major `~.Locator` being used for colorbar.
524
- """
525
520
self ._long_axis ().set_major_locator (loc )
526
521
self ._locator = loc
527
522
528
523
@property
529
524
def minorlocator (self ):
530
- """
531
- Minor `~.Locator` being used for colorbar.
532
- """
525
+ """Minor tick `~.Locator` for the colorbar."""
533
526
return self ._long_axis ().get_minor_locator ()
534
527
535
528
@minorlocator .setter
536
529
def minorlocator (self , loc ):
537
- """
538
- Set minor `~.Locator` being used for colorbar.
539
- """
540
530
self ._long_axis ().set_minor_locator (loc )
541
531
self ._minorlocator = loc
542
532
543
533
@property
544
534
def formatter (self ):
545
- """
546
- Major `~.Formatter` being used for colorbar.
547
- """
535
+ """Major tick label `~.Formatter` for the colorbar."""
548
536
return self ._long_axis ().get_major_formatter ()
549
537
550
538
@formatter .setter
551
539
def formatter (self , fmt ):
552
- """
553
- Set major `~.Formatter` being used for colorbar.
554
- """
555
540
self ._long_axis ().set_major_formatter (fmt )
556
541
self ._formatter = fmt
557
542
558
543
@property
559
544
def minorformatter (self ):
560
- """
561
- Minor `~.Formatter` being used for colorbar
562
- """
545
+ """Minor tick `~.Formatter` for the colorbar."""
563
546
return self ._long_axis ().get_minor_formatter ()
564
547
565
548
@minorformatter .setter
566
549
def minorformatter (self , fmt ):
567
- """
568
- Set minor `~.Formatter` being used for colorbar
569
- """
570
550
self ._long_axis ().set_minor_formatter (fmt )
571
551
self ._minorformatter = fmt
572
552
0 commit comments