Skip to content

Commit f4a3f70

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 5763bc3 commit f4a3f70

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

src/spatialdata_plot/pl/basic.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ def render_shapes(
272272
scale=scale,
273273
table_name=table_name,
274274
method=method,
275-
ds_reduction=kwargs.get("datashader_reduction", None),
275+
ds_reduction=kwargs.get("datashader_reduction"),
276276
)
277277

278278
sdata = self._copy()
@@ -296,7 +296,7 @@ def render_shapes(
296296
palette=param_values["palette"],
297297
outline_alpha=param_values["outline_alpha"],
298298
fill_alpha=param_values["fill_alpha"],
299-
transfunc=kwargs.get("transfunc", None),
299+
transfunc=kwargs.get("transfunc"),
300300
table_name=param_values["table_name"],
301301
zorder=n_steps,
302302
method=param_values["method"],
@@ -403,7 +403,7 @@ def render_points(
403403
norm=norm,
404404
size=size,
405405
table_name=table_name,
406-
ds_reduction=kwargs.get("datashader_reduction", None),
406+
ds_reduction=kwargs.get("datashader_reduction"),
407407
)
408408

409409
if method is not None:
@@ -430,7 +430,7 @@ def render_points(
430430
cmap_params=cmap_params,
431431
palette=param_values["palette"],
432432
alpha=param_values["alpha"],
433-
transfunc=kwargs.get("transfunc", None),
433+
transfunc=kwargs.get("transfunc"),
434434
size=param_values["size"],
435435
table_name=param_values["table_name"],
436436
zorder=n_steps,
@@ -675,7 +675,7 @@ def render_labels(
675675
palette=param_values["palette"],
676676
outline_alpha=param_values["outline_alpha"],
677677
fill_alpha=param_values["fill_alpha"],
678-
transfunc=kwargs.get("transfunc", None),
678+
transfunc=kwargs.get("transfunc"),
679679
scale=param_values["scale"],
680680
table_name=param_values["table_name"],
681681
zorder=n_steps,

0 commit comments

Comments
 (0)