Skip to content

Commit 9a0e241

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

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/spatialdata_plot/pl/utils.py

+1
Original file line numberDiff line numberDiff line change
@@ -1176,6 +1176,7 @@ def save_fig(
11761176
def _get_linear_colormap(colors: list[str], background: str) -> list[LinearSegmentedColormap]:
11771177
return [LinearSegmentedColormap.from_list(c, [background, c], N=256) for c in colors]
11781178

1179+
11791180
def _get_listed_colormap(color_dict: dict[str, str]) -> ListedColormap:
11801181
sorted_labels = sorted(color_dict.keys())
11811182
colors = [color_dict[k] for k in sorted_labels]

0 commit comments

Comments
 (0)