Skip to content

Commit

Permalink
mod_docstrings9
Browse files Browse the repository at this point in the history
  • Loading branch information
sergiomarco25 committed Jan 3, 2025
1 parent 2083a7c commit 83441fe
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@
"anndata": ("https://anndata.readthedocs.io/en/stable/", None),
"scanpy": ("https://scanpy.readthedocs.io/en/stable/", None),
"numpy": ("https://numpy.org/doc/stable/", None),
'pandas': ('https://pandas.pydata.org/pandas-docs/stable/', None),
}

# List of patterns, relative to source directory, that match files and
Expand Down
2 changes: 2 additions & 0 deletions src/troutpy/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
from importlib.metadata import version
from spatialdata._core.spatialdata import SpatialData
from pandas.core.frame import DataFrame

from . import pl, pp, tl,read

Expand Down
3 changes: 2 additions & 1 deletion src/troutpy/pl/plotting.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import numpy as np
import pandas as pd
from spatialdata import SpatialData
import os
import scanpy as sc
import seaborn as sns
Expand All @@ -10,7 +11,7 @@
from anndata import AnnData
from matplotlib.colors import Colormap, Normalize
from pathlib import Path
from spatialdata import SpatialData


def sorted_heatmap(celltype_by_feature, output_path:str='',filename:str="Heatmap_target_cells_by_gene",format='pdf',cmap='viridis',vmax=None,save=False,figsize=(10, 10)):
"""
Expand Down

0 comments on commit 83441fe

Please sign in to comment.