@@ -188,6 +188,7 @@ def pca_variance_ratio(
188188 * ,
189189 log : bool = False ,
190190 show : bool | None = None ,
191+ # deprecated
191192 save : bool | str | None = None ,
192193):
193194 """Plot the variance ratio.
@@ -230,9 +231,10 @@ def dpt_timeseries(
230231 * ,
231232 color_map : str | Colormap | None = None ,
232233 show : bool | None = None ,
233- save : bool | None = None ,
234234 as_heatmap : bool = True ,
235235 marker : str | Sequence [str ] = "." ,
236+ # deprecated
237+ save : bool | None = None ,
236238):
237239 """Heatmap of pseudotime series.
238240
@@ -277,9 +279,10 @@ def dpt_groups_pseudotime(
277279 color_map : str | Colormap | None = None ,
278280 palette : Sequence [str ] | Cycler | None = None ,
279281 show : bool | None = None ,
280- save : bool | str | None = None ,
281282 marker : str | Sequence [str ] = "." ,
282283 return_fig : bool = False ,
284+ # deprecated
285+ save : bool | str | None = None ,
283286) -> Figure | None :
284287 """Plot groups and pseudotime.
285288
@@ -349,8 +352,8 @@ def rank_genes_groups( # noqa: PLR0912, PLR0913, PLR0915
349352 ncols : int = 4 ,
350353 sharey : bool = True ,
351354 show : bool | None = None ,
352- save : bool | None = None ,
353355 ax : Axes | None = None ,
356+ save : bool | None = None , # deprecated
354357 ** kwds ,
355358) -> list [Axes ] | None :
356359 """Plot ranking of genes.
@@ -503,7 +506,12 @@ def rank_genes_groups( # noqa: PLR0912, PLR0913, PLR0915
503506
504507
505508def _fig_show_save_or_axes (
506- plot_obj : BasePlot , * , return_fig : bool , show : bool | None , save : bool | None
509+ plot_obj : BasePlot ,
510+ * ,
511+ return_fig : bool ,
512+ show : bool | None ,
513+ # deprecated
514+ save : bool | None ,
507515):
508516 """Decides what to return."""
509517 if return_fig :
@@ -528,9 +536,9 @@ def _rank_genes_groups_plot( # noqa: PLR0912, PLR0913, PLR0915
528536 min_logfoldchange : float | None = None ,
529537 key : str | None = None ,
530538 show : bool | None = None ,
531- save : bool | None = None ,
532539 return_fig : bool = False ,
533540 gene_symbols : str | None = None ,
541+ save : bool | None = None , # deprecated
534542 ** kwds ,
535543):
536544 """Call the different `rank_genes_groups_*` plots."""
@@ -703,7 +711,7 @@ def rank_genes_groups_heatmap(
703711 min_logfoldchange : float | None = None ,
704712 key : str | None = None ,
705713 show : bool | None = None ,
706- save : bool | None = None ,
714+ save : bool | None = None , # deprecated
707715 ** kwds ,
708716):
709717 """Plot ranking of genes using heatmap plot (see :func:`~scanpy.pl.heatmap`).
@@ -786,7 +794,7 @@ def rank_genes_groups_tracksplot(
786794 min_logfoldchange : float | None = None ,
787795 key : str | None = None ,
788796 show : bool | None = None ,
789- save : bool | None = None ,
797+ save : bool | None = None , # deprecated
790798 ** kwds ,
791799):
792800 """Plot ranking of genes using heatmap plot (see :func:`~scanpy.pl.heatmap`).
@@ -863,8 +871,8 @@ def rank_genes_groups_dotplot( # noqa: PLR0913
863871 min_logfoldchange : float | None = None ,
864872 key : str | None = None ,
865873 show : bool | None = None ,
866- save : bool | None = None ,
867874 return_fig : bool = False ,
875+ save : bool | None = None , # deprecated
868876 ** kwds ,
869877):
870878 """Plot ranking of genes using dotplot plot (see :func:`~scanpy.pl.dotplot`).
@@ -1002,8 +1010,8 @@ def rank_genes_groups_stacked_violin( # noqa: PLR0913
10021010 min_logfoldchange : float | None = None ,
10031011 key : str | None = None ,
10041012 show : bool | None = None ,
1005- save : bool | None = None ,
10061013 return_fig : bool = False ,
1014+ save : bool | None = None , # deprecated
10071015 ** kwds ,
10081016):
10091017 """Plot ranking of genes using stacked_violin plot.
@@ -1090,8 +1098,8 @@ def rank_genes_groups_matrixplot( # noqa: PLR0913
10901098 min_logfoldchange : float | None = None ,
10911099 key : str | None = None ,
10921100 show : bool | None = None ,
1093- save : bool | None = None ,
10941101 return_fig : bool = False ,
1102+ save : bool | None = None , # deprecated
10951103 ** kwds ,
10961104):
10971105 """Plot ranking of genes using matrixplot plot (see :func:`~scanpy.pl.matrixplot`).
@@ -1230,8 +1238,8 @@ def rank_genes_groups_violin( # noqa: PLR0913
12301238 size : int = 1 ,
12311239 ax : Axes | None = None ,
12321240 show : bool | None = None ,
1233- save : bool | None = None ,
12341241 # deprecated
1242+ save : bool | None = None ,
12351243 scale : DensityNorm | Empty = _empty ,
12361244):
12371245 """Plot ranking of genes for all tested comparisons.
@@ -1348,8 +1356,9 @@ def sim(
13481356 as_heatmap : bool = False ,
13491357 shuffle : bool = False ,
13501358 show : bool | None = None ,
1351- save : bool | str | None = None ,
13521359 marker : str | Sequence [str ] = "." ,
1360+ # deprecated
1361+ save : bool | str | None = None ,
13531362) -> None :
13541363 """Plot results of simulation.
13551364
@@ -1456,9 +1465,9 @@ def embedding_density( # noqa: PLR0912, PLR0913, PLR0915
14561465 wspace : None = None ,
14571466 title : str | None = None ,
14581467 show : bool | None = None ,
1459- save : bool | str | None = None ,
14601468 ax : Axes | None = None ,
14611469 return_fig : bool | None = None ,
1470+ save : bool | str | None = None , # deprecated
14621471 ** kwargs ,
14631472) -> Figure | Axes | None :
14641473 """Plot the density of cells in an embedding (per condition).
0 commit comments