Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit e09535f

Browse filesBrowse files
committed
DOC: fix
1 parent 16ae120 commit e09535f
Copy full SHA for e09535f

File tree

1 file changed

+6
-4
lines changed
Filter options

1 file changed

+6
-4
lines changed

‎lib/matplotlib/axes/_axes.py

Copy file name to clipboardExpand all lines: lib/matplotlib/axes/_axes.py
+6-4Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5833,11 +5833,13 @@ def imshow(self, X, cmap=None, norm=None, *, aspect=None,
58335833
resize filter is controlled by the parameter *filternorm*.
58345834
58355835
interpolation_stage : {'antialiased', 'data', 'rgba'}, default: 'antialiased'
5836-
If 'data', interpolation is carried out on the data provided by the user.
5836+
If 'data', interpolation is carried out on the data provided by the user,
5837+
useful if interpolating between pixels during upsampling.
58375838
If 'rgba', the interpolation is carried out in RGBA-space after the
5838-
color-mapping has been applied (visual interpolation). If 'antialiased',
5839-
then 'rgba' is used if downsampling, or upsampling at a rate less than 3.
5840-
If upsampling at a higher rate, then 'data' is used.
5839+
color-mapping has been applied, useful if downsampling and combining
5840+
pixels visually. The default 'antialiased' is appropriate for most
5841+
applications where 'rgba' is used when downsampling, or upsampling at a
5842+
rate less than 3, and 'data' is used when upsampling at a higher rate.
58415843
See :doc:`/gallery/images_contours_and_fields/image_antialiasing` for
58425844
a discussion of image antialiasing.
58435845

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.