File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -182,8 +182,9 @@ def render_shapes(
182
182
layer
183
183
Key in :attr:`anndata.AnnData.layers` or `None` for :attr:`anndata.AnnData.X`.
184
184
palette
185
- Palette for discrete annotations, see :class:`matplotlib.colors.Colormap`.
186
- Must contain valid color names.
185
+ Palette for discrete annotations. List of valid color names that should be used
186
+ for the categories (all or as specified by `groups`). For a single category,
187
+ a valid color name can be given as string.
187
188
cmap
188
189
Colormap for continuous annotations, see :class:`matplotlib.colors.Colormap`.
189
190
If no palette is given and `color` refers to a categorical, the colors are
@@ -261,8 +262,9 @@ def render_points(
261
262
size
262
263
Value to scale points.
263
264
palette
264
- Palette for discrete annotations, see :class:`matplotlib.colors.Colormap`.
265
- Must contain valid color names.
265
+ Palette for discrete annotations. List of valid color names that should be used
266
+ for the categories (all or as specified by `groups`). For a single category,
267
+ a valid color name can be given as string.
266
268
cmap
267
269
Colormap for continuous annotations, see :class:`matplotlib.colors.Colormap`.
268
270
If no palette is given and `color` refers to a categorical, the colors are
You can’t perform that action at this time.
0 commit comments