Skip to content

Commit

Permalink
Better order
Browse files Browse the repository at this point in the history
  • Loading branch information
ymzayek committed Sep 21, 2023
1 parent ed5997c commit 7461600
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions examples/01_plotting/plot_demo_plotting.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,16 @@
stat_img, threshold=3, title="plot_stat_map", cut_coords=[36, -27, 66]
)

# It's also possible to visualize volumes in a LR-flipped "radiological" view
# Just set radiological=True
plotting.plot_stat_map(
stat_img,
threshold=3,
title="plot_stat_map",
cut_coords=[36, -27, 66],
radiological=True,
)


# %%
# Making interactive visualizations with function `view_img`
Expand Down Expand Up @@ -109,16 +119,6 @@
# Visualizing mean image (3D)
plotting.plot_epi(mean_haxby_img, title="plot_epi")

# It's also possible to visualize volumes in a LR-flipped "radiological" view
# Just set radiological=True
plotting.plot_stat_map(
stat_img,
threshold=3,
title="plot_stat_map",
cut_coords=[36, -27, 66],
radiological=True,
)

# %%
# A call to plotting.show is needed to display the plots when running
# in script mode (ie outside IPython)
Expand Down

0 comments on commit 7461600

Please sign in to comment.