.. only:: html
.. note::
:class: sphx-glr-download-link-note
Click :ref:`here ` to download the full example code
.. rst-class:: sphx-glr-example-title
.. _sphx_glr_auto_examples_plot_image.py:
2-D image visualization
=======================
.. image:: /auto_examples/images/sphx_glr_plot_image_001.png
:alt: plot image
:class: sphx-glr-single-img
.. rst-class:: sphx-glr-script-out
Out:
.. code-block:: none
Downloading file 'PolymerImage.txt' from 'https://raw.githubusercontent.com/SarthakJariwala/seaborn-image/master/data/PolymerImage.txt' to '/home/docs/.cache/seaborn-image'.
|
.. code-block:: default
import seaborn_image as isns
img = isns.load_image("polymer")
ax = isns.imgplot(img, dx=15, units="nm")
.. rst-class:: sphx-glr-timing
**Total running time of the script:** ( 0 minutes 1.428 seconds)
.. _sphx_glr_download_auto_examples_plot_image.py:
.. only :: html
.. container:: sphx-glr-footer
:class: sphx-glr-footer-example
.. container:: sphx-glr-download sphx-glr-download-python
:download:`Download Python source code: plot_image.py `
.. container:: sphx-glr-download sphx-glr-download-jupyter
:download:`Download Jupyter notebook: plot_image.ipynb `
.. only:: html
.. rst-class:: sphx-glr-signature
`Gallery generated by Sphinx-Gallery `_