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

Replace Colorbar.draw_all with Figure.draw_without_rendering #141

Merged
merged 1 commit into from
Apr 24, 2024

Conversation

paulromano
Copy link
Contributor

@paulromano paulromano commented Apr 23, 2024

The draw_all method of Colorbar was deprecated in matplotlib 3.6 and has since been removed. The deprecation note suggests replacing with figure.draw_without_rendering. This currently causes an error if you do a temperature/density plot with a recent version of matplotlib.

@paulromano paulromano requested a review from pshriwise April 23, 2024 17:54
Copy link
Collaborator

@pshriwise pshriwise left a comment

Choose a reason for hiding this comment

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

Thanks @paulromano!

@pshriwise pshriwise merged commit 8c932b8 into openmc-dev:develop Apr 24, 2024
1 check passed
@paulromano paulromano deleted the matplotlib-fix branch April 24, 2024 02:57
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.

2 participants