Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Formatting
  • Loading branch information
paulromano committed Mar 7, 2026
commit 6ac648723b4d7fffbd79987c199327b7706d0404
4 changes: 1 addition & 3 deletions openmc_plotter/plotgui.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,9 +201,7 @@ def _export_plot_image(self):
return None

buffer = io.BytesIO()
self.figure.savefig(buffer,
format='png',
transparent=True)
self.figure.savefig(buffer, format='png', transparent=True)
image = QtGui.QImage.fromData(buffer.getvalue(), 'PNG')
if image.isNull():
return None
Expand Down