CARVIEW |
Select Language
HTTP/2 200
date: Wed, 15 Oct 2025 23:04:50 GMT
content-type: text/html; charset=utf-8
report-to: {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=VehpPkFOAzjActoSlXSLNMojSgg2sPADDAPpxfHYVSSjfe%2FqrCD1RzDCm6NTg4uFpImOihcxp0V7lQl7boLao1oCGQT23R9rP%2BPU%2BOs%3D"}]}
nel: {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800}
last-modified: Fri, 14 Feb 2025 03:28:46 GMT
server: cloudflare
vary: Accept-Encoding
cf-cache-status: DYNAMIC
strict-transport-security: max-age=15552000; preload
x-content-type-options: nosniff
expect-ct: max-age=86400, enforce
referrer-policy: same-origin
x-frame-options: SAMEORIGIN
x-xss-protection: 1; mode=block
content-encoding: gzip
cf-ray: 98f2f5304b2ccb77-BLR
matplotlib.pyplot.close — Matplotlib 2.1.0 documentation
Examples using
You are reading an old version of the documentation (v2.1.0). For the latest version see https://matplotlib.org/stable/api/_as_gen/matplotlib.pyplot.close.html
Navigation
matplotlib.pyplot.close¶
-
matplotlib.pyplot.
close
(*args)¶ Close a figure window.
close()
by itself closes the current figureclose(h)
where h is aFigure
instance, closes that figureclose(num)
closes figure number numclose(name)
where name is a string, closes figure with that labelclose('all')
closes all the figure windows
Examples using matplotlib.pyplot.close
¶
© Copyright 2002 - 2012 John Hunter, Darren Dale, Eric Firing, Michael Droettboom and the Matplotlib development team; 2012 - 2017 The Matplotlib development team.
Last updated on Oct 13, 2017.
Created using Sphinx 1.6.3.