Skip to content

Commit

Permalink
py38 typing compat
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoGorelli committed Aug 11, 2024
1 parent c59780e commit 541361b
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions py-polars/polars/dataframe/plotting.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,9 @@

Encodings: TypeAlias = dict[
str,
ChannelX
| ChannelY
| ChannelColor
| ChannelOrder
| ChannelSize
| ChannelTooltip,
Union[
ChannelX, ChannelY, ChannelColor, ChannelOrder, ChannelSize, ChannelTooltip
],
]


Expand Down

0 comments on commit 541361b

Please sign in to comment.