Skip to content

Commit 2f12aa2

Browse files
Added return fig to plot_components
1 parent 0100d47 commit 2f12aa2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

turftopic/models/gmm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -708,4 +708,4 @@ def plot_components(
708708
)
709709
fig.add_trace(scatter)
710710
fig = fig.update_layout(coloraxis=dict(showscale=False))
711-
fig.show()
711+
return fig

0 commit comments

Comments
 (0)