Skip to content

Commit

Permalink
style: Re-run ruff format
Browse files Browse the repository at this point in the history
  • Loading branch information
dangotbanned committed May 21, 2024
1 parent 19010ba commit 082cd60
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion altair/utils/_transformed_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,9 @@ def name_views(
List of the names of the charts and subcharts
"""
exclude = set(exclude) if exclude is not None else set()
if isinstance(chart, (_chart_class_mapping[Chart], _chart_class_mapping[FacetChart])):
if isinstance(
chart, (_chart_class_mapping[Chart], _chart_class_mapping[FacetChart])
):
if chart.name not in exclude:
if chart.name in (None, Undefined):
# Add name since none is specified
Expand Down

0 comments on commit 082cd60

Please sign in to comment.