code: def _repr_html_(self, **kwargs):
          
          if self._parent is None:
              self.add_to(Figure())
              out = self._parent._repr_html_(**kwargs)
              self._parent = None
          else:
              out = self._parent._repr_html_(**kwargs)
          return out
docs: Displays the HTML Map in a Jupyter notebook.