.. 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_filtergrid.py:
Interplay between filter parameters using FilterGrid
====================================================
.. image:: /auto_examples/images/sphx_glr_plot_filtergrid_001.png
:alt: mode : reflect, mode : nearest, mode : mirror
:class: sphx-glr-single-img
.. rst-class:: sphx-glr-script-out
Out:
.. code-block:: none
/home/docs/checkouts/readthedocs.org/user_builds/seaborn-image/envs/v0.4.0/lib/python3.7/_collections_abc.py:841: MatplotlibDeprecationWarning:
The validate_legend_loc function was deprecated in Matplotlib 3.3 and will be removed two minor releases later.
self[key] = other[key]
|
.. code-block:: default
import seaborn_image as isns
img = isns.load_image("polymer")
g = isns.FilterGrid(
img,
"gaussian",
row="sigma",
col="mode",
sigma=[2, 3, 4],
mode=["reflect", "nearest", "mirror"],
cmap="magma",
)
.. rst-class:: sphx-glr-timing
**Total running time of the script:** ( 0 minutes 2.025 seconds)
.. _sphx_glr_download_auto_examples_plot_filtergrid.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_filtergrid.py `
.. container:: sphx-glr-download sphx-glr-download-jupyter
:download:`Download Jupyter notebook: plot_filtergrid.ipynb `
.. only:: html
.. rst-class:: sphx-glr-signature
`Gallery generated by Sphinx-Gallery `_