How can I release memory after creating matplotlib figures How can I release memory after creating matplotlib figures numpy numpy