8000 DOC: fix · matplotlib/matplotlib@e09535f · GitHub
[go: up one dir, main page]

Skip to content

Commit e09535f

Browse files
committed
DOC: fix
1 parent 16ae120 commit e09535f

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

lib/matplotlib/axes/_axes.py

Lines 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