.. _sphx_glr_auto_examples_plot_load_nifti.py: ============================= Load and plot nifti file ============================= This example loads a nifti file and plots it. .. image:: /auto_examples/images/sphx_glr_plot_load_nifti_001.png :align: center .. code-block:: python # Code source: Lucy Owen & Andrew Heusser # License: MIT # import import supereeg as se # load example nifti # gray matter masked MNI152 brain downsampled to 20mm nii = se.load('example_nifti') # plot nifti nii.plot_anat() **Total running time of the script:** ( 0 minutes 0.298 seconds) .. only :: html .. container:: sphx-glr-footer .. container:: sphx-glr-download :download:`Download Python source code: plot_load_nifti.py ` .. container:: sphx-glr-download :download:`Download Jupyter notebook: plot_load_nifti.ipynb ` .. only:: html .. rst-class:: sphx-glr-signature `Gallery generated by Sphinx-Gallery `_