Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 3 additions & 6 deletions quantstats/_plotting/wrappers.py
Original file line number Diff line number Diff line change
Expand Up @@ -255,8 +255,7 @@ def snapshot(

if show:
_plt.show(block=False)

_plt.close()
_plt.close()

if not show:
return fig
Expand Down Expand Up @@ -363,8 +362,7 @@ def earnings(

if show:
_plt.show(block=False)

_plt.close()
_plt.close()

if not show:
return fig
Expand Down Expand Up @@ -1051,8 +1049,7 @@ def monthly_heatmap(

if show:
_plt.show(block=False)

_plt.close()
_plt.close()

if not show:
return fig
Expand Down