python - Difference between plt.close() and plt.clf() -
in python, difference between plt.clf() , plt.close()?
will function same way?
plt.close() close figure window entirely, plt.clf() clear figure - can still paint plot onto it.
it sounds like, needs, should preferring plt.clf(), or better yet keep handle on line objects (they returned in lists plot calls) , use .set_data on in subsequent iterations.
Comments
Post a Comment