|
1 |
| -imshow *interpolation_stage* default changed to 'auto' |
2 |
| -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 1 | +``imshow`` *interpolation_stage* default changed to 'auto' |
| 2 | +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
3 | 3 |
|
4 |
| -The *interpolation_stage* keyword argument `~.Axes.imshow` has a new default |
| 4 | +The *interpolation_stage* parameter of `~.Axes.imshow` has a new default |
5 | 5 | value 'auto'. For images that are up-sampled less than a factor of
|
6 | 6 | three or down-sampled, image interpolation will occur in 'rgba' space. For images
|
7 |
| -that are up-sampled by more than a factor of 3, then image interpolation occurs |
| 7 | +that are up-sampled by a factor of 3 or more, then image interpolation occurs |
8 | 8 | in 'data' space.
|
9 | 9 |
|
10 | 10 | The previous default was 'data', so down-sampled images may change subtly with
|
11 | 11 | the new default. However, the new default also avoids floating point artifacts
|
12 | 12 | at sharp boundaries in a colormap when down-sampling.
|
13 | 13 |
|
14 |
| -The previous behavior can achieved by changing :rc:`image.interpolation_stage`. |
| 14 | +The previous behavior can achieved by setting the *interpolation_stage* parameter |
| 15 | +or :rc:`image.interpolation_stage` to 'data'. |
15 | 16 |
|
16 | 17 | imshow default *interpolation* changed to 'auto'
|
17 | 18 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
18 | 19 |
|
19 |
| -The *interpolation* keyword argument `~.Axes.imshow` has a new default |
| 20 | +The *interpolation* parameter of `~.Axes.imshow` has a new default |
20 | 21 | value 'auto', changed from 'antialiased', for consistency with *interpolation_stage*
|
21 |
| -and because the interpolation is only anti-aliasing during down-sampling. The |
22 |
| -'antialiased' string still works, and behaves exactly the same as 'auto'. |
| 22 | +and because the interpolation is only anti-aliasing during down-sampling. Passing |
| 23 | +'antialiased' still works, and behaves exactly the same as 'auto', but is discouraged. |
0 commit comments