diff --git a/altair/utils/core.py b/altair/utils/core.py index a1d81c39e..8df22b154 100644 --- a/altair/utils/core.py +++ b/altair/utils/core.py @@ -830,7 +830,6 @@ def from_channels(cls, channels: ModuleType, /) -> _ChannelCache: @classmethod def from_cache(cls) -> _ChannelCache: global _CHANNEL_CACHE - # FIXME: Hot try/except try: cached = _CHANNEL_CACHE except NameError: diff --git a/altair/vegalite/v5/api.py b/altair/vegalite/v5/api.py index c9d9d8b09..ae7428960 100644 --- a/altair/vegalite/v5/api.py +++ b/altair/vegalite/v5/api.py @@ -1803,7 +1803,6 @@ def to_dict( # noqa: C901 copy = _top_schema_base(self).copy(deep=False) original_data = getattr(copy, "data", Undefined) if not utils.is_undefined(original_data): - # FIXME: Hot try/except try: data = _to_eager_narwhals_dataframe(original_data) except TypeError: @@ -3419,7 +3418,6 @@ def _repr_mimebundle_(self, *args, **kwds) -> MimeBundleType | None: # type:ign """Return a MIME bundle for display in Jupyter frontends.""" # Catch errors explicitly to get around issues in Jupyter frontend # see https://github.com/ipython/ipython/issues/11038 - # FIXME: Hot try/except try: dct = self.to_dict(context={"pre_transform": False}) except Exception: