{"id":592,"date":"2017-11-01T16:58:25","date_gmt":"2017-11-01T08:58:25","guid":{"rendered":"http:\/\/zhuangzr.me\/wordpress\/?p=592"},"modified":"2017-11-01T16:59:16","modified_gmt":"2017-11-01T08:59:16","slug":"matplotlib%e4%b8%ad%e6%96%87%e6%a0%87%e7%ad%be","status":"publish","type":"post","link":"https:\/\/zhuangzr.me\/wordpress\/2017\/11\/matplotlib%e4%b8%ad%e6%96%87%e6%a0%87%e7%ad%be\/","title":{"rendered":"matplotlib\u4e2d\u6587\u6807\u7b7e"},"content":{"rendered":"<pre class=\"brush: python; collapse: false; title: ; wrap-lines: false; notranslate\" title=\"\">\r\nimport matplotlib.pyplot as plt\r\n#\u6307\u5b9a\u4e2d\u6587\u6807\u7b7e\u5b57\u4f53\r\nplt.rcParams&#x5B;'font.sans-serif'] = &#x5B;'SimHei']\r\nplt.rcParams&#x5B;'axes.unicode_minus'] = False\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>import matplotlib.pyplot as plt #\u6307\u5b9a\u4e2d\u6587\u6807\u7b7e\u5b57\u4f53 plt.rcParams&#x5B;&#8217;font.sans-serif&#8217;] = &#x5B;&#8217;SimHei&#8217;] plt.rcParams&#x5B;&#8217;axes.unicode_minus&#8217;] = False<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[64,7,69],"tags":[],"class_list":["post-592","post","type-post","status-publish","format-standard","hentry","category-data-science","category-programming","category-python"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.9 - aioseo.com -->\n\t<meta name=\"description\" content=\"[sourcecode language=&quot;python&quot; wraplines=&quot;false&quot; collapse=&quot;false&quot;] import matplotlib.pyplot as plt #\u6307\u5b9a\u4e2d\u6587\u6807\u7b7e\u5b57\u4f53 plt.rcParams[&#039;font.sans-serif&#039;] = [&#039;SimHei&#039;] plt.rcParams[&#039;axes.unicode_minus&#039;] = False [\/sourcecode]\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Hamilleton\"\/>\n\t<meta name=\"google-site-verification\" content=\"MU5z5UygVAc-wvTryHZh_Pyu9TTGhb65shw7AGmXpgE\" \/>\n\t<meta name=\"keywords\" content=\"data science,programming,python\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/zhuangzr.me\/wordpress\/2017\/11\/matplotlib%e4%b8%ad%e6%96%87%e6%a0%87%e7%ad%be\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.9\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"ZigZagRoad | Thoughts in Life and Research on Work\" \/>\n\t\t<meta property=\"og:type\" content=\"activity\" \/>\n\t\t<meta property=\"og:title\" content=\"matplotlib\u4e2d\u6587\u6807\u7b7e | ZigZagRoad\" \/>\n\t\t<meta property=\"og:description\" content=\"[sourcecode language=&quot;python&quot; wraplines=&quot;false&quot; collapse=&quot;false&quot;] import matplotlib.pyplot as plt #\u6307\u5b9a\u4e2d\u6587\u6807\u7b7e\u5b57\u4f53 plt.rcParams[&#039;font.sans-serif&#039;] = [&#039;SimHei&#039;] plt.rcParams[&#039;axes.unicode_minus&#039;] = False [\/sourcecode]\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/zhuangzr.me\/wordpress\/2017\/11\/matplotlib%e4%b8%ad%e6%96%87%e6%a0%87%e7%ad%be\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/ziruizhuang.github.io\/assets\/img\/prof_pic.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/ziruizhuang.github.io\/assets\/img\/prof_pic.jpg\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:title\" content=\"matplotlib\u4e2d\u6587\u6807\u7b7e | ZigZagRoad\" \/>\n\t\t<meta name=\"twitter:description\" content=\"[sourcecode language=&quot;python&quot; wraplines=&quot;false&quot; collapse=&quot;false&quot;] import matplotlib.pyplot as plt #\u6307\u5b9a\u4e2d\u6587\u6807\u7b7e\u5b57\u4f53 plt.rcParams[&#039;font.sans-serif&#039;] = [&#039;SimHei&#039;] plt.rcParams[&#039;axes.unicode_minus&#039;] = False [\/sourcecode]\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/ziruizhuang.github.io\/assets\/img\/prof_pic.jpg\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/zhuangzr.me\\\/wordpress\\\/2017\\\/11\\\/matplotlib%e4%b8%ad%e6%96%87%e6%a0%87%e7%ad%be\\\/#article\",\"name\":\"matplotlib\\u4e2d\\u6587\\u6807\\u7b7e | ZigZagRoad\",\"headline\":\"matplotlib\\u4e2d\\u6587\\u6807\\u7b7e\",\"author\":{\"@id\":\"https:\\\/\\\/zhuangzr.me\\\/wordpress\\\/author\\\/hamilleton\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/zhuangzr.me\\\/wordpress\\\/#person\"},\"datePublished\":\"2017-11-01T16:58:25+08:00\",\"dateModified\":\"2017-11-01T16:59:16+08:00\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/zhuangzr.me\\\/wordpress\\\/2017\\\/11\\\/matplotlib%e4%b8%ad%e6%96%87%e6%a0%87%e7%ad%be\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/zhuangzr.me\\\/wordpress\\\/2017\\\/11\\\/matplotlib%e4%b8%ad%e6%96%87%e6%a0%87%e7%ad%be\\\/#webpage\"},\"articleSection\":\"Data Science, Programming, Python\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/zhuangzr.me\\\/wordpress\\\/2017\\\/11\\\/matplotlib%e4%b8%ad%e6%96%87%e6%a0%87%e7%ad%be\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/zhuangzr.me\\\/wordpress#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/zhuangzr.me\\\/wordpress\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/zhuangzr.me\\\/wordpress\\\/category\\\/study-research-work\\\/#listItem\",\"name\":\"Study, Research and Work\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/zhuangzr.me\\\/wordpress\\\/category\\\/study-research-work\\\/#listItem\",\"position\":2,\"name\":\"Study, Research and Work\",\"item\":\"https:\\\/\\\/zhuangzr.me\\\/wordpress\\\/category\\\/study-research-work\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/zhuangzr.me\\\/wordpress\\\/category\\\/study-research-work\\\/computer-science\\\/#listItem\",\"name\":\"Computer Science\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/zhuangzr.me\\\/wordpress#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/zhuangzr.me\\\/wordpress\\\/category\\\/study-research-work\\\/computer-science\\\/#listItem\",\"position\":3,\"name\":\"Computer Science\",\"item\":\"https:\\\/\\\/zhuangzr.me\\\/wordpress\\\/category\\\/study-research-work\\\/computer-science\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/zhuangzr.me\\\/wordpress\\\/category\\\/study-research-work\\\/computer-science\\\/programming\\\/#listItem\",\"name\":\"Programming\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/zhuangzr.me\\\/wordpress\\\/category\\\/study-research-work\\\/#listItem\",\"name\":\"Study, Research and Work\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/zhuangzr.me\\\/wordpress\\\/category\\\/study-research-work\\\/computer-science\\\/programming\\\/#listItem\",\"position\":4,\"name\":\"Programming\",\"item\":\"https:\\\/\\\/zhuangzr.me\\\/wordpress\\\/category\\\/study-research-work\\\/computer-science\\\/programming\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/zhuangzr.me\\\/wordpress\\\/category\\\/study-research-work\\\/computer-science\\\/programming\\\/python\\\/#listItem\",\"name\":\"Python\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/zhuangzr.me\\\/wordpress\\\/category\\\/study-research-work\\\/computer-science\\\/#listItem\",\"name\":\"Computer Science\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/zhuangzr.me\\\/wordpress\\\/category\\\/study-research-work\\\/computer-science\\\/programming\\\/python\\\/#listItem\",\"position\":5,\"name\":\"Python\",\"item\":\"https:\\\/\\\/zhuangzr.me\\\/wordpress\\\/category\\\/study-research-work\\\/computer-science\\\/programming\\\/python\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/zhuangzr.me\\\/wordpress\\\/2017\\\/11\\\/matplotlib%e4%b8%ad%e6%96%87%e6%a0%87%e7%ad%be\\\/#listItem\",\"name\":\"matplotlib\\u4e2d\\u6587\\u6807\\u7b7e\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/zhuangzr.me\\\/wordpress\\\/category\\\/study-research-work\\\/computer-science\\\/programming\\\/#listItem\",\"name\":\"Programming\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/zhuangzr.me\\\/wordpress\\\/2017\\\/11\\\/matplotlib%e4%b8%ad%e6%96%87%e6%a0%87%e7%ad%be\\\/#listItem\",\"position\":6,\"name\":\"matplotlib\\u4e2d\\u6587\\u6807\\u7b7e\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/zhuangzr.me\\\/wordpress\\\/category\\\/study-research-work\\\/computer-science\\\/programming\\\/python\\\/#listItem\",\"name\":\"Python\"}}]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/zhuangzr.me\\\/wordpress\\\/#person\",\"name\":\"Hamilleton\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/zhuangzr.me\\\/wordpress\\\/author\\\/hamilleton\\\/#author\",\"url\":\"https:\\\/\\\/zhuangzr.me\\\/wordpress\\\/author\\\/hamilleton\\\/\",\"name\":\"Hamilleton\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/zhuangzr.me\\\/wordpress\\\/2017\\\/11\\\/matplotlib%e4%b8%ad%e6%96%87%e6%a0%87%e7%ad%be\\\/#webpage\",\"url\":\"https:\\\/\\\/zhuangzr.me\\\/wordpress\\\/2017\\\/11\\\/matplotlib%e4%b8%ad%e6%96%87%e6%a0%87%e7%ad%be\\\/\",\"name\":\"matplotlib\\u4e2d\\u6587\\u6807\\u7b7e | ZigZagRoad\",\"description\":\"[sourcecode language=\\\"python\\\" wraplines=\\\"false\\\" collapse=\\\"false\\\"] import matplotlib.pyplot as plt #\\u6307\\u5b9a\\u4e2d\\u6587\\u6807\\u7b7e\\u5b57\\u4f53 plt.rcParams['font.sans-serif'] = ['SimHei'] plt.rcParams['axes.unicode_minus'] = False [\\\/sourcecode]\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/zhuangzr.me\\\/wordpress\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/zhuangzr.me\\\/wordpress\\\/2017\\\/11\\\/matplotlib%e4%b8%ad%e6%96%87%e6%a0%87%e7%ad%be\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/zhuangzr.me\\\/wordpress\\\/author\\\/hamilleton\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/zhuangzr.me\\\/wordpress\\\/author\\\/hamilleton\\\/#author\"},\"datePublished\":\"2017-11-01T16:58:25+08:00\",\"dateModified\":\"2017-11-01T16:59:16+08:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/zhuangzr.me\\\/wordpress\\\/#website\",\"url\":\"https:\\\/\\\/zhuangzr.me\\\/wordpress\\\/\",\"name\":\"ZigZagRoad\",\"description\":\"Thoughts in Life and Research on Work\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/zhuangzr.me\\\/wordpress\\\/#person\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"matplotlib\u4e2d\u6587\u6807\u7b7e | ZigZagRoad","description":"[sourcecode language=\"python\" wraplines=\"false\" collapse=\"false\"] import matplotlib.pyplot as plt #\u6307\u5b9a\u4e2d\u6587\u6807\u7b7e\u5b57\u4f53 plt.rcParams['font.sans-serif'] = ['SimHei'] plt.rcParams['axes.unicode_minus'] = False [\/sourcecode]","canonical_url":"https:\/\/zhuangzr.me\/wordpress\/2017\/11\/matplotlib%e4%b8%ad%e6%96%87%e6%a0%87%e7%ad%be\/","robots":"max-image-preview:large","keywords":"data science,programming,python","webmasterTools":{"google-site-verification":"MU5z5UygVAc-wvTryHZh_Pyu9TTGhb65shw7AGmXpgE","miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/zhuangzr.me\/wordpress\/2017\/11\/matplotlib%e4%b8%ad%e6%96%87%e6%a0%87%e7%ad%be\/#article","name":"matplotlib\u4e2d\u6587\u6807\u7b7e | ZigZagRoad","headline":"matplotlib\u4e2d\u6587\u6807\u7b7e","author":{"@id":"https:\/\/zhuangzr.me\/wordpress\/author\/hamilleton\/#author"},"publisher":{"@id":"https:\/\/zhuangzr.me\/wordpress\/#person"},"datePublished":"2017-11-01T16:58:25+08:00","dateModified":"2017-11-01T16:59:16+08:00","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/zhuangzr.me\/wordpress\/2017\/11\/matplotlib%e4%b8%ad%e6%96%87%e6%a0%87%e7%ad%be\/#webpage"},"isPartOf":{"@id":"https:\/\/zhuangzr.me\/wordpress\/2017\/11\/matplotlib%e4%b8%ad%e6%96%87%e6%a0%87%e7%ad%be\/#webpage"},"articleSection":"Data Science, Programming, Python"},{"@type":"BreadcrumbList","@id":"https:\/\/zhuangzr.me\/wordpress\/2017\/11\/matplotlib%e4%b8%ad%e6%96%87%e6%a0%87%e7%ad%be\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/zhuangzr.me\/wordpress#listItem","position":1,"name":"Home","item":"https:\/\/zhuangzr.me\/wordpress","nextItem":{"@type":"ListItem","@id":"https:\/\/zhuangzr.me\/wordpress\/category\/study-research-work\/#listItem","name":"Study, Research and Work"}},{"@type":"ListItem","@id":"https:\/\/zhuangzr.me\/wordpress\/category\/study-research-work\/#listItem","position":2,"name":"Study, Research and Work","item":"https:\/\/zhuangzr.me\/wordpress\/category\/study-research-work\/","nextItem":{"@type":"ListItem","@id":"https:\/\/zhuangzr.me\/wordpress\/category\/study-research-work\/computer-science\/#listItem","name":"Computer Science"},"previousItem":{"@type":"ListItem","@id":"https:\/\/zhuangzr.me\/wordpress#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/zhuangzr.me\/wordpress\/category\/study-research-work\/computer-science\/#listItem","position":3,"name":"Computer Science","item":"https:\/\/zhuangzr.me\/wordpress\/category\/study-research-work\/computer-science\/","nextItem":{"@type":"ListItem","@id":"https:\/\/zhuangzr.me\/wordpress\/category\/study-research-work\/computer-science\/programming\/#listItem","name":"Programming"},"previousItem":{"@type":"ListItem","@id":"https:\/\/zhuangzr.me\/wordpress\/category\/study-research-work\/#listItem","name":"Study, Research and Work"}},{"@type":"ListItem","@id":"https:\/\/zhuangzr.me\/wordpress\/category\/study-research-work\/computer-science\/programming\/#listItem","position":4,"name":"Programming","item":"https:\/\/zhuangzr.me\/wordpress\/category\/study-research-work\/computer-science\/programming\/","nextItem":{"@type":"ListItem","@id":"https:\/\/zhuangzr.me\/wordpress\/category\/study-research-work\/computer-science\/programming\/python\/#listItem","name":"Python"},"previousItem":{"@type":"ListItem","@id":"https:\/\/zhuangzr.me\/wordpress\/category\/study-research-work\/computer-science\/#listItem","name":"Computer Science"}},{"@type":"ListItem","@id":"https:\/\/zhuangzr.me\/wordpress\/category\/study-research-work\/computer-science\/programming\/python\/#listItem","position":5,"name":"Python","item":"https:\/\/zhuangzr.me\/wordpress\/category\/study-research-work\/computer-science\/programming\/python\/","nextItem":{"@type":"ListItem","@id":"https:\/\/zhuangzr.me\/wordpress\/2017\/11\/matplotlib%e4%b8%ad%e6%96%87%e6%a0%87%e7%ad%be\/#listItem","name":"matplotlib\u4e2d\u6587\u6807\u7b7e"},"previousItem":{"@type":"ListItem","@id":"https:\/\/zhuangzr.me\/wordpress\/category\/study-research-work\/computer-science\/programming\/#listItem","name":"Programming"}},{"@type":"ListItem","@id":"https:\/\/zhuangzr.me\/wordpress\/2017\/11\/matplotlib%e4%b8%ad%e6%96%87%e6%a0%87%e7%ad%be\/#listItem","position":6,"name":"matplotlib\u4e2d\u6587\u6807\u7b7e","previousItem":{"@type":"ListItem","@id":"https:\/\/zhuangzr.me\/wordpress\/category\/study-research-work\/computer-science\/programming\/python\/#listItem","name":"Python"}}]},{"@type":"Person","@id":"https:\/\/zhuangzr.me\/wordpress\/#person","name":"Hamilleton"},{"@type":"Person","@id":"https:\/\/zhuangzr.me\/wordpress\/author\/hamilleton\/#author","url":"https:\/\/zhuangzr.me\/wordpress\/author\/hamilleton\/","name":"Hamilleton"},{"@type":"WebPage","@id":"https:\/\/zhuangzr.me\/wordpress\/2017\/11\/matplotlib%e4%b8%ad%e6%96%87%e6%a0%87%e7%ad%be\/#webpage","url":"https:\/\/zhuangzr.me\/wordpress\/2017\/11\/matplotlib%e4%b8%ad%e6%96%87%e6%a0%87%e7%ad%be\/","name":"matplotlib\u4e2d\u6587\u6807\u7b7e | ZigZagRoad","description":"[sourcecode language=\"python\" wraplines=\"false\" collapse=\"false\"] import matplotlib.pyplot as plt #\u6307\u5b9a\u4e2d\u6587\u6807\u7b7e\u5b57\u4f53 plt.rcParams['font.sans-serif'] = ['SimHei'] plt.rcParams['axes.unicode_minus'] = False [\/sourcecode]","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/zhuangzr.me\/wordpress\/#website"},"breadcrumb":{"@id":"https:\/\/zhuangzr.me\/wordpress\/2017\/11\/matplotlib%e4%b8%ad%e6%96%87%e6%a0%87%e7%ad%be\/#breadcrumblist"},"author":{"@id":"https:\/\/zhuangzr.me\/wordpress\/author\/hamilleton\/#author"},"creator":{"@id":"https:\/\/zhuangzr.me\/wordpress\/author\/hamilleton\/#author"},"datePublished":"2017-11-01T16:58:25+08:00","dateModified":"2017-11-01T16:59:16+08:00"},{"@type":"WebSite","@id":"https:\/\/zhuangzr.me\/wordpress\/#website","url":"https:\/\/zhuangzr.me\/wordpress\/","name":"ZigZagRoad","description":"Thoughts in Life and Research on Work","inLanguage":"en-US","publisher":{"@id":"https:\/\/zhuangzr.me\/wordpress\/#person"}}]},"og:locale":"en_US","og:site_name":"ZigZagRoad | Thoughts in Life and Research on Work","og:type":"activity","og:title":"matplotlib\u4e2d\u6587\u6807\u7b7e | ZigZagRoad","og:description":"[sourcecode language=&quot;python&quot; wraplines=&quot;false&quot; collapse=&quot;false&quot;] import matplotlib.pyplot as plt #\u6307\u5b9a\u4e2d\u6587\u6807\u7b7e\u5b57\u4f53 plt.rcParams['font.sans-serif'] = ['SimHei'] plt.rcParams['axes.unicode_minus'] = False [\/sourcecode]","og:url":"https:\/\/zhuangzr.me\/wordpress\/2017\/11\/matplotlib%e4%b8%ad%e6%96%87%e6%a0%87%e7%ad%be\/","og:image":"https:\/\/ziruizhuang.github.io\/assets\/img\/prof_pic.jpg","og:image:secure_url":"https:\/\/ziruizhuang.github.io\/assets\/img\/prof_pic.jpg","twitter:card":"summary","twitter:title":"matplotlib\u4e2d\u6587\u6807\u7b7e | ZigZagRoad","twitter:description":"[sourcecode language=&quot;python&quot; wraplines=&quot;false&quot; collapse=&quot;false&quot;] import matplotlib.pyplot as plt #\u6307\u5b9a\u4e2d\u6587\u6807\u7b7e\u5b57\u4f53 plt.rcParams['font.sans-serif'] = ['SimHei'] plt.rcParams['axes.unicode_minus'] = False [\/sourcecode]","twitter:image":"https:\/\/ziruizhuang.github.io\/assets\/img\/prof_pic.jpg"},"aioseo_meta_data":{"post_id":"592","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":"","og_description":"","og_object_type":"activity","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":"","og_article_tags":"","twitter_use_og":false,"twitter_card":"summary","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[],"defaultGraph":"","defaultPostTypeGraph":""},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2020-12-24 07:00:03","updated":"2025-07-03 08:51:55","seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/zhuangzr.me\/wordpress\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/zhuangzr.me\/wordpress\/category\/study-research-work\/\" title=\"Study, Research and Work\">Study, Research and Work<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/zhuangzr.me\/wordpress\/category\/study-research-work\/computer-science\/\" title=\"Computer Science\">Computer Science<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/zhuangzr.me\/wordpress\/category\/study-research-work\/computer-science\/programming\/\" title=\"Programming\">Programming<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/zhuangzr.me\/wordpress\/category\/study-research-work\/computer-science\/programming\/python\/\" title=\"Python\">Python<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tmatplotlib\u4e2d\u6587\u6807\u7b7e\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/zhuangzr.me\/wordpress"},{"label":"Study, Research and Work","link":"https:\/\/zhuangzr.me\/wordpress\/category\/study-research-work\/"},{"label":"Computer Science","link":"https:\/\/zhuangzr.me\/wordpress\/category\/study-research-work\/computer-science\/"},{"label":"Programming","link":"https:\/\/zhuangzr.me\/wordpress\/category\/study-research-work\/computer-science\/programming\/"},{"label":"Python","link":"https:\/\/zhuangzr.me\/wordpress\/category\/study-research-work\/computer-science\/programming\/python\/"},{"label":"matplotlib\u4e2d\u6587\u6807\u7b7e","link":"https:\/\/zhuangzr.me\/wordpress\/2017\/11\/matplotlib%e4%b8%ad%e6%96%87%e6%a0%87%e7%ad%be\/"}],"_links":{"self":[{"href":"https:\/\/zhuangzr.me\/wordpress\/wp-json\/wp\/v2\/posts\/592","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/zhuangzr.me\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/zhuangzr.me\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/zhuangzr.me\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/zhuangzr.me\/wordpress\/wp-json\/wp\/v2\/comments?post=592"}],"version-history":[{"count":2,"href":"https:\/\/zhuangzr.me\/wordpress\/wp-json\/wp\/v2\/posts\/592\/revisions"}],"predecessor-version":[{"id":594,"href":"https:\/\/zhuangzr.me\/wordpress\/wp-json\/wp\/v2\/posts\/592\/revisions\/594"}],"wp:attachment":[{"href":"https:\/\/zhuangzr.me\/wordpress\/wp-json\/wp\/v2\/media?parent=592"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/zhuangzr.me\/wordpress\/wp-json\/wp\/v2\/categories?post=592"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/zhuangzr.me\/wordpress\/wp-json\/wp\/v2\/tags?post=592"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}