diff --git a/scripts/finite_element_zoomin_plot.py b/scripts/finite_element_zoomin_plot.py index 8b2532e1..aa3dc428 100644 --- a/scripts/finite_element_zoomin_plot.py +++ b/scripts/finite_element_zoomin_plot.py @@ -21,4 +21,4 @@ rect, conn = s1.plots["all", "ux"].axes.indicate_inset(bounds, s2_ax, edgecolor='k', linewidth=1.0) conn[0].set_visible(True) conn[1].set_visible(True) -s1.plots["all", "ux"].savefig("fem_example.png") \ No newline at end of file +s1.plots["all", "ux"].figure.savefig("fem_example.png")