diff --git a/altair/vegalite/v5/api.py b/altair/vegalite/v5/api.py index 843315fa7..23138613f 100644 --- a/altair/vegalite/v5/api.py +++ b/altair/vegalite/v5/api.py @@ -232,15 +232,6 @@ def to_dict(self, *args, **kwargs) -> dict: TOPLEVEL_ONLY_KEYS = {"background", "config", "autosize", "padding", "$schema"} -def _get_channels_mapping() -> dict[type[SchemaBase], str]: - mapping: dict[type[SchemaBase], str] = {} - for attr in dir(channels): - cls = getattr(channels, attr) - if isinstance(cls, type) and issubclass(cls, core.SchemaBase): - mapping[cls] = attr.replace("Value", "").lower() - return mapping - - # ------------------------------------------------------------------------- # Tools for working with parameters class Parameter(_expr_core.OperatorMixin):