Skip to content

Commit 9ebe0cc

Browse files
committed
Removed default numeric values from remaining locations
1 parent b37a710 commit 9ebe0cc

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/spatialdata_plot/pl/render.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@ class ImageRenderParams:
377377
channel: list[str] | list[int] | int | str | None = None
378378
palette: ListedColormap | str | None = None
379379
alpha: float = 1.0
380-
quantiles_for_norm: tuple[float | None, float | None] = (3.0, 99.8) # defaults from CSBDeep
380+
quantiles_for_norm: tuple[float | None, float | None] = (None, None)
381381

382382

383383
def _render_images(

src/spatialdata_plot/pl/utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -613,8 +613,8 @@ def _get_hex_colors_for_continous_values(values: pd.Series, cmap_name: str = "vi
613613

614614
def _normalize(
615615
img: xr.DataArray,
616-
pmin: float | None = 3.0,
617-
pmax: float | None = 99.8,
616+
pmin: float | None = None,
617+
pmax: float | None = None,
618618
eps: float = 1e-20,
619619
clip: bool = False,
620620
name: str = "normed",

0 commit comments

Comments
 (0)