-
-
Notifications
You must be signed in to change notification settings - Fork 7.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information
Showing
5 changed files
with
27 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
ScalarMappable update checkers | ||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
``ScalarMappable.update_dict``, ``ScalarMappable.add_checker()``, and | ||
``ScalarMappable.check_update()`` have been removed. A callback can | ||
be registered in ``ScalarMappable.callbacksSM`` to be notified of updates. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters