Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit243f8a1

Browse files
committed
XXX: Removing update_scalarmappable for demo
Updating vmin/vmax on the norm instance does not get registeredas an update in the scalarmappable. We may need to add a callbackon vmin/vmax to make sure that if those are changed a new drawgets called.
1 parent79afd3c commit243f8a1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎lib/matplotlib/collections.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -862,8 +862,8 @@ def update_scalarmappable(self):
862862
# QuadMesh can map 2d arrays (but pcolormesh supplies 1d array)
863863
ifself._A.ndim>1andnotisinstance(self,QuadMesh):
864864
raiseValueError('Collections can only map rank 1 arrays')
865-
ifnotself._check_update("array"):
866-
return
865+
#if not self._check_update("array"):
866+
# return
867867
ifnp.iterable(self._alpha):
868868
ifself._alpha.size!=self._A.size:
869869
raiseValueError(f'Data array shape,{self._A.shape} '

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp