{"id":990,"date":"2023-07-28T02:07:23","date_gmt":"2023-07-28T02:07:23","guid":{"rendered":"https:\/\/statorials.org\/cn\/matplotlib-%e6%8c%89%e5%80%bc%e9%a2%9c%e8%89%b2%e6%95%a3%e7%82%b9%e5%9b%be\/"},"modified":"2023-07-28T02:07:23","modified_gmt":"2023-07-28T02:07:23","slug":"matplotlib-%e6%8c%89%e5%80%bc%e9%a2%9c%e8%89%b2%e6%95%a3%e7%82%b9%e5%9b%be","status":"publish","type":"post","link":"https:\/\/statorials.org\/cn\/matplotlib-%e6%8c%89%e5%80%bc%e9%a2%9c%e8%89%b2%e6%95%a3%e7%82%b9%e5%9b%be\/","title":{"rendered":"Matplotlib\uff1a\u5982\u4f55\u6309\u503c\u5bf9\u6563\u70b9\u56fe\u7740\u8272"},"content":{"rendered":"<p><\/p>\n<hr>\n<p><span style=\"color: #000000;\">\u901a\u5e38\uff0c\u60a8\u53ef\u80fd\u5e0c\u671b\u6839\u636e\u7b2c\u4e09\u4e2a\u53d8\u91cf\u5bf9 matplotlib \u6563\u70b9\u56fe\u4e2d\u7684\u70b9\u7684\u989c\u8272\u8fdb\u884c\u7740\u8272\u3002\u5e78\u8fd0\u7684\u662f\uff0c\u4f7f\u7528<a href=\"https:\/\/matplotlib.org\/3.3.1\/api\/_as_gen\/matplotlib.pyplot.scatter.html\" target=\"_blank\" rel=\"noopener noreferrer\">matplotlib.pyplot.scatter()<\/a>\u51fd\u6570\u53ef\u4ee5\u8f7b\u677e\u505a\u5230\u8fd9\u4e00\u70b9\uff0c\u8be5\u51fd\u6570\u91c7\u7528\u4ee5\u4e0b\u8bed\u6cd5\uff1a<\/span><\/p>\n<p> <span style=\"color: #000000;\"><strong>matplotlib.pyplot.scatter(x, y, s=\u65e0, c=\u65e0, cmap=\u65e0)<\/strong><\/span><\/p>\n<p><span style=\"color: #000000;\">\u91d1\u5b50\uff1a<\/span><\/p>\n<ul>\n<li> <span style=\"color: #000000;\"><strong>x\uff1a<\/strong>\u7528\u4e8e\u7ed8\u56fe\u4e2d x \u8f74\u4f4d\u7f6e\u7684\u503c\u8868\u3002<\/span><\/li>\n<li> <span style=\"color: #000000;\"><strong>y\uff1a<\/strong>\u7528\u4e8e\u7ed8\u56fe\u4e2d y \u8f74\u4f4d\u7f6e\u7684\u503c\u6570\u7ec4\u3002<\/span><\/li>\n<li> <span style=\"color: #000000;\"><strong>s\uff1a<\/strong>\u6807\u8bb0\u7684\u5927\u5c0f\u3002<\/span><\/li>\n<li> <span style=\"color: #000000;\"><strong>c\uff1a<\/strong>\u7528\u4e8e\u6807\u8bb0\u989c\u8272\u7684\u503c\u8868\u3002<\/span><\/li>\n<li> <span style=\"color: #000000;\"><strong>cmap\uff1a<\/strong>\u7528\u4e8e\u7ed8\u56fe\u7684\u989c\u8272\u56fe\u3002<\/span><\/li>\n<\/ul>\n<p><span style=\"color: #000000;\">\u60a8\u53ef\u4ee5\u4f7f\u7528<strong>c<\/strong>\u6307\u5b9a\u7528\u4e8e\u989c\u8272\u503c\u7684\u53d8\u91cf\uff0c\u5e76\u4e14\u53ef\u4ee5\u4f7f\u7528<strong>cmap<\/strong>\u6307\u5b9a\u7528\u4e8e\u70b9\u4e91\u4e2d\u6807\u8bb0\u7684\u5b9e\u9645\u989c\u8272\u3002<\/span><\/p>\n<p><span style=\"color: #000000;\">\u672c\u6559\u7a0b\u89e3\u91ca\u4e86\u6b64\u529f\u80fd\u5b9e\u9645\u4f7f\u7528\u7684\u51e0\u4e2a\u793a\u4f8b\u3002<\/span><\/p>\n<h3><span style=\"color: #000000;\"><strong>\u793a\u4f8b 1\uff1a\u6309\u503c\u6392\u5217\u7684\u5f69\u8272\u6563\u70b9\u56fe<\/strong><\/span><\/h3>\n<p><span style=\"color: #000000;\">\u5047\u8bbe\u6211\u4eec\u6709\u4ee5\u4e0b pandas DataFrame\uff1a<\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong><span style=\"color: #107d3f;\">import<\/span> pandas <span style=\"color: #107d3f;\">as<\/span> pd\n\n<span style=\"color: #008080;\">#createDataFrame<\/span>\ndf = pd.DataFrame({'x': [25, 12, 15, 14, 19, 23, 25, 29],\n                   'y': [5, 7, 7, 9, 12, 9, 9, 4],\n                   'z': [3, 4, 4, 5, 7, 8, 8, 9]})\n\n<span style=\"color: #008080;\">#view DataFrame\n<\/span>df\n\n        X Y Z\n0 25 5 3\n1 12 7 4\n2 15 7 4\n3 14 9 5\n4 19 12 7\n5 23 9 8\n6 25 9 8\n7 29 4 9<\/strong><\/pre>\n<p><span style=\"color: #000000;\">\u4ee5\u4e0b\u4ee3\u7801\u5c55\u793a\u4e86\u5982\u4f55\u4f7f\u7528\u7070\u8272\u8c03\u8272\u677f\u5e76\u4f7f\u7528<strong>z<\/strong>\u53d8\u91cf\u7684\u503c\u4f5c\u4e3a\u8c03\u8272\u677f\u7684\u9634\u5f71\u6765\u521b\u5efa\u70b9\u4e91\uff1a<\/span> <\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong><span style=\"color: #107d3f;\">import<\/span> matplotlib.pyplot <span style=\"color: #107d3f;\">as<\/span> plt\n\n<span style=\"color: #008080;\">#create scatterplot<\/span>\nplt. <span style=\"color: #3366ff;\">scatter<\/span> (df.x, df.y, s=200, c=df.z, cmap=' <span style=\"color: #008000;\">gray<\/span> ')\n<\/strong><\/pre>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter wp-image-10278 \" src=\"https:\/\/statorials.org\/wp-content\/uploads\/2023\/08\/matplotlibscatter1.png\" alt=\"Matplotlib \u6309\u503c\u7ed8\u5236\u6563\u70b9\u56fe\u989c\u8272\" width=\"413\" height=\"279\" srcset=\"\" sizes=\"auto, \"><\/p>\n<p><span style=\"color: #000000;\">\u5bf9\u4e8e\u8fd9\u4e2a\u7279\u5b9a\u7684\u793a\u4f8b\uff0c\u6211\u4eec\u9009\u62e9\u201c\u7070\u8272\u201d\u8c03\u8272\u677f\uff0c\u4f46\u60a8\u53ef\u4ee5\u5728<a href=\"https:\/\/matplotlib.org\/3.3.1\/tutorials\/colors\/colormaps.html\" target=\"_blank\" rel=\"noopener noreferrer\">matplotlib \u8c03\u8272\u677f\u6587\u6863<\/a>\u4e2d\u627e\u5230\u8981\u4f7f\u7528\u7684\u53ef\u7528\u8c03\u8272\u677f\u7684\u5b8c\u6574\u5217\u8868\u3002<\/span><\/p>\n<p><span style=\"color: #000000;\">\u4f8b\u5982\uff0c\u6211\u4eec\u53ef\u4ee5\u6307\u5b9a\u201cGreens\u201d\u4f5c\u4e3a\u8c03\u8272\u677f\uff1a<\/span> <\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong>plt. <span style=\"color: #3366ff;\">scatter<\/span> (df.x, df.y, s=200, c=df.z, cmap=' <span style=\"color: #008000;\">Greens<\/span> ')<\/strong> <\/pre>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter wp-image-10280 \" src=\"https:\/\/statorials.org\/wp-content\/uploads\/2023\/08\/matplotlibscatter2.png\" alt=\"Matplotlib \u4f7f\u7528 cmap \u7ed8\u5236\u6563\u70b9\u56fe\" width=\"420\" height=\"286\" srcset=\"\" sizes=\"auto, \"><\/p>\n<p><span style=\"color: #000000;\">\u9ed8\u8ba4\u60c5\u51b5\u4e0b\uff0c <strong>c<\/strong>\u53c2\u6570\u503c\u8f83\u5927\u7684\u6807\u8bb0\u7684\u9634\u5f71\u989c\u8272\u8f83\u6df1\uff0c\u4f46\u60a8\u53ef\u4ee5\u901a\u8fc7\u7b80\u5355\u5730\u5c06<strong>_r<\/strong>\u6dfb\u52a0\u5230 cmap \u540d\u79f0\u6765\u626d\u8f6c\u8fd9\u79cd\u8d8b\u52bf\uff1a<\/span> <\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong>plt. <span style=\"color: #3366ff;\">scatter<\/span> (df.x, df.y, s=200, c=df.z, cmap=' <span style=\"color: #008000;\">Greens_r<\/span> ')<\/strong> <\/pre>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter wp-image-10281 \" src=\"https:\/\/statorials.org\/wp-content\/uploads\/2023\/08\/matplotlibscatter3.png\" alt=\"Matplotlib \u8c03\u8272\u677f\u53cd\u8f6c\u6bd4\u4f8b\" width=\"422\" height=\"287\" srcset=\"\" sizes=\"auto, \"><\/p>\n<h3><span style=\"color: #000000;\"><strong>\u793a\u4f8b 2\uff1a\u6309\u7c7b\u522b\u5206\u7c7b\u7684\u5f69\u8272\u6563\u70b9\u56fe<\/strong><\/span><\/h3>\n<p><span style=\"color: #000000;\">\u5047\u8bbe\u6211\u4eec\u6709\u4ee5\u4e0b pandas DataFrame\uff1a<\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong><span style=\"color: #107d3f;\">import<\/span> pandas <span style=\"color: #107d3f;\">as<\/span> pd\n\n<span style=\"color: #008080;\">#createDataFrame<\/span>\ndf = pd.DataFrame({'x': [25, 12, 15, 14, 19, 23, 25, 29],\n                   'y': [5, 7, 7, 9, 12, 9, 9, 4],\n                   'z': ['A', 'A', 'B', 'B', 'B', 'C', 'C', 'C']})\n\n<span style=\"color: #008080;\">#view DataFrame\n<\/span>df\n\n\tX Y Z\n0 25 5 A\n1 12 7 A\n2 15 7 B\n3 14 9 B\n4 19 12 B\n5 23 9 C\n6 25 9 C\n7 29 4 C<\/strong><\/pre>\n<p><span style=\"color: #000000;\">\u4ee5\u4e0b\u4ee3\u7801\u6f14\u793a\u5982\u4f55\u4f7f\u7528<strong>z<\/strong>\u53d8\u91cf\u521b\u5efa\u6563\u70b9\u56fe\uff0c\u4ee5\u6839\u636e\u7c7b\u522b\u4e3a\u6807\u8bb0\u7740\u8272\uff1a<\/span> <\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong><span style=\"color: #107d3f;\">import<\/span> matplotlib.pyplot <span style=\"color: #107d3f;\">as<\/span> plt\n\ngroups = df. <span style=\"color: #3366ff;\">groupby<\/span> ('z')\n<span style=\"color: #008000;\">for<\/span> name, group <span style=\"color: #008000;\">in<\/span> groups:\n    plt. <span style=\"color: #3366ff;\">plot<\/span> (group.x, group.y, marker=' <span style=\"color: #993300;\">o<\/span> ', linestyle='', markersize=12, label=name)\n\nplt. <span style=\"color: #3366ff;\">legend<\/span> ()\n<\/strong><\/pre>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter wp-image-10282 \" src=\"https:\/\/statorials.org\/wp-content\/uploads\/2023\/08\/matplotlibscatter4.png\" alt=\"Matplotlib \u6563\u70b9\u56fe\u6309\u7c7b\u522b\u7740\u8272\" width=\"420\" height=\"289\" srcset=\"\" sizes=\"auto, \"><\/p>\n<p><span style=\"color: #000000;\"><em>\u60a8\u53ef\u4ee5<a href=\"https:\/\/statorials.org\/cn\/\u7edf\u8ba1\u5b66\u4ee5\u7b80\u5355\u76f4\u63a5\u7684\u65b9\u5f0f\u89e3\u91ca\u6982\u5ff5\uff0c\u6211\u4eec\u4f7f\u5b66\u4e60\u7edf\u8ba1\u53d8\u5f97\u66f4\u5bb9\u6613\/\" target=\"_blank\" rel=\"noopener noreferrer\">\u5728\u6b64\u5904<\/a>\u627e\u5230\u66f4\u591a Python \u6559\u7a0b\u3002<\/em><\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u901a\u5e38\uff0c\u60a8\u53ef\u80fd\u5e0c\u671b\u6839\u636e\u7b2c\u4e09\u4e2a\u53d8\u91cf\u5bf9 matplotlib \u6563\u70b9\u56fe\u4e2d\u7684\u70b9\u7684\u989c\u8272\u8fdb\u884c\u7740\u8272\u3002\u5e78\u8fd0\u7684\u662f\uff0c\u4f7f\u7528matplo [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11],"tags":[],"class_list":["post-990","post","type-post","status-publish","format-standard","hentry","category-11"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Matplotlib\uff1a\u5982\u4f55\u6309\u503c\u5bf9\u6563\u70b9\u56fe\u7740\u8272<\/title>\n<meta name=\"description\" content=\"\u5173\u4e8e\u5982\u4f55\u6309\u503c\u5bf9 Matplotlib \u6563\u70b9\u56fe\u4e2d\u7684\u70b9\u7740\u8272\u7684\u7b80\u5355\u8bf4\u660e\u3002\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/statorials.org\/cn\/matplotlib-\u6309\u503c\u989c\u8272\u6563\u70b9\u56fe\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Matplotlib\uff1a\u5982\u4f55\u6309\u503c\u5bf9\u6563\u70b9\u56fe\u7740\u8272\" \/>\n<meta property=\"og:description\" content=\"\u5173\u4e8e\u5982\u4f55\u6309\u503c\u5bf9 Matplotlib \u6563\u70b9\u56fe\u4e2d\u7684\u70b9\u7740\u8272\u7684\u7b80\u5355\u8bf4\u660e\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/statorials.org\/cn\/matplotlib-\u6309\u503c\u989c\u8272\u6563\u70b9\u56fe\/\" \/>\n<meta property=\"og:site_name\" content=\"Statorials\" \/>\n<meta property=\"article:published_time\" content=\"2023-07-28T02:07:23+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/statorials.org\/wp-content\/uploads\/2023\/08\/matplotlibscatter1.png\" \/>\n<meta name=\"author\" content=\"\u672c\u6770\u660e\u00b7\u5b89\u5fb7\u68ee\u535a\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u672c\u6770\u660e\u00b7\u5b89\u5fb7\u68ee\u535a\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/statorials.org\/cn\/matplotlib-%e6%8c%89%e5%80%bc%e9%a2%9c%e8%89%b2%e6%95%a3%e7%82%b9%e5%9b%be\/\",\"url\":\"https:\/\/statorials.org\/cn\/matplotlib-%e6%8c%89%e5%80%bc%e9%a2%9c%e8%89%b2%e6%95%a3%e7%82%b9%e5%9b%be\/\",\"name\":\"Matplotlib\uff1a\u5982\u4f55\u6309\u503c\u5bf9\u6563\u70b9\u56fe\u7740\u8272\",\"isPartOf\":{\"@id\":\"https:\/\/statorials.org\/cn\/#website\"},\"datePublished\":\"2023-07-28T02:07:23+00:00\",\"dateModified\":\"2023-07-28T02:07:23+00:00\",\"author\":{\"@id\":\"https:\/\/statorials.org\/cn\/#\/schema\/person\/124e4e5b7c9f8dc0f1f95cc8c1db3261\"},\"description\":\"\u5173\u4e8e\u5982\u4f55\u6309\u503c\u5bf9 Matplotlib \u6563\u70b9\u56fe\u4e2d\u7684\u70b9\u7740\u8272\u7684\u7b80\u5355\u8bf4\u660e\u3002\",\"breadcrumb\":{\"@id\":\"https:\/\/statorials.org\/cn\/matplotlib-%e6%8c%89%e5%80%bc%e9%a2%9c%e8%89%b2%e6%95%a3%e7%82%b9%e5%9b%be\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/statorials.org\/cn\/matplotlib-%e6%8c%89%e5%80%bc%e9%a2%9c%e8%89%b2%e6%95%a3%e7%82%b9%e5%9b%be\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/statorials.org\/cn\/matplotlib-%e6%8c%89%e5%80%bc%e9%a2%9c%e8%89%b2%e6%95%a3%e7%82%b9%e5%9b%be\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u5bb6\",\"item\":\"https:\/\/statorials.org\/cn\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Matplotlib\uff1a\u5982\u4f55\u6309\u503c\u5bf9\u6563\u70b9\u56fe\u7740\u8272\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/statorials.org\/cn\/#website\",\"url\":\"https:\/\/statorials.org\/cn\/\",\"name\":\"Statorials\",\"description\":\"\u60a8\u7684\u7edf\u8ba1\u7d20\u517b\u6307\u5357\uff01\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/statorials.org\/cn\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/statorials.org\/cn\/#\/schema\/person\/124e4e5b7c9f8dc0f1f95cc8c1db3261\",\"name\":\"\u672c\u6770\u660e\u00b7\u5b89\u5fb7\u68ee\u535a\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/statorials.org\/cn\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/statorials.org\/cn\/wp-content\/uploads\/2023\/10\/Dr.-Benjamin-Anderson-96x96.jpg\",\"contentUrl\":\"https:\/\/statorials.org\/cn\/wp-content\/uploads\/2023\/10\/Dr.-Benjamin-Anderson-96x96.jpg\",\"caption\":\"\u672c\u6770\u660e\u00b7\u5b89\u5fb7\u68ee\u535a\"},\"description\":\"\u5927\u5bb6\u597d\uff0c\u6211\u662f\u672c\u6770\u660e\uff0c\u4e00\u4f4d\u9000\u4f11\u7684\u7edf\u8ba1\u5b66\u6559\u6388\uff0c\u540e\u6765\u6210\u4e3a Statorials \u7684\u70ed\u5fc3\u6559\u5e08\u3002 \u51ed\u501f\u5728\u7edf\u8ba1\u9886\u57df\u7684\u4e30\u5bcc\u7ecf\u9a8c\u548c\u4e13\u4e1a\u77e5\u8bc6\uff0c\u6211\u6e34\u671b\u5206\u4eab\u6211\u7684\u77e5\u8bc6\uff0c\u901a\u8fc7 Statorials \u589e\u5f3a\u5b66\u751f\u7684\u80fd\u529b\u3002\u4e86\u89e3\u66f4\u591a\",\"sameAs\":[\"https:\/\/statorials.org\/cn\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Matplotlib\uff1a\u5982\u4f55\u6309\u503c\u5bf9\u6563\u70b9\u56fe\u7740\u8272","description":"\u5173\u4e8e\u5982\u4f55\u6309\u503c\u5bf9 Matplotlib \u6563\u70b9\u56fe\u4e2d\u7684\u70b9\u7740\u8272\u7684\u7b80\u5355\u8bf4\u660e\u3002","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/statorials.org\/cn\/matplotlib-\u6309\u503c\u989c\u8272\u6563\u70b9\u56fe\/","og_locale":"zh_CN","og_type":"article","og_title":"Matplotlib\uff1a\u5982\u4f55\u6309\u503c\u5bf9\u6563\u70b9\u56fe\u7740\u8272","og_description":"\u5173\u4e8e\u5982\u4f55\u6309\u503c\u5bf9 Matplotlib \u6563\u70b9\u56fe\u4e2d\u7684\u70b9\u7740\u8272\u7684\u7b80\u5355\u8bf4\u660e\u3002","og_url":"https:\/\/statorials.org\/cn\/matplotlib-\u6309\u503c\u989c\u8272\u6563\u70b9\u56fe\/","og_site_name":"Statorials","article_published_time":"2023-07-28T02:07:23+00:00","og_image":[{"url":"https:\/\/statorials.org\/wp-content\/uploads\/2023\/08\/matplotlibscatter1.png"}],"author":"\u672c\u6770\u660e\u00b7\u5b89\u5fb7\u68ee\u535a","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"\u672c\u6770\u660e\u00b7\u5b89\u5fb7\u68ee\u535a","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"1 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/statorials.org\/cn\/matplotlib-%e6%8c%89%e5%80%bc%e9%a2%9c%e8%89%b2%e6%95%a3%e7%82%b9%e5%9b%be\/","url":"https:\/\/statorials.org\/cn\/matplotlib-%e6%8c%89%e5%80%bc%e9%a2%9c%e8%89%b2%e6%95%a3%e7%82%b9%e5%9b%be\/","name":"Matplotlib\uff1a\u5982\u4f55\u6309\u503c\u5bf9\u6563\u70b9\u56fe\u7740\u8272","isPartOf":{"@id":"https:\/\/statorials.org\/cn\/#website"},"datePublished":"2023-07-28T02:07:23+00:00","dateModified":"2023-07-28T02:07:23+00:00","author":{"@id":"https:\/\/statorials.org\/cn\/#\/schema\/person\/124e4e5b7c9f8dc0f1f95cc8c1db3261"},"description":"\u5173\u4e8e\u5982\u4f55\u6309\u503c\u5bf9 Matplotlib \u6563\u70b9\u56fe\u4e2d\u7684\u70b9\u7740\u8272\u7684\u7b80\u5355\u8bf4\u660e\u3002","breadcrumb":{"@id":"https:\/\/statorials.org\/cn\/matplotlib-%e6%8c%89%e5%80%bc%e9%a2%9c%e8%89%b2%e6%95%a3%e7%82%b9%e5%9b%be\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/statorials.org\/cn\/matplotlib-%e6%8c%89%e5%80%bc%e9%a2%9c%e8%89%b2%e6%95%a3%e7%82%b9%e5%9b%be\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/statorials.org\/cn\/matplotlib-%e6%8c%89%e5%80%bc%e9%a2%9c%e8%89%b2%e6%95%a3%e7%82%b9%e5%9b%be\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u5bb6","item":"https:\/\/statorials.org\/cn\/"},{"@type":"ListItem","position":2,"name":"Matplotlib\uff1a\u5982\u4f55\u6309\u503c\u5bf9\u6563\u70b9\u56fe\u7740\u8272"}]},{"@type":"WebSite","@id":"https:\/\/statorials.org\/cn\/#website","url":"https:\/\/statorials.org\/cn\/","name":"Statorials","description":"\u60a8\u7684\u7edf\u8ba1\u7d20\u517b\u6307\u5357\uff01","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/statorials.org\/cn\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/statorials.org\/cn\/#\/schema\/person\/124e4e5b7c9f8dc0f1f95cc8c1db3261","name":"\u672c\u6770\u660e\u00b7\u5b89\u5fb7\u68ee\u535a","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/statorials.org\/cn\/#\/schema\/person\/image\/","url":"https:\/\/statorials.org\/cn\/wp-content\/uploads\/2023\/10\/Dr.-Benjamin-Anderson-96x96.jpg","contentUrl":"https:\/\/statorials.org\/cn\/wp-content\/uploads\/2023\/10\/Dr.-Benjamin-Anderson-96x96.jpg","caption":"\u672c\u6770\u660e\u00b7\u5b89\u5fb7\u68ee\u535a"},"description":"\u5927\u5bb6\u597d\uff0c\u6211\u662f\u672c\u6770\u660e\uff0c\u4e00\u4f4d\u9000\u4f11\u7684\u7edf\u8ba1\u5b66\u6559\u6388\uff0c\u540e\u6765\u6210\u4e3a Statorials \u7684\u70ed\u5fc3\u6559\u5e08\u3002 \u51ed\u501f\u5728\u7edf\u8ba1\u9886\u57df\u7684\u4e30\u5bcc\u7ecf\u9a8c\u548c\u4e13\u4e1a\u77e5\u8bc6\uff0c\u6211\u6e34\u671b\u5206\u4eab\u6211\u7684\u77e5\u8bc6\uff0c\u901a\u8fc7 Statorials \u589e\u5f3a\u5b66\u751f\u7684\u80fd\u529b\u3002\u4e86\u89e3\u66f4\u591a","sameAs":["https:\/\/statorials.org\/cn"]}]}},"yoast_meta":{"yoast_wpseo_title":"","yoast_wpseo_metadesc":"","yoast_wpseo_canonical":""},"_links":{"self":[{"href":"https:\/\/statorials.org\/cn\/wp-json\/wp\/v2\/posts\/990","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/statorials.org\/cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/statorials.org\/cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/statorials.org\/cn\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/statorials.org\/cn\/wp-json\/wp\/v2\/comments?post=990"}],"version-history":[{"count":0,"href":"https:\/\/statorials.org\/cn\/wp-json\/wp\/v2\/posts\/990\/revisions"}],"wp:attachment":[{"href":"https:\/\/statorials.org\/cn\/wp-json\/wp\/v2\/media?parent=990"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/statorials.org\/cn\/wp-json\/wp\/v2\/categories?post=990"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/statorials.org\/cn\/wp-json\/wp\/v2\/tags?post=990"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}