@@ -264,7 +264,6 @@ def __init__(self, norm=None, cmap=None):
264264 #: The last colorbar associated with this ScalarMappable. May be None.
265265 self .colorbar = None
266266 self .callbacksSM = cbook .CallbackRegistry ()
267- self ._update_dict = {'array' : False }
268267
269268 def _scale_norm (self , norm , vmin , vmax ):
270269 """
@@ -369,7 +368,6 @@ def set_array(self, A):
369368 A : ndarray or None
370369 """
371370 self ._A = A
372- self ._update_dict ['array' ] = True
373371
374372 def get_array (self ):
375373 """Return the data array."""
@@ -476,30 +474,10 @@ def autoscale_None(self):
476474 self .norm .autoscale_None (self ._A )
477475 self .changed ()
478476
479- def _add_checker (self , checker ):
480- """
481- Add an entry to a dictionary of boolean flags
482- that are set to True when the mappable is changed.
483- """
484- self ._update_dict [checker ] = False
485-
486- def _check_update (self , checker ):
487- """Return whether mappable has changed since the last check."""
488- if self ._update_dict [checker ]:
489- self ._update_dict [checker ] = False
490- return True
491- return False
492-
493477 def changed (self ):
494478 """
495479 Call this whenever the mappable is changed to notify all the
496480 callbackSM listeners to the 'changed' signal.
497481 """
498482 self .callbacksSM .process ('changed' , self )
499- for key in self ._update_dict :
500- self ._update_dict [key ] = True
501483 self .stale = True
502-
503- update_dict = _api .deprecate_privatize_attribute ("3.3" )
504- add_checker = _api .deprecate_privatize_attribute ("3.3" )
505- check_update = _api .deprecate_privatize_attribute ("3.3" )
0 commit comments