Commit c27a1af
committed
FIX: correctly manage rasterization state via zoreder
If an artist was rasterized both by setting state on the artist and
be being below the z-order threshold than we would try to stop rasterization
one too many times.
This constructions lets us re-use the `allow_rasterization` logic.
closes matplotlib#242351 parent ecf6e26 commit c27a1af
2 files changed
+33
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3127 | 3127 | | |
3128 | 3128 | | |
3129 | 3129 | | |
3130 | | - | |
3131 | 3130 | | |
3132 | 3131 | | |
3133 | 3132 | | |
3134 | 3133 | | |
3135 | 3134 | | |
3136 | 3135 | | |
3137 | 3136 | | |
3138 | | - | |
3139 | | - | |
3140 | 3137 | | |
3141 | | - | |
| 3138 | + | |
| 3139 | + | |
| 3140 | + | |
| 3141 | + | |
3142 | 3142 | | |
3143 | 3143 | | |
3144 | | - | |
3145 | | - | |
3146 | | - | |
| 3144 | + | |
3147 | 3145 | | |
3148 | 3146 | | |
3149 | 3147 | | |
| |||
4636 | 4634 | | |
4637 | 4635 | | |
4638 | 4636 | | |
| 4637 | + | |
| 4638 | + | |
| 4639 | + | |
| 4640 | + | |
| 4641 | + | |
| 4642 | + | |
| 4643 | + | |
| 4644 | + | |
| 4645 | + | |
| 4646 | + | |
| 4647 | + | |
| 4648 | + | |
| 4649 | + | |
| 4650 | + | |
| 4651 | + | |
| 4652 | + | |
| 4653 | + | |
| 4654 | + | |
| 4655 | + | |
| 4656 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8449 | 8449 | | |
8450 | 8450 | | |
8451 | 8451 | | |
| 8452 | + | |
| 8453 | + | |
| 8454 | + | |
| 8455 | + | |
| 8456 | + | |
| 8457 | + | |
| 8458 | + | |
| 8459 | + | |
0 commit comments