.. DO NOT EDIT. .. THIS FILE WAS AUTOMATICALLY GENERATED BY SPHINX-GALLERY. .. TO MAKE CHANGES, EDIT THE SOURCE PYTHON FILE: .. "auto_examples/plot_image_robust.py" .. LINE NUMBERS ARE GIVEN BELOW. .. only:: html .. note:: :class: sphx-glr-download-link-note :ref:`Go to the end ` to download the full example code. .. rst-class:: sphx-glr-example-title .. _sphx_glr_auto_examples_plot_image_robust.py: Outlier correction ================== .. GENERATED FROM PYTHON SOURCE LINES 5-16 .. image-sg:: /auto_examples/images/sphx_glr_plot_image_robust_001.png :alt: plot image robust :srcset: /auto_examples/images/sphx_glr_plot_image_robust_001.png :class: sphx-glr-single-img .. code-block:: Python import matplotlib.pyplot as plt import seaborn_image as isns img = isns.load_image("polymer outliers") f, axes = plt.subplots(1, 2) ax0 = isns.imgplot(img, ax=axes[0], cmap="inferno") ax1 = isns.imgplot(img, ax=axes[1], robust=True, perc=(2, 99.99), cmap="inferno") .. rst-class:: sphx-glr-timing **Total running time of the script:** (0 minutes 0.151 seconds) .. _sphx_glr_download_auto_examples_plot_image_robust.py: .. only:: html .. container:: sphx-glr-footer sphx-glr-footer-example .. container:: sphx-glr-download sphx-glr-download-jupyter :download:`Download Jupyter notebook: plot_image_robust.ipynb ` .. container:: sphx-glr-download sphx-glr-download-python :download:`Download Python source code: plot_image_robust.py ` .. container:: sphx-glr-download sphx-glr-download-zip :download:`Download zipped: plot_image_robust.zip ` .. only:: html .. rst-class:: sphx-glr-signature `Gallery generated by Sphinx-Gallery `_