parameters: (self, mappable, colorbar)
docstring: Attach the given colorbar to the mappable and update the clim values
          :param mappable: An instance of a mappable
          :param colorbar: An instance of a colorbar
docstring_summary: Attach the given colorbar to the mappable and update the clim values
          :param mappable: An instance of a mappable
          :param colorbar: An instance of a colorbar
docstring_tokens: Attach the given colorbar to the mappable and update the clim values : param mappable : An instance of a mappable : param colorbar : An instance of a colorbar
function: def _attach_colorbar(self, mappable, colorbar):
          """
          Attach the given colorbar to the mappable and update the clim values
          :param mappable: An instance of a mappable
          :param colorbar: An instance of a colorbar
          """
          cb = colorbar
          cb.mappable = mappable
          mappable.colorbar = cb
          mappable.colorbar_cid = mappable.callbacksSM.connect('changed', cb.on_mappable_changed)
          cb.update_normal(mappable)
function_tokens: def _attach_colorbar ( self , mappable , colorbar ) : cb = colorbar cb . mappable = mappable mappable . colorbar = cb mappable . colorbar_cid = mappable . callbacksSM . connect ( 'changed' , cb . on_mappable_changed ) cb . update_normal ( mappable )