Skip to content

Commit 6e19005

Browse files
committed
docs: format gallery
1 parent 3631d1b commit 6e19005

File tree

8 files changed

+13
-12
lines changed

8 files changed

+13
-12
lines changed

docs/examples/0_io/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
### Import / Export
1+
## Import / Export
22

33
These tutorials will illustrate how to load and save your data:

docs/examples/1_plotting/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
### Plotting
1+
## Plotting
22

33
These tutorials will show you how to visualize your neurons:

docs/examples/1_plotting/tutorial_plotting_06_cortex.py

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@
2626
# %%
2727
# ## Part I: Loading and Aligning Neurons
2828
#
29-
# First we need to load the neurons. Here, we will take them straight from their FTP server but you can of course download them first
30-
# and load then from disk!
29+
# First we need to load the neurons. Here, we will take them straight from their FTP server
30+
# but you can of course download them first and then load from disk!
3131

3232
import navis
3333

@@ -190,7 +190,8 @@ def plot_neurons(to_plot, color="purple", axon_color="magenta", offset=500):
190190
fig, ax = plot_neurons(nl)
191191

192192
# %% [markdown]
193-
# Next, let's calculate the distribution of cable lengths:
193+
# That looks close enough. The last bit is to add the little KDE plots for the depth-distribution of
194+
# cable length:
194195
#
195196
# We're going to be cheap here and simply generate a histogram over the node positions.
196197
# To make this representative, we should make sure that the number of nodes per unit of cable
@@ -216,12 +217,12 @@ def plot_neurons(to_plot, color="purple", axon_color="magenta", offset=500):
216217
nodes.head()
217218

218219
# %%
219-
# Now we can plot the distribution of cable lengths for the neurons of the type we're interested in:
220+
# Now we can plot the distribution of cable lengths for our neurons:
220221

221222
import seaborn as sns
222223
from mpl_toolkits.axes_grid1 import make_axes_locatable
223224

224-
# Plot the neurons using the function we defined earlier
225+
# Plot the neurons again, re-using the function we defined above
225226
fig, ax = plot_neurons(nl)
226227

227228
# Add a new axis to the right of the main plot

docs/examples/2_morpho/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
### Morphology
1+
## Morphology
22

33
These tutorials will show you how to analyse and manipulate your neurons' morphology:

docs/examples/3_interfaces/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
### Interfaces
1+
## Interfaces
22

33
These tutorials cover interfaces between {{ navis }} and external tools:

docs/examples/4_remote/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
### Remote Data Sources
1+
## Remote Data Sources
22

33
These tutorials will show you how to load data from remote data sources:

docs/examples/5_nblast/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
### NBLAST
1+
## NBLAST
22

33
These tutorials will teach you how to run NBLASTs to compare neuron morphology.

docs/examples/6_misc/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
### Misc
1+
## Misc

0 commit comments

Comments
 (0)