code: def _trigger_refresh(self, key):
          "Triggers update to a plot on a refresh event"
          if self.top_level:
              self.update(key)
          else:
              self.current_key = None
              self.current_frame = Nonf _trigger_refresh(self, key):
          "Triggers update to a plot on a refresh event"
          if self.top_level:
              self.update(key)
          else:
              self.current_key = None
              self.current_frame = None
docs: Triggers update to a plot on a refresh event