Commit f226488
committed
Limit full-invalidation of CompositeGenericTransforms.
The extension of AFFINE_ONLY invalidations into FULL invalidations in
CompositeGenericTransform._invalidate_internal was too generous; it is
only needed in case (b) , not in case (a). This is actually the
argument made by Phil Elson (in
https://discourse.matplotlib.org/t/16538/2, starting at "If the invalid
part is a1...") when he first introduced the _invalidate_internal API,
but for some reason his implementation further added case (a). Remove
that case.1 parent 934951f commit f226488
1 file changed
+3
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2368 | 2368 | | |
2369 | 2369 | | |
2370 | 2370 | | |
2371 | | - | |
2372 | | - | |
2373 | | - | |
2374 | | - | |
2375 | | - | |
2376 | | - | |
2377 | | - | |
2378 | | - | |
| 2371 | + | |
| 2372 | + | |
| 2373 | + | |
2379 | 2374 | | |
2380 | 2375 | | |
2381 | 2376 | | |
| |||
0 commit comments