Skip to content

Replace Colorbar.draw_all with Figure.draw_without_rendering - #141

Merged
pshriwise merged 1 commit into
openmc-dev:developfrom
paulromano:matplotlib-fix
Apr 24, 2024
Merged

pshriwise merged 1 commit into
openmc-dev:developfrom
paulromano:matplotlib-fix

Conversation

@paulromano

@paulromano paulromano commented Apr 23, 2024 •

Copy link
Copy Markdown
Contributor

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

@pshriwise pshriwise left a comment

Copy link
Copy Markdown
Collaborator

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
@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