From 24d334d68ce00520d3356e7c9aca0a88e9a36cf0 Mon Sep 17 00:00:00 2001 From: Philipp Schlegel Date: Wed, 4 Sep 2024 17:14:22 +0100 Subject: [PATCH] docs: make `help()` calls static so as to not block tests --- docs/examples/plot_00_basic_neurons.py | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/docs/examples/plot_00_basic_neurons.py b/docs/examples/plot_00_basic_neurons.py index 52724d36..3e751ec2 100644 --- a/docs/examples/plot_00_basic_neurons.py +++ b/docs/examples/plot_00_basic_neurons.py @@ -48,12 +48,13 @@ # # Try typing in "`n.`" and hitting tab: most attributes and functions are accessible via autocompletion. # If you don't know what a function does, check out the documentation using `help()` or via the [API documentation](../../api): - -# %% -help(navis.TreeNeuron.root) - -# %% -help(navis.TreeNeuron.downsample) +# ```python +# help(navis.TreeNeuron.root) +# ``` +# +# ```python +# help(navis.TreeNeuron.downsample) +# ``` # %% # You will notice that many {{ navis }} functions that accept neurons have an `inplace` parameter. This is analogous to pandas: