Skip to content

Commit

Permalink
Fix docstrings and make tests happy
Browse files Browse the repository at this point in the history
  • Loading branch information
flying-sheep authored Apr 30, 2019
1 parent f1700dc commit 3cacdc8
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions scanpy/plotting/_tools/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@ def pca_overview(adata, **params):


def pca_loadings(adata, components=None, show=None, save=None):
"""Rank genes according to contributions to PCs.
"""\
Rank genes according to contributions to PCs.
Parameters
----------
Expand All @@ -79,7 +80,8 @@ def pca_loadings(adata, components=None, show=None, save=None):


def pca_variance_ratio(adata, n_pcs=30, log=False, show=None, save=None):
"""Plot the variance ratio.
"""\
Plot the variance ratio.
Parameters
----------
Expand All @@ -104,7 +106,8 @@ def pca_variance_ratio(adata, n_pcs=30, log=False, show=None, save=None):


def dpt_timeseries(adata, color_map=None, show=None, save=None, as_heatmap=True):
"""Heatmap of pseudotime series.
"""\
Heatmap of pseudotime series.
Parameters
----------
Expand Down Expand Up @@ -589,7 +592,8 @@ def rank_genes_groups_violin(

def sim(adata, tmax_realization=None, as_heatmap=False, shuffle=False,
show=None, save=None):
"""Plot results of simulation.
"""\
Plot results of simulation.
Parameters
----------
Expand Down Expand Up @@ -653,7 +657,7 @@ def embedding_density(
save: Union[bool, str, None] = None,
**kwargs
):
"""
"""\
Plot the density of cells in an embedding (per condition)
Plots the gaussian kernel density estimates (over condition) from the
Expand Down

0 comments on commit 3cacdc8

Please sign in to comment.