def METHOD_NAME(self):
    """Render the figure and update the macosx canvas."""
    # The renderer draw is done here; delaying causes problems with code
    # that uses the result of the draw() to update plot elements.
    if self._is_drawing:
        return
    with cbook._setattr_cm(self, _is_drawing=True):
        super().METHOD_NAME()
    self.update()