Skip to content

Commit

Permalink
docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
mschwoer committed Sep 18, 2024
1 parent eba435f commit e6caf03
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion alphastats/DataSet.py
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@ def plot_clustermap(
return clustermap.plot

def plot_samplehistograms(self):
"""Plots the Denisty distribution of each sample
"""Plots the density distribution of each sample
Returns:
plotly: Plotly Graph Object
Expand All @@ -457,6 +457,7 @@ def _get_plot(self) -> Plot:
)

def plot_correlation_matrix(self, method: str = "pearson"): # TODO unused
"""A wrapper for Plot.plot_correlation_matrix(), see documentation there."""
return self._get_plot().plot_correlation_matrix(method)

def plot_sampledistribution(
Expand All @@ -466,13 +467,15 @@ def plot_sampledistribution(
log_scale: bool = False,
use_raw: bool = False,
):
"""A wrapper for Plot.plot_sampledistribution(), see documentation there."""
return self._get_plot().plot_sampledistribution(
method, color, log_scale, use_raw
)

def plot_dendrogram(
self, linkagefun=lambda x: scipy.cluster.hierarchy.linkage(x, "complete")
):
"""A wrapper for Plot.plot_dendrogram(), see documentation there."""
return self._get_plot().plot_dendrogram(linkagefun)

def _check_loader(self, loader):
Expand Down

0 comments on commit e6caf03

Please sign in to comment.