Skip to content

Commit

Permalink
Merge branch 'main' into condition-multiple
Browse files Browse the repository at this point in the history
  • Loading branch information
dangotbanned authored Jul 13, 2024
2 parents f8d7529 + bed0965 commit c0afbad
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions altair/vegalite/v5/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -278,15 +278,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):
Expand Down

0 comments on commit c0afbad

Please sign in to comment.