{"id":5509,"date":"2020-05-22T17:22:14","date_gmt":"2020-05-22T09:22:14","guid":{"rendered":"https:\/\/vip.fxxkpython.com\/?p=5509"},"modified":"2020-05-22T17:22:21","modified_gmt":"2020-05-22T09:22:21","slug":"python-%e6%95%b0%e6%8d%ae%e5%8f%af%e8%a7%86%e5%8c%96-11-%e6%95%b0%e6%8d%ae%e5%8f%af%e8%a7%86%e5%8c%96%e5%ba%93-pyecharts-%e7%9a%84%e4%bd%bf%e7%94%a8","status":"publish","type":"post","link":"https:\/\/vip.fxxkpython.com\/?p=5509","title":{"rendered":"Python \u6570\u636e\u53ef\u89c6\u5316 11 | \u6570\u636e\u53ef\u89c6\u5316\u5e93 pyecharts \u7684\u4f7f\u7528"},"content":{"rendered":"\n<p>\u518d\u7ed9\u4f60\u4ecb\u7ecd\u6700\u540e\u4e00\u4e2a\u662f Python \u7684\u6570\u636e\u53ef\u89c6\u5316\u5e93\uff0c\u57fa\u4e8e\u767e\u5ea6\u7684 echart \u5b9e\u73b0\u7684 pyechart\uff0c\u8fd9\u4e2a\u5e93\u5bf9\u4e2d\u6587\u6570\u636e\u7684\u5c55\u793a\u76f8\u5bf9\u6765\u8bf4\u6bd4\u8f83\u53cb\u597d\uff0c\u4f60\u53ef\u4ee5\u901a\u8fc7\u5b83\u751f\u6210\u5e38\u7528\u7684\u56fe\u5f62\uff0c\u63a5\u4e0b\u6765\u6211\u7ed9\u4f60\u4ecb\u7ecd\u4e00\u4e0b\u5e38\u7528\u7684\u56fe\u5f62\u7684\u7ed8\u5236\u65b9\u6cd5\uff0c\u4ece\u4e0b\u7bc7\u5f00\u59cb\u5c31\u8fdb\u5165\u771f\u5b9e\u6570\u636e\u53ef\u89c6\u5316\u7684\u9879\u76ee\uff0c\u6839\u636e\u524d\u9762\u4ecb\u7ecd\u7684\u53ef\u89c6\u5316\u5e93\u548c\u6570\u636e\u5173\u8054\u8d77\u6765\u3002<\/p>\n\n\n\n<h2>\u5b89\u88c5 pyecharts<\/h2>\n\n\n\n<p>pyecharts \u5df2\u7ecf\u66f4\u65b0\u5230\u6700\u65b0\u7248\u672c v1 ,  \u5bf9\u4e4b\u524d\u7684\u7248\u672c\u4e0d\u7ef4\u62a4\u4e86\uff0c\u6240\u4ee5\u8981\u5b89\u88c5\u6700\u65b0\u7684\u7248\u672c\u3002<\/p>\n\n\n\n<h3>pip \u5b89\u88c5<\/h3>\n\n\n\n<blockquote class=\"wp-block-quote\"><p>pip install pyecharts -U<\/p><\/blockquote>\n\n\n\n<h3 id=\"mce_7\">\u6e90\u7801 \u5b89\u88c5<\/h3>\n\n\n\n<blockquote class=\"wp-block-quote\"><p> git clone https:\/\/github.com\/pyecharts\/pyecharts.git <\/p><p> cd pyecharts<\/p><p>pip install -r requirements.txt <\/p><p> python setup.py install<\/p><\/blockquote>\n\n\n\n<p>\u5b89\u88c5\u5b8c\u6210\u4e4b\u540e\u5bfc\u5165\u76f8\u5173\u7684\u5e93\uff1a<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img decoding=\"async\" width=\"573\" height=\"91\" src=\"https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/05\/Screenshot-from-2020-05-22-16-53-56.png\" alt=\"\" class=\"wp-image-5511\" srcset=\"https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/05\/Screenshot-from-2020-05-22-16-53-56.png 573w, https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/05\/Screenshot-from-2020-05-22-16-53-56-300x48.png 300w\" sizes=\"(max-width: 573px) 100vw, 573px\" \/><\/figure><\/div>\n\n\n\n<h2>\u6563\u70b9\u56fe<\/h2>\n\n\n\n<p>\u4f7f\u7528 Scatter \u5bf9\u8c61\uff0c\u5728\u91cc\u9762\u6dfb\u52a0\u76f8\u5173\u7684\u6570\u636e\uff0c\u8bbe\u7f6e\u76f8\u5173\u7684\u5c5e\u6027\uff0c\u6700\u540e\u4f7f\u7528 notebook \u7684\u65b9\u5f0f\u8f93\u51fa\uff1a<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img decoding=\"async\" width=\"891\" height=\"1024\" src=\"https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/05\/Screenshot-from-2020-05-22-16-55-07-891x1024.png\" alt=\"\" class=\"wp-image-5512\" srcset=\"https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/05\/Screenshot-from-2020-05-22-16-55-07-891x1024.png 891w, https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/05\/Screenshot-from-2020-05-22-16-55-07-261x300.png 261w, https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/05\/Screenshot-from-2020-05-22-16-55-07-768x882.png 768w, https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/05\/Screenshot-from-2020-05-22-16-55-07-769x883.png 769w, https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/05\/Screenshot-from-2020-05-22-16-55-07.png 901w\" sizes=\"(max-width: 891px) 100vw, 891px\" \/><\/figure><\/div>\n\n\n\n<h2>\u6298\u7ebf\u56fe<\/h2>\n\n\n\n<p>\u6298\u7ebf\u56fe\u53ef\u4ee5\u4f7f\u7528 Line \u5bf9\u8c61\uff1a<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img decoding=\"async\" width=\"892\" height=\"716\" src=\"https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/05\/Screenshot-from-2020-05-22-16-59-53.png\" alt=\"\" class=\"wp-image-5513\" srcset=\"https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/05\/Screenshot-from-2020-05-22-16-59-53.png 892w, https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/05\/Screenshot-from-2020-05-22-16-59-53-300x241.png 300w, https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/05\/Screenshot-from-2020-05-22-16-59-53-768x616.png 768w, https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/05\/Screenshot-from-2020-05-22-16-59-53-769x617.png 769w\" sizes=\"(max-width: 892px) 100vw, 892px\" \/><\/figure><\/div>\n\n\n\n<h2>\u76f4\u65b9\u56fe<\/h2>\n\n\n\n<p>\u4f7f\u7528 <div style=\"text-align:center;border:1px dashed #FF9A9A;padding:8px;margin:10px auto;color:#FF6666;\">\u672c\u6587\u9690\u85cf\u5185\u5bb9 <a href=\"https:\/\/vip.fxxkpython.com\/wp-login.php?redirect_to=https%3A%2F%2Fvip.fxxkpython.com%2F%3Fp%3D5509\">\u767b\u9646<\/a> \u540e\u624d\u53ef\u4ee5\u6d4f\u89c8<\/div>\u4e0b\u4e00\u7bc7\u5f00\u59cb\uff0c\u5229\u7528\u524d\u9762\u4f60\u6240\u4e86\u89e3\u7684\u5185\u5bb9\uff0c\u8fdb\u5165\u53ef\u89c6\u5316\u4f60\u7684\u771f\u5b9e\u6570\u636e\u5206\u6790\u4e00\u6ce2\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u518d\u7ed9\u4f60\u4ecb\u7ecd\u6700\u540e\u4e00\u4e2a\u662f Python \u7684\u6570\u636e\u53ef\u89c6\u5316\u5e93\uff0c\u57fa\u4e8e\u767e\u5ea6\u7684 echart \u5b9e\u73b0\u7684 pyechart\uff0c\u8fd9\u4e2a\u5e93\u5bf9\u4e2d\u6587\u6570\u636e\u7684\u5c55\u793a\u76f8\u5bf9\u6765\u8bf4\u6bd4\u8f83\u53cb\u597d\uff0c\u4f60\u53ef\u4ee5\u901a\u8fc7\u5b83\u751f\u6210\u5e38\u7528\u7684\u56fe\u5f62\uff0c\u63a5\u4e0b\u6765\u6211\u7ed9\u4f60\u4ecb\u7ecd\u4e00\u4e0b\u5e38\u7528\u7684\u56fe\u5f62\u7684\u7ed8\u5236\u65b9\u6cd5\uff0c\u4ece\u4e0b\u7bc7\u5f00\u59cb\u5c31\u8fdb\u5165\u771f\u5b9e\u6570\u636e\u53ef\u89c6\u5316\u7684\u9879\u76ee&hellip;<\/p>\n","protected":false},"author":1,"featured_media":5517,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[393],"tags":[447,19,417],"_links":{"self":[{"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=\/wp\/v2\/posts\/5509"}],"collection":[{"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5509"}],"version-history":[{"count":1,"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=\/wp\/v2\/posts\/5509\/revisions"}],"predecessor-version":[{"id":5518,"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=\/wp\/v2\/posts\/5509\/revisions\/5518"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=\/wp\/v2\/media\/5517"}],"wp:attachment":[{"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5509"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5509"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5509"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}