openmc-dev / plotter

Native plotting GUI for model design and verification
MIT License
43 stars 17 forks source link

Replace Colorbar.draw_all with Figure.draw_without_rendering #141

Closed paulromano closed 2 months ago

paulromano commented 2 months ago

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.