Skip to content

Commit 6732062

Browse files
committed
Update inversion_2d.py
1 parent 12b0dc4 commit 6732062

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

mtpy/modeling/simpeg/recipes/inversion_2d.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -491,6 +491,7 @@ def plot_iteration(self, iteration_number, resistivity=True, **kwargs):
491491
s=30,
492492
color="k",
493493
)
494+
return fig
494495

495496
def plot_tikhonov_curve(self):
496497
"""
@@ -540,6 +541,7 @@ def plot_tikhonov_curve(self):
540541
ax.set_xlim(xlim)
541542
plt.tight_layout()
542543
plt.show()
544+
return fig
543545

544546
def plot_responses(self, iteration_number, **kwargs):
545547
"""
@@ -724,3 +726,4 @@ def plot_responses(self, iteration_number, **kwargs):
724726
label="predicted",
725727
)
726728
ax3.legend()
729+
return fig

0 commit comments

Comments
 (0)