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