Skip to content

Commit 92228e6

Browse files
committed
ete4
Signed-off-by: Lukas Heumos <[email protected]>
1 parent a5b5ae7 commit 92228e6

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

.github/workflows/test_tutorials.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ jobs:
8686
cache-dependency-glob: pyproject.toml
8787
- name: Install dependencies
8888
run: |
89-
uv pip install --system rpy2 decoupler muon
89+
uv pip install --system rpy2 decoupler muon ete4
9090
uv pip install --system ${{ matrix.pip-flags }} ".[dev,test,tcoda,de]"
9191
uv pip install --system nbconvert ipykernel
9292

docs/tutorials/notebooks

pertpy/tools/_coda/_base_coda.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1472,6 +1472,7 @@ def plot_effects_barplot( # pragma: no cover # noqa: D417
14721472
if return_fig and not plot_facets:
14731473
return plt.gcf()
14741474
plt.show()
1475+
14751476
return None
14761477

14771478
@_doc_params(common_plot_args=doc_common_plot_args)
@@ -1823,6 +1824,7 @@ def label_point(x, y, val, ax):
18231824
if return_fig:
18241825
return plt.gcf()
18251826
plt.show()
1827+
18261828
return None
18271829

18281830
@_doc_params(common_plot_args=doc_common_plot_args)
@@ -1902,8 +1904,8 @@ def my_layout(node):
19021904
tree.render(save, tree_style=tree_style, units=units, w=figsize[0], h=figsize[1], dpi=dpi) # type: ignore
19031905
if return_fig:
19041906
return tree, tree_style
1907+
19051908
return tree.render("%%inline", tree_style=tree_style, units=units, w=figsize[0], h=figsize[1], dpi=dpi) # type: ignore
1906-
return None
19071909

19081910
@_doc_params(common_plot_args=doc_common_plot_args)
19091911
def plot_draw_effects( # pragma: no cover # noqa: D417
@@ -2207,6 +2209,7 @@ def plot_effects_umap( # pragma: no cover # noqa: D417
22072209
if return_fig:
22082210
return fig
22092211
plt.show()
2212+
22102213
return None
22112214

22122215

@@ -2325,6 +2328,7 @@ def df2newick(df: pd.DataFrame, levels: list[str], inner_label: bool = True) ->
23252328
strs = [traverse(df_tax, a, 0, inner_label) for a in alevel]
23262329

23272330
newick = f"({','.join(strs)});"
2331+
23282332
return newick
23292333

23302334

0 commit comments

Comments
 (0)