You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This adds a callback registry to Norm instances that can be
connected to by other objects to be notified when the Norm
is updated. This is particularly relevant for ScalarMappables
to be notified when the vmin/vmax are changed on the Norm.
Quadcontourset overrides ScalarMappable's `changed()` function,
which meant that autoscaling would get called with the wrong data
too early. Therefore, we force an autoscale with the proper data
earlier in the `Quadcontourset.changed()` function.
The Quadcontourset.changed() method assumes some attributes to
be there. If we called changed from a parent class, the object
may not have been initialized with those attributes yet, so
skip that portion of the update.
Remove the ScalarMappable callback from axes_grid as the
state isn't fully cleared when updating the axes.
0 commit comments