Feature Request: to show only specific figure created in plotting.py
instead of using plt.show
we use fig.show
.
#510
Labels
enhancement
New feature or request
Running the code below, Python will pop up the window (figure) created in
plotting.py
and also theuserfig
window I created independently in this piece of code. Usually if people want to show theuserfig
they can just runuserfig.show()
.This is due to in
plotting.py
it usesplt.show
(which shows all figures created in your Python code, including outside theplotting.py
) instead of specific figurefig.show
to show only the figure created inplotting.py
. The downside of usingfig.show
is that it does not haveblock
argument, but i think this is not a problem, since the user can useplt.show
independently outside theplotting.py
if he needs theblock
. I propose this change inplotting.py
:BEFORE:
AFTER:
The text was updated successfully, but these errors were encountered: