.. _sphx_glr_generated_gallery_simple.py: AIA Plot Example ================ This is a very simple way to plot a sample AIA image. asdfasdfasd asdf asdf asdf asdf asd fads .. code-block:: python from __future__ import print_function, division import matplotlib import matplotlib.pyplot as plt import numpy as np from eclipse import SAMPLE_PHOTO read in the image and flip it so that it's correct .. code-block:: python im_rgb = np.flipud(matplotlib.image.imread(SAMPLE_PHOTO)) # remove color info im = np.average(im_rgb, axis=2) plt.imshow(im, origin='lower') plt.show() .. image:: /generated/gallery/images/sphx_glr_simple_001.png :align: center **Total running time of the script:** ( 0 minutes 0.451 seconds) .. container:: sphx-glr-footer .. container:: sphx-glr-download :download:`Download Python source code: simple.py ` .. container:: sphx-glr-download :download:`Download Jupyter notebook: simple.ipynb ` .. rst-class:: sphx-glr-signature `Generated by Sphinx-Gallery `_