Skip to content

Commit 693de0f

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 0b7fec2 commit 693de0f

File tree

2 files changed

+114
-379
lines changed

2 files changed

+114
-379
lines changed

src/spatialdata_plot/pl/render_params.py

+3-9
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,7 @@
99
from matplotlib.figure import Figure
1010

1111
_FontWeight = Literal["light", "normal", "medium", "semibold", "bold", "heavy", "black"]
12-
_FontSize = Literal[
13-
"xx-small", "x-small", "small", "medium", "large", "x-large", "xx-large"
14-
]
12+
_FontSize = Literal["xx-small", "x-small", "small", "medium", "large", "x-large", "xx-large"]
1513

1614
# replace with
1715
# from spatialdata._types import ColorLike
@@ -92,9 +90,7 @@ class ShapesRenderParams:
9290
zorder: int = 0
9391
table_name: str | None = None
9492
table_layer: str | None = None
95-
ds_reduction: (
96-
Literal["sum", "mean", "any", "count", "std", "var", "max", "min"] | None
97-
) = None
93+
ds_reduction: Literal["sum", "mean", "any", "count", "std", "var", "max", "min"] | None = None
9894

9995

10096
@dataclass
@@ -114,9 +110,7 @@ class PointsRenderParams:
114110
zorder: int = 0
115111
table_name: str | None = None
116112
table_layer: str | None = None
117-
ds_reduction: (
118-
Literal["sum", "mean", "any", "count", "std", "var", "max", "min"] | None
119-
) = None
113+
ds_reduction: Literal["sum", "mean", "any", "count", "std", "var", "max", "min"] | None = None
120114

121115

122116
@dataclass

0 commit comments

Comments
 (0)