Skip to content

Commit

Permalink
Savefig correctly (idaholab#22220)
Browse files Browse the repository at this point in the history
  • Loading branch information
WilkAndy authored and MengnanLi91 committed Jan 4, 2023
1 parent 8e79d4f commit 39e6a95
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file modified modules/optimization/examples/bimaterial/comparison.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion modules/optimization/examples/bimaterial/plot_results.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
plt.xlabel("Number of model solves")
plt.ylabel("Objective function")
plt.title("Comparison of inverse methods for the bimaterial example")
plt.show()
plt.savefig("comparison.png", bbox_inches = 'tight')
plt.show()


0 comments on commit 39e6a95

Please sign in to comment.