Scientific imagesΒΆ

The title of each image indicates the name of the function.

  • ../../_images/sphx_glr_plot_scientific_001.png
  • ../../_images/sphx_glr_plot_scientific_002.png
  • ../../_images/sphx_glr_plot_scientific_003.png
  • ../../_images/sphx_glr_plot_scientific_004.png
  • ../../_images/sphx_glr_plot_scientific_005.png
  • ../../_images/sphx_glr_plot_scientific_006.png
  • ../../_images/sphx_glr_plot_scientific_007.png
import matplotlib.pyplot as plt
import matplotlib

from skimage import data

matplotlib.rcParams['font.size'] = 18

images = ('hubble_deep_field',
          'immunohistochemistry',
          'microaneurysms',
          'moon',
          'retina',
          'shepp_logan_phantom',
          'cell',
          )


for name in images:
    caller = getattr(data, name)
    image = caller()
    plt.figure()
    plt.title(name)
    if image.ndim == 2:
        plt.imshow(image, cmap=plt.cm.gray)
    else:
        plt.imshow(image)

plt.show()

Total running time of the script: ( 0 minutes 1.157 seconds)

Gallery generated by Sphinx-Gallery