@@ -370,11 +370,7 @@ class ColorbarBase:
370
370
371
371
n_rasterize = 50 # rasterize solids if number of colors >= n_rasterize
372
372
373
- < << << << HEAD
374
373
@_api .make_keyword_only ("3.3" , "cmap" )
375
- == == == =
376
- @_api ._make_keyword_only ("3.3" , "cmap" )
377
- >> >> >> > api vs cbook
378
374
def __init__ (self , ax , cmap = None ,
379
375
norm = None ,
380
376
alpha = None ,
@@ -392,11 +388,7 @@ def __init__(self, ax, cmap=None,
392
388
extendrect = False ,
393
389
label = '' ,
394
390
):
395
- << << << < HEAD
396
391
_api .check_isinstance ([colors .Colormap , None ], cmap = cmap )
397
- == == == =
398
- _api ._check_isinstance ([colors .Colormap , None ], cmap = cmap )
399
- >> >> >> > api vs cbook
400
392
_api .check_in_list (
401
393
['vertical' , 'horizontal' ], orientation = orientation )
402
394
_api .check_in_list (
@@ -763,7 +755,7 @@ def _get_ticker_locator_formatter(self):
763
755
self .minorlocator = minorlocator
764
756
_log .debug ('locator: %r' , locator )
765
757
766
- @_api ._delete_parameter ("3.5" , "update_ticks" )
758
+ @_api .delete_parameter ("3.5" , "update_ticks" )
767
759
def set_ticks (self , ticks , update_ticks = True ):
768
760
"""
769
761
Set tick locations.
@@ -790,7 +782,7 @@ def get_ticks(self, minor=False):
790
782
"""Return the x ticks as a list of locations."""
791
783
return self ._long_axis ().get_majorticklocs ()
792
784
793
- @_api ._delete_parameter ("3.5" , "update_ticks" )
785
+ @_api .delete_parameter ("3.5" , "update_ticks" )
794
786
def set_ticklabels (self , ticklabels , update_ticks = True ):
795
787
"""
796
788
Set tick labels.
0 commit comments