Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 146de7f

Browse files
authored
Merge pull request #14440 from timhoffm/example-interpolation
DOC: Interpolations example
2 parents 087baf6 + 6c75583 commit 146de7f

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

examples/images_contours_and_fields/interpolation_methods.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
"""
2-
=================================
3-
Interpolations for imshow/matshow
4-
=================================
2+
=========================
3+
Interpolations for imshow
4+
=========================
55
66
This example displays the difference between interpolation methods for
7-
:meth:`~.axes.Axes.imshow` and :meth:`~.axes.Axes.matshow`.
7+
:meth:`~.axes.Axes.imshow`.
88
9-
If `interpolation` is None, it defaults to the ``image.interpolation``
10-
:doc:`rc parameter </tutorials/introductory/customizing>`.
11-
If the interpolation is ``'none'``, then no interpolation is performed
12-
for the Agg, ps and pdf backends. Other backends will default to ``'nearest'``.
9+
If `interpolation` is None, it defaults to the :rc:`image.interpolation`
10+
(default: ``'nearest'``). If the interpolation is ``'none'``, then no
11+
interpolation is performed for the Agg, ps and pdf backends. Other backends
12+
will default to ``'nearest'``.
1313
1414
For the Agg, ps and pdf backends, ``interpolation = 'none'`` works well when a
1515
big image is scaled down, while ``interpolation = 'nearest'`` works well when

0 commit comments

Comments
 (0)