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

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

java - Using an Integer ArrayList in Android -