Skip to content

Commit 3fc6479

Browse files
committed
return fig
1 parent c813df8 commit 3fc6479

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/axiomatic/pic_helpers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ def plot_parameter_history(parameters: List[Parameter], parameter_history: List[
223223
plt.plot([parameter_history[i][split_param[0]][split_param[1]] for i in range(len(parameter_history))])
224224
else:
225225
plt.plot([parameter_history[i][param.path] for i in range(len(parameter_history))])
226-
plt.show()
226+
return plt.gcf()
227227

228228

229229
def print_statements(

0 commit comments

Comments
 (0)