Skip to content

Commit

Permalink
Merge pull request #167 from chrishavlin/fix_fem_zoomin_plot
Browse files Browse the repository at this point in the history
fix mpl figure handle access
  • Loading branch information
matthewturk authored Nov 1, 2024
2 parents d3f8937 + 4c7ee82 commit 530bb61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/finite_element_zoomin_plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
s1.plots["all", "ux"].figure.savefig("fem_example.png")

0 comments on commit 530bb61

Please sign in to comment.