{"id":1329,"date":"2023-07-26T20:52:11","date_gmt":"2023-07-26T20:52:11","guid":{"rendered":"https:\/\/statorials.org\/cn\/%e7%bb%98%e5%88%b6%e5%a4%9a%e6%9d%a1%e7%ba%bf-matplotlib\/"},"modified":"2023-07-26T20:52:11","modified_gmt":"2023-07-26T20:52:11","slug":"%e7%bb%98%e5%88%b6%e5%a4%9a%e6%9d%a1%e7%ba%bf-matplotlib","status":"publish","type":"post","link":"https:\/\/statorials.org\/cn\/%e7%bb%98%e5%88%b6%e5%a4%9a%e6%9d%a1%e7%ba%bf-matplotlib\/","title":{"rendered":"\u5982\u4f55\u5728 matplotlib \u4e2d\u7ed8\u5236\u591a\u6761\u7ebf"},"content":{"rendered":"<p><\/p>\n<hr>\n<p><span style=\"color: #000000;\">\u60a8\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u8bed\u6cd5\u5728\u5355\u4e2a Matplotlib \u56fe\u4e2d\u663e\u793a\u591a\u6761\u7ebf\uff1a<\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong><span style=\"color: #008000;\">import<\/span> matplotlib. <span style=\"color: #3366ff;\">pyplot<\/span> <span style=\"color: #008000;\">as<\/span> plt\n\nplt. <span style=\"color: #3366ff;\">plot<\/span> (df[' <span style=\"color: #008000;\">column1<\/span> '])\nplt. <span style=\"color: #3366ff;\">plot<\/span> (df[' <span style=\"color: #008000;\">column2<\/span> '])\nplt. <span style=\"color: #3366ff;\">plot<\/span> (df[' <span style=\"color: #008000;\">column3<\/span> '])\n\n...\nplt. <span style=\"color: #3366ff;\">show<\/span> ()\n<\/strong><\/pre>\n<p><span style=\"color: #000000;\">\u672c\u6559\u7a0b\u63d0\u4f9b\u4e86\u5982\u4f55\u4f7f\u7528\u4ee5\u4e0b pandas DataFrame \u5728\u56fe\u8868\u4e2d\u7ed8\u5236\u591a\u6761\u7ebf\u7684\u51e0\u4e2a\u793a\u4f8b\uff1a<\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong><span style=\"color: #107d3f;\">import <span style=\"color: #000000;\">numpy<\/span> as <span style=\"color: #000000;\">np<\/span> \nimport<\/span> pandas <span style=\"color: #107d3f;\">as<\/span> pd\n\n<span style=\"color: #008080;\">#make this example reproducible\n<\/span>n.p. <span style=\"color: #3366ff;\">random<\/span> . <span style=\"color: #3366ff;\">seeds<\/span> (0)\n\n<span style=\"color: #008080;\">#create dataset\n<\/span>period = np. <span style=\"color: #3366ff;\">arange<\/span> (1, 101, 1)\nleads = np. <span style=\"color: #3366ff;\">random<\/span> . <span style=\"color: #3366ff;\">uniform<\/span> (1, 50, 100)\nprospects = np. <span style=\"color: #3366ff;\">random<\/span> . <span style=\"color: #3366ff;\">uniform<\/span> (40, 80, 100)\nsales = 60 + 2*period + np. <span style=\"color: #3366ff;\">random<\/span> . <span style=\"color: #3366ff;\">normal<\/span> (loc=0, scale=.5*period, size=100)\ndf = pd. <span style=\"color: #3366ff;\">DataFrame<\/span> ({' <span style=\"color: #008000;\">period<\/span> ': period, \n                   ' <span style=\"color: #008000;\">leads<\/span> ': leads,\n                   ' <span style=\"color: #008000;\">prospects<\/span> ': prospects,\n                   ' <span style=\"color: #008000;\">sales<\/span> ': sales})\n\n<span style=\"color: #008080;\">#view first 10 rows\n<\/span>df. <span style=\"color: #3366ff;\">head<\/span> (10)\n\n\n        period leads sales prospects\n0 1 27.891862 67.112661 62.563318\n1 2 36.044279 50.800319 62.920068\n2 3 30.535405 69.407761 64.278797\n3 4 27.699276 78.487542 67.124360\n4 5 21.759085 49.950126 68.754919\n5 6 32.648812 63.046293 77.788596\n6 7 22.441773 63.681677 77.322973\n7 8 44.696877 62.890076 76.350205\n8 9 48.219475 48.923265 72.485540\n9 10 19.788634 78.109960 84.221815\n<\/strong><\/pre>\n<h3><span style=\"color: #000000;\"><strong>\u5728 Matplotlib \u4e2d\u7ed8\u5236\u591a\u6761\u7ebf<\/strong><\/span><\/h3>\n<p><span style=\"color: #000000;\">\u4ee5\u4e0b\u4ee3\u7801\u663e\u793a\u4e86\u5982\u4f55\u5728 matplotlib \u4e2d\u7684\u5355\u4e2a\u56fe\u4e2d\u7ed8\u5236\u4e09\u4e2a\u5355\u72ec\u7684\u7ebf\uff1a<\/span> <\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong><span style=\"color: #107d3f;\"><span style=\"color: #000000;\"><span style=\"color: #008080;\"><span style=\"color: #000000;\"><span style=\"color: #008000;\">import<\/span> matplotlib. <span style=\"color: #3366ff;\">pyplot<\/span> <span style=\"color: #008000;\">as<\/span> plt<\/span>\n\n#plot individual lines<\/span>\nplt. <span style=\"color: #3366ff;\">plot<\/span> (df[' <span style=\"color: #008000;\">leads<\/span> '])<\/span>\n<span style=\"color: #000000;\">plt. <span style=\"color: #3366ff;\">plot<\/span> (df[' <span style=\"color: #008000;\">prospects<\/span> '])<\/span>\n<span style=\"color: #000000;\">plt. <span style=\"color: #3366ff;\">plot<\/span> (df[' <span style=\"color: #008000;\">sales<\/span> '])\n\n<\/span><span style=\"color: #008080;\">#displayplot<\/span>\n<span style=\"color: #000000;\">plt. <span style=\"color: #3366ff;\">show<\/span> ()<\/span>\n<\/span><\/strong><\/pre>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter wp-image-12965 \" src=\"https:\/\/statorials.org\/wp-content\/uploads\/2023\/08\/multmatplotlib1.png\" alt=\"Matplotlib \u56fe\u8868\u4e2d\u7684\u591a\u6761\u7ebf\" width=\"453\" height=\"391\" srcset=\"\" sizes=\"auto, \"><\/p>\n<h3><span style=\"color: #000000;\"><strong>\u5728 Matplotlib \u4e2d\u81ea\u5b9a\u4e49\u7ebf\u6761<\/strong><\/span><\/h3>\n<p><span style=\"color: #000000;\">\u60a8\u8fd8\u53ef\u4ee5\u81ea\u5b9a\u4e49\u6bcf\u6761\u7ebf\u7684\u989c\u8272\u3001\u6837\u5f0f\u548c\u5bbd\u5ea6\uff1a<\/span> <\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong><span style=\"color: #107d3f;\"><span style=\"color: #000000;\"><span style=\"color: #008080;\">#plot individual lines with custom colors, styles, and widths<\/span>\nplt. <span style=\"color: #3366ff;\">plot<\/span> (df[' <span style=\"color: #008000;\">leads<\/span> '], color=' <span style=\"color: #008000;\">green<\/span> ')\nplt. <span style=\"color: #3366ff;\">plot<\/span> (df[' <span style=\"color: #008000;\">prospects<\/span> '], color=' <span style=\"color: #008000;\">steelblue<\/span> ', linewidth= <span style=\"color: #008000;\">4<\/span> )\nplt. <span style=\"color: #3366ff;\">plot<\/span> (df[' <span style=\"color: #008000;\">sales<\/span> '], color=' <span style=\"color: #008000;\">purple<\/span> ', linestyle=' <span style=\"color: #008000;\">dashed<\/span> ')\n\n<\/span><span style=\"color: #008080;\">#displayplot<\/span>\n<span style=\"color: #000000;\">plt. <span style=\"color: #3366ff;\">show<\/span> ()<\/span><\/span><\/strong> <\/pre>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter wp-image-12966 \" src=\"https:\/\/statorials.org\/wp-content\/uploads\/2023\/08\/multmatplotlib2.png\" alt=\"\u5728 Matplotlib \u4e2d\u81ea\u5b9a\u4e49\u591a\u884c\" width=\"438\" height=\"368\" srcset=\"\" sizes=\"auto, \"><\/p>\n<h3><span style=\"color: #000000;\"><strong>\u5728 Matplotlib \u4e2d\u6dfb\u52a0\u56fe\u4f8b<\/strong><\/span><\/h3>\n<p><span style=\"color: #000000;\">\u60a8\u8fd8\u53ef\u4ee5\u6dfb\u52a0\u6807\u9898\u6765\u533a\u5206\u7ebf\u6761\uff1a<\/span> <\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong><span style=\"color: #107d3f;\"><span style=\"color: #000000;\"><span style=\"color: #008080;\">#plot individual lines with custom colors, styles, and widths<\/span>\nplt. <span style=\"color: #3366ff;\">plot<\/span> (df[' <span style=\"color: #008000;\">leads<\/span> '], label=' <span style=\"color: #008000;\">Leads<\/span> ', color=' <span style=\"color: #008000;\">green<\/span> ')\nplt. <span style=\"color: #3366ff;\">plot<\/span> (df[' <span style=\"color: #008000;\">prospects<\/span> '], label=' <span style=\"color: #008000;\">Prospects<\/span> ', color=' <span style=\"color: #008000;\">steelblue<\/span> ', linewidth= <span style=\"color: #008000;\">4<\/span> )\nplt. <span style=\"color: #3366ff;\">plot<\/span> (df[' <span style=\"color: #008000;\">sales<\/span> '], label=' <span style=\"color: #008000;\">Sales<\/span> ', color=' <span style=\"color: #008000;\">purple<\/span> ', linestyle=' <span style=\"color: #008000;\">dashed<\/span> ')\n\n<span style=\"color: #008080;\">#add legend\n<span style=\"color: #000000;\">plt. <span style=\"color: #3366ff;\">legend<\/span> ()<\/span>\n\n<\/span><\/span><span style=\"color: #008080;\">#displayplot<\/span>\n<span style=\"color: #000000;\">plt. <span style=\"color: #3366ff;\">show<\/span> ()<\/span><\/span><\/strong> <\/pre>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter wp-image-12967 \" src=\"https:\/\/statorials.org\/wp-content\/uploads\/2023\/08\/multmatplotlib3.png\" alt=\"\u5728 Matplotlib \u4e2d\u4e3a\u591a\u884c\u6dfb\u52a0\u56fe\u4f8b\" width=\"449\" height=\"379\" srcset=\"\" sizes=\"auto, \"><\/p>\n<h3><span style=\"color: #000000;\"><strong>\u5728 Matplotlib \u4e2d\u6dfb\u52a0\u8f74\u6807\u7b7e\u548c\u6807\u9898<\/strong><\/span><\/h3>\n<p><span style=\"color: #000000;\">\u6700\u540e\uff0c\u60a8\u53ef\u4ee5\u6dfb\u52a0\u8f74\u6807\u7b7e\u548c\u6807\u9898\u6765\u5b8c\u6210\u7ed8\u56fe\uff1a<\/span> <\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong><span style=\"color: #107d3f;\"><span style=\"color: #000000;\"><span style=\"color: #008080;\">#plot individual lines with custom colors, styles, and widths<\/span>\nplt. <span style=\"color: #3366ff;\">plot<\/span> (df[' <span style=\"color: #008000;\">leads<\/span> '], label=' <span style=\"color: #008000;\">Leads<\/span> ', color=' <span style=\"color: #008000;\">green<\/span> ')\nplt. <span style=\"color: #3366ff;\">plot<\/span> (df[' <span style=\"color: #008000;\">prospects<\/span> '], label=' <span style=\"color: #008000;\">Prospects<\/span> ', color=' <span style=\"color: #008000;\">steelblue<\/span> ', linewidth= <span style=\"color: #008000;\">4<\/span> )\nplt. <span style=\"color: #3366ff;\">plot<\/span> (df[' <span style=\"color: #008000;\">sales<\/span> '], label=' <span style=\"color: #008000;\">Sales<\/span> ', color=' <span style=\"color: #008000;\">purple<\/span> ', linestyle=' <span style=\"color: #008000;\">dashed<\/span> ')\n\n<span style=\"color: #008080;\">#add legend\n<span style=\"color: #000000;\">plt.<\/span> <span style=\"color: #3366ff;\">legend<\/span> <span style=\"color: #000000;\">()<\/span>\n\n#add axis labels and a title\n<span style=\"color: #000000;\">plt. <span style=\"color: #3366ff;\">ylabel<\/span> (' <span style=\"color: #008000;\">Sales<\/span> ', fontsize= <span style=\"color: #008000;\">14<\/span> )<\/span>\n<span style=\"color: #000000;\">plt. <span style=\"color: #3366ff;\">xlabel<\/span> (' <span style=\"color: #008000;\">Period<\/span> ', fontsize= <span style=\"color: #008000;\">14<\/span> )<\/span>\n<span style=\"color: #000000;\">plt. <span style=\"color: #3366ff;\">title<\/span> (' <span style=\"color: #008000;\">Company Metrics<\/span> ', fontsize= <span style=\"color: #008000;\">16<\/span> )<\/span>\n\n<\/span><\/span><span style=\"color: #008080;\">#displayplot<\/span>\n<span style=\"color: #000000;\">plt. <span style=\"color: #3366ff;\">show<\/span> ()<\/span><\/span><\/strong> <\/pre>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter wp-image-12968 \" src=\"https:\/\/statorials.org\/wp-content\/uploads\/2023\/08\/multmatplotlib4.png\" alt=\"\" width=\"460\" height=\"395\" 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\">\u5728\u6b64\u5904<\/a>\u627e\u5230\u66f4\u591a Matplotlib \u6559\u7a0b\u3002<\/em><\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u60a8\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u8bed\u6cd5\u5728\u5355\u4e2a Matplotlib \u56fe\u4e2d\u663e\u793a\u591a\u6761\u7ebf\uff1a import matplotlib. pyp [&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-1329","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>\u5982\u4f55\u5728 Matplotlib \u4e2d\u7ed8\u5236\u591a\u6761\u7ebf - Statorials<\/title>\n<meta name=\"description\" content=\"\u672c\u6559\u7a0b\u901a\u8fc7\u51e0\u4e2a\u793a\u4f8b\u89e3\u91ca\u4e86\u5982\u4f55\u5728 Matplotlib \u4e2d\u7ed8\u5236\u548c\u81ea\u5b9a\u4e49\u591a\u6761\u7ebf\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\/\u7ed8\u5236\u591a\u6761\u7ebf-matplotlib\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u5982\u4f55\u5728 Matplotlib \u4e2d\u7ed8\u5236\u591a\u6761\u7ebf - Statorials\" \/>\n<meta property=\"og:description\" content=\"\u672c\u6559\u7a0b\u901a\u8fc7\u51e0\u4e2a\u793a\u4f8b\u89e3\u91ca\u4e86\u5982\u4f55\u5728 Matplotlib \u4e2d\u7ed8\u5236\u548c\u81ea\u5b9a\u4e49\u591a\u6761\u7ebf\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/statorials.org\/cn\/\u7ed8\u5236\u591a\u6761\u7ebf-matplotlib\/\" \/>\n<meta property=\"og:site_name\" content=\"Statorials\" \/>\n<meta property=\"article:published_time\" content=\"2023-07-26T20:52:11+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/statorials.org\/wp-content\/uploads\/2023\/08\/multmatplotlib1.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=\"2 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/statorials.org\/cn\/%e7%bb%98%e5%88%b6%e5%a4%9a%e6%9d%a1%e7%ba%bf-matplotlib\/\",\"url\":\"https:\/\/statorials.org\/cn\/%e7%bb%98%e5%88%b6%e5%a4%9a%e6%9d%a1%e7%ba%bf-matplotlib\/\",\"name\":\"\u5982\u4f55\u5728 Matplotlib \u4e2d\u7ed8\u5236\u591a\u6761\u7ebf - Statorials\",\"isPartOf\":{\"@id\":\"https:\/\/statorials.org\/cn\/#website\"},\"datePublished\":\"2023-07-26T20:52:11+00:00\",\"dateModified\":\"2023-07-26T20:52:11+00:00\",\"author\":{\"@id\":\"https:\/\/statorials.org\/cn\/#\/schema\/person\/124e4e5b7c9f8dc0f1f95cc8c1db3261\"},\"description\":\"\u672c\u6559\u7a0b\u901a\u8fc7\u51e0\u4e2a\u793a\u4f8b\u89e3\u91ca\u4e86\u5982\u4f55\u5728 Matplotlib \u4e2d\u7ed8\u5236\u548c\u81ea\u5b9a\u4e49\u591a\u6761\u7ebf\u3002\",\"breadcrumb\":{\"@id\":\"https:\/\/statorials.org\/cn\/%e7%bb%98%e5%88%b6%e5%a4%9a%e6%9d%a1%e7%ba%bf-matplotlib\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/statorials.org\/cn\/%e7%bb%98%e5%88%b6%e5%a4%9a%e6%9d%a1%e7%ba%bf-matplotlib\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/statorials.org\/cn\/%e7%bb%98%e5%88%b6%e5%a4%9a%e6%9d%a1%e7%ba%bf-matplotlib\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u5bb6\",\"item\":\"https:\/\/statorials.org\/cn\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u5982\u4f55\u5728 matplotlib \u4e2d\u7ed8\u5236\u591a\u6761\u7ebf\"}]},{\"@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":"\u5982\u4f55\u5728 Matplotlib \u4e2d\u7ed8\u5236\u591a\u6761\u7ebf - Statorials","description":"\u672c\u6559\u7a0b\u901a\u8fc7\u51e0\u4e2a\u793a\u4f8b\u89e3\u91ca\u4e86\u5982\u4f55\u5728 Matplotlib \u4e2d\u7ed8\u5236\u548c\u81ea\u5b9a\u4e49\u591a\u6761\u7ebf\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\/\u7ed8\u5236\u591a\u6761\u7ebf-matplotlib\/","og_locale":"zh_CN","og_type":"article","og_title":"\u5982\u4f55\u5728 Matplotlib \u4e2d\u7ed8\u5236\u591a\u6761\u7ebf - Statorials","og_description":"\u672c\u6559\u7a0b\u901a\u8fc7\u51e0\u4e2a\u793a\u4f8b\u89e3\u91ca\u4e86\u5982\u4f55\u5728 Matplotlib \u4e2d\u7ed8\u5236\u548c\u81ea\u5b9a\u4e49\u591a\u6761\u7ebf\u3002","og_url":"https:\/\/statorials.org\/cn\/\u7ed8\u5236\u591a\u6761\u7ebf-matplotlib\/","og_site_name":"Statorials","article_published_time":"2023-07-26T20:52:11+00:00","og_image":[{"url":"https:\/\/statorials.org\/wp-content\/uploads\/2023\/08\/multmatplotlib1.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":"2 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/statorials.org\/cn\/%e7%bb%98%e5%88%b6%e5%a4%9a%e6%9d%a1%e7%ba%bf-matplotlib\/","url":"https:\/\/statorials.org\/cn\/%e7%bb%98%e5%88%b6%e5%a4%9a%e6%9d%a1%e7%ba%bf-matplotlib\/","name":"\u5982\u4f55\u5728 Matplotlib \u4e2d\u7ed8\u5236\u591a\u6761\u7ebf - Statorials","isPartOf":{"@id":"https:\/\/statorials.org\/cn\/#website"},"datePublished":"2023-07-26T20:52:11+00:00","dateModified":"2023-07-26T20:52:11+00:00","author":{"@id":"https:\/\/statorials.org\/cn\/#\/schema\/person\/124e4e5b7c9f8dc0f1f95cc8c1db3261"},"description":"\u672c\u6559\u7a0b\u901a\u8fc7\u51e0\u4e2a\u793a\u4f8b\u89e3\u91ca\u4e86\u5982\u4f55\u5728 Matplotlib \u4e2d\u7ed8\u5236\u548c\u81ea\u5b9a\u4e49\u591a\u6761\u7ebf\u3002","breadcrumb":{"@id":"https:\/\/statorials.org\/cn\/%e7%bb%98%e5%88%b6%e5%a4%9a%e6%9d%a1%e7%ba%bf-matplotlib\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/statorials.org\/cn\/%e7%bb%98%e5%88%b6%e5%a4%9a%e6%9d%a1%e7%ba%bf-matplotlib\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/statorials.org\/cn\/%e7%bb%98%e5%88%b6%e5%a4%9a%e6%9d%a1%e7%ba%bf-matplotlib\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u5bb6","item":"https:\/\/statorials.org\/cn\/"},{"@type":"ListItem","position":2,"name":"\u5982\u4f55\u5728 matplotlib \u4e2d\u7ed8\u5236\u591a\u6761\u7ebf"}]},{"@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\/1329","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=1329"}],"version-history":[{"count":0,"href":"https:\/\/statorials.org\/cn\/wp-json\/wp\/v2\/posts\/1329\/revisions"}],"wp:attachment":[{"href":"https:\/\/statorials.org\/cn\/wp-json\/wp\/v2\/media?parent=1329"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/statorials.org\/cn\/wp-json\/wp\/v2\/categories?post=1329"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/statorials.org\/cn\/wp-json\/wp\/v2\/tags?post=1329"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}