diff --git a/docs/release-notes/4297.fix.md b/docs/release-notes/4297.fix.md new file mode 100644 index 0000000000..8b5d7e30e8 --- /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}`zethson` 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 = """\