Commit ed6d92b
committed
MNT: Remove scalarmappable private update attributes
The updates to scalar mappable would only take effect if the
array was updated. This meant that updating the vmin/vmax of
the sm's norm would not be propagated to the drawn artists. This
update removes the update checks from scalar mappable to calculate
the colors regardless of updates to the array.1 parent 91cb8a8 commit ed6d92b
File tree
5 files changed
+27
-32
lines changed- doc/api/next_api_changes/removals
- lib
- matplotlib
- tests
- mpl_toolkits/mplot3d
5 files changed
+27
-32
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
264 | 264 | | |
265 | 265 | | |
266 | 266 | | |
267 | | - | |
268 | 267 | | |
269 | 268 | | |
270 | 269 | | |
| |||
369 | 368 | | |
370 | 369 | | |
371 | 370 | | |
372 | | - | |
373 | 371 | | |
374 | 372 | | |
375 | 373 | | |
| |||
476 | 474 | | |
477 | 475 | | |
478 | 476 | | |
479 | | - | |
480 | | - | |
481 | | - | |
482 | | - | |
483 | | - | |
484 | | - | |
485 | | - | |
486 | | - | |
487 | | - | |
488 | | - | |
489 | | - | |
490 | | - | |
491 | | - | |
492 | | - | |
493 | 477 | | |
494 | 478 | | |
495 | 479 | | |
496 | 480 | | |
497 | 481 | | |
498 | 482 | | |
499 | | - | |
500 | | - | |
501 | 483 | | |
502 | | - | |
503 | | - | |
504 | | - | |
505 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
851 | 851 | | |
852 | 852 | | |
853 | 853 | | |
854 | | - | |
855 | 854 | | |
856 | 855 | | |
857 | 856 | | |
| |||
907 | 906 | | |
908 | 907 | | |
909 | 908 | | |
910 | | - | |
| 909 | + | |
911 | 910 | | |
912 | 911 | | |
913 | 912 | | |
| |||
958 | 957 | | |
959 | 958 | | |
960 | 959 | | |
961 | | - | |
962 | 960 | | |
963 | 961 | | |
964 | 962 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
715 | 715 | | |
716 | 716 | | |
717 | 717 | | |
| 718 | + | |
| 719 | + | |
| 720 | + | |
| 721 | + | |
| 722 | + | |
| 723 | + | |
| 724 | + | |
| 725 | + | |
| 726 | + | |
| 727 | + | |
| 728 | + | |
| 729 | + | |
| 730 | + | |
| 731 | + | |
| 732 | + | |
| 733 | + | |
718 | 734 | | |
719 | 735 | | |
720 | 736 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
695 | 695 | | |
696 | 696 | | |
697 | 697 | | |
698 | | - | |
699 | | - | |
700 | | - | |
701 | | - | |
702 | | - | |
703 | | - | |
704 | | - | |
| 698 | + | |
| 699 | + | |
| 700 | + | |
| 701 | + | |
| 702 | + | |
705 | 703 | | |
706 | 704 | | |
707 | 705 | | |
| |||
0 commit comments