code: def _repr_mimebundle_(self, *args, **kwargs):
          
          chart = self.to_chart()
          dct = chart.to_dict()
          return alt.renderers.get()(dct)
docs: Return a MIME bundle for display in Jupyter frontends.