@@ -489,61 +489,41 @@ def __init__(self, ax, mappable=None, *, cmap=None,
489
489
490
490
@property
491
491
def locator (self ):
492
- """
493
- Major `~.Locator` being used for colorbar.
494
- """
492
+ """Major tick `.Locator` for the colorbar."""
495
493
return self ._long_axis ().get_major_locator ()
496
494
497
495
@locator .setter
498
496
def locator (self , loc ):
499
- """
500
- Set the major `~.Locator` being used for colorbar.
501
- """
502
497
self ._long_axis ().set_major_locator (loc )
503
498
self ._locator = loc
504
499
505
500
@property
506
501
def minorlocator (self ):
507
- """
508
- Minor `~.Locator` being used for colorbar.
509
- """
502
+ """Minor tick `.Locator` for the colorbar."""
510
503
return self ._long_axis ().get_minor_locator ()
511
504
512
505
@minorlocator .setter
513
506
def minorlocator (self , loc ):
514
- """
515
- Set minor `~.Locator` being used for colorbar.
516
- """
517
507
self ._long_axis ().set_minor_locator (loc )
518
508
self ._minorlocator = loc
519
509
520
510
@property
521
511
def formatter (self ):
522
- """
523
- Major `~.Formatter` being used for colorbar.
524
- """
512
+ """Major tick label `.Formatter` for the colorbar."""
525
513
return self ._long_axis ().get_major_formatter ()
526
514
527
515
@formatter .setter
528
516
def formatter (self , fmt ):
529
- """
530
- Set major `~.Formatter` being used for colorbar.
531
- """
532
517
self ._long_axis ().set_major_formatter (fmt )
533
518
self ._formatter = fmt
534
519
535
520
@property
536
521
def minorformatter (self ):
537
- """
538
- Minor `~.Formatter` being used for colorbar
539
- """
522
+ """Minor tick `.Formatter` for the colorbar."""
540
523
return self ._long_axis ().get_minor_formatter ()
541
524
542
525
@minorformatter .setter
543
526
def minorformatter (self , fmt ):
544
- """
545
- Set minor `~.Formatter` being used for colorbar
546
- """
547
527
self ._long_axis ().set_minor_formatter (fmt )
548
528
self ._minorformatter = fmt
549
529
0 commit comments