Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compatibility with matplotlib-3.8. #1638

Conversation

leftaroundabout
Copy link
Contributor

The update methods for colorbars have been removed in favour of more global updates.

Applying the change to the clims simply on the csub was suggested by paulhausner in #1635 and seems to work fine.

Actually updating the drawing of the colorbar (specifically, the ticks on it) did not work with the fix suggested in the Matplotlib documentation, but canvas.draw_idle() does seem to have the intended effect.

Fixes #1636.

The update methods for colorbars have been removed in favour of more global updates.

Applying the change to the `clim`s simply on the `csub` was suggested by paulhausner
in odlgroup#1635 and seems to work fine.

Actually updating the drawing of the colorbar (specifically, the ticks on it) did
not work with the fix suggested in the Matplotlib documentation, but `canvas.draw_idle()`
does seem to have the intended effect.

Fixes odlgroup#1636.
Copy link
Contributor

@JevgenijaAksjonova JevgenijaAksjonova left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Issue with using callback to show intermediate results in iterative solvers
2 participants