From 1af6df9baa5d695420b32c3159877329b9a3042f Mon Sep 17 00:00:00 2001 From: Lukas Heumos Date: Fri, 14 Aug 2026 13:28:55 +0200 Subject: [PATCH 1/3] docs: document norm parameter for embedding-based scatter plots Closes #2116 --- src/scanpy/plotting/legacy/_docs.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/scanpy/plotting/legacy/_docs.py b/src/scanpy/plotting/legacy/_docs.py index 72ad466d99..1b098d6a01 100644 --- a/src/scanpy/plotting/legacy/_docs.py +++ b/src/scanpy/plotting/legacy/_docs.py @@ -116,7 +116,9 @@ vcenter The value representing the center of the color scale. Useful for diverging colormaps. The format is the same as for `vmin`. - Example: ``sc.pl.umap(adata, color='TREM2', vcenter='p50', cmap='RdBu_r')``\ + Example: ``sc.pl.umap(adata, color='TREM2', vcenter='p50', cmap='RdBu_r')`` +norm + Custom color normalization object from matplotlib. See :ref:`colormapnorms` for details.\ """ doc_vboundnorm = """\ From 95cf8befbf0d34df9a1f227a9625b43fa763a5d7 Mon Sep 17 00:00:00 2001 From: Lukas Heumos Date: Fri, 14 Aug 2026 13:29:22 +0200 Subject: [PATCH 2/3] docs: add release note --- docs/release-notes/4297.fix.md | 1 + 1 file changed, 1 insertion(+) create mode 100644 docs/release-notes/4297.fix.md diff --git a/docs/release-notes/4297.fix.md b/docs/release-notes/4297.fix.md new file mode 100644 index 0000000000..c9cb92be58 --- /dev/null +++ b/docs/release-notes/4297.fix.md @@ -0,0 +1 @@ +Document the `norm` parameter for {func}`~scanpy.pl.embedding` and related scatter plotting functions {smaller}`L Heumos` From 740ed7461dbe47ed54e5bb016efe30620f39de89 Mon Sep 17 00:00:00 2001 From: Lukas Heumos Date: Fri, 14 Aug 2026 13:31:17 +0200 Subject: [PATCH 3/3] docs: attribute release note to zethson --- docs/release-notes/4297.fix.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/release-notes/4297.fix.md b/docs/release-notes/4297.fix.md index c9cb92be58..8b5d7e30e8 100644 --- a/docs/release-notes/4297.fix.md +++ b/docs/release-notes/4297.fix.md @@ -1 +1 @@ -Document the `norm` parameter for {func}`~scanpy.pl.embedding` and related scatter plotting functions {smaller}`L Heumos` +Document the `norm` parameter for {func}`~scanpy.pl.embedding` and related scatter plotting functions {smaller}`zethson`