{"id":933201,"date":"2024-12-26T18:11:59","date_gmt":"2024-12-26T10:11:59","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/933201.html"},"modified":"2024-12-26T18:12:01","modified_gmt":"2024-12-26T10:12:01","slug":"python%e5%a6%82%e4%bd%95%e4%bd%bf%e7%94%a8pyecharts","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/933201.html","title":{"rendered":"python\u5982\u4f55\u4f7f\u7528pyecharts"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25070715\/9542ddcb-355b-4d71-ae13-424d92bb19a3.webp\" alt=\"python\u5982\u4f55\u4f7f\u7528pyecharts\" \/><\/p>\n<p><p> <strong>Python\u4f7f\u7528pyecharts\u4e3b\u8981\u5305\u62ec\u4ee5\u4e0b\u51e0\u4e2a\u6b65\u9aa4\uff1a\u5b89\u88c5pyecharts\u5e93\u3001\u5bfc\u5165\u5e93\u5e76\u9009\u62e9\u5408\u9002\u7684\u56fe\u8868\u7c7b\u578b\u3001\u51c6\u5907\u6570\u636e\u5e76\u751f\u6210\u56fe\u8868\u3001\u901a\u8fc7\u6e32\u67d3\u65b9\u6cd5\u8f93\u51fa\u56fe\u8868\u3002<\/strong>\u5176\u4e2d\uff0c\u5b89\u88c5pyecharts\u5e93\u662f\u6700\u57fa\u7840\u7684\u4e00\u6b65\uff0c\u53ef\u4ee5\u901a\u8fc7pip\u547d\u4ee4\u8f7b\u677e\u5b9e\u73b0\uff1b\u9009\u62e9\u5408\u9002\u7684\u56fe\u8868\u7c7b\u578b\u4e0e\u51c6\u5907\u6570\u636e\u76f4\u63a5\u5173\u7cfb\u5230\u6700\u7ec8\u56fe\u8868\u7684\u5448\u73b0\u6548\u679c\uff1b\u901a\u8fc7\u6e32\u67d3\u65b9\u6cd5\uff0c\u53ef\u4ee5\u5c06\u56fe\u8868\u4fdd\u5b58\u4e3aHTML\u6587\u4ef6\u6216\u76f4\u63a5\u5728Jupyter Notebook\u4e2d\u5c55\u793a\u3002\u4e0b\u9762\u8be6\u7ec6\u4ecb\u7ecd\u5176\u4e2d\u7684\u4e00\u6b65\uff0c\u5373\u9009\u62e9\u5408\u9002\u7684\u56fe\u8868\u7c7b\u578b\u3002<\/p>\n<\/p>\n<p><p><strong>\u9009\u62e9\u5408\u9002\u7684\u56fe\u8868\u7c7b\u578b<\/strong>\u662f\u4f7f\u7528pyecharts\u8fdb\u884c\u6570\u636e\u53ef\u89c6\u5316\u7684\u5173\u952e\u6b65\u9aa4\u4e4b\u4e00\u3002Pyecharts\u63d0\u4f9b\u4e86\u4e30\u5bcc\u7684\u56fe\u8868\u7c7b\u578b\uff0c\u5305\u62ec\u6298\u7ebf\u56fe\u3001\u67f1\u72b6\u56fe\u3001\u997c\u56fe\u3001\u5730\u56fe\u3001\u6563\u70b9\u56fe\u7b49\uff0c\u6bcf\u79cd\u56fe\u8868\u7c7b\u578b\u9002\u7528\u4e8e\u4e0d\u540c\u7684\u6570\u636e\u5c55\u793a\u9700\u6c42\u3002\u4f8b\u5982\uff0c\u6298\u7ebf\u56fe\u9002\u5408\u5c55\u793a\u6570\u636e\u7684\u53d8\u5316\u8d8b\u52bf\uff0c\u67f1\u72b6\u56fe\u9002\u5408\u6bd4\u8f83\u4e0d\u540c\u7c7b\u522b\u7684\u6570\u636e\u91cf\uff0c\u997c\u56fe\u5219\u9002\u5408\u5c55\u793a\u6570\u636e\u7684\u7ec4\u6210\u6bd4\u4f8b\u3002\u5728\u9009\u62e9\u56fe\u8868\u7c7b\u578b\u65f6\uff0c\u9700\u8981\u6839\u636e\u6570\u636e\u7684\u7279\u6027\u548c\u5c55\u793a\u76ee\u7684\u6765\u8fdb\u884c\u5408\u7406\u9009\u62e9\uff0c\u4ee5\u4fbf\u6e05\u6670\u5730\u4f20\u8fbe\u4fe1\u606f\u3002\u63a5\u4e0b\u6765\uff0c\u6211\u4eec\u5c06\u6df1\u5165\u63a2\u8ba8Python\u4f7f\u7528pyecharts\u7684\u5404\u4e2a\u65b9\u9762\u3002<\/p>\n<\/p>\n<p><p>\u4e00\u3001\u5b89\u88c5\u4e0e\u914d\u7f6e<\/p>\n<\/p>\n<p><p>\u5728\u4f7f\u7528pyecharts\u4e4b\u524d\uff0c\u9996\u5148\u9700\u8981\u786e\u4fddPython\u73af\u5883\u4e2d\u5df2\u5b89\u88c5pyecharts\u5e93\u3002\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u547d\u4ee4\u6765\u5b89\u88c5\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pip install pyecharts<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u4f60\u53ef\u4ee5\u901a\u8fc7\u5bfc\u5165pyecharts\u6765\u9a8c\u8bc1\u5b89\u88c5\u662f\u5426\u6210\u529f\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">from pyecharts.charts import Bar<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u6b64\u5916\uff0c\u5982\u679c\u4f60\u5e0c\u671b\u5728Jupyter Notebook\u4e2d\u76f4\u63a5\u5c55\u793a\u56fe\u8868\uff0c\u8fd8\u9700\u8981\u5b89\u88c5<code>notebook<\/code>\u548c<code>jupyter_echarts_pypkg<\/code>\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pip install notebook<\/p>\n<p>pip install jupyter_echarts_pypkg<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u4e8c\u3001\u521b\u5efa\u57fa\u672c\u56fe\u8868<\/p>\n<\/p>\n<ol>\n<li><strong>\u6298\u7ebf\u56fe<\/strong><\/li>\n<\/ol>\n<p><p>\u6298\u7ebf\u56fe\u901a\u5e38\u7528\u4e8e\u5c55\u793a\u6570\u636e\u968f\u65f6\u95f4\u7684\u53d8\u5316\u8d8b\u52bf\u3002\u4f7f\u7528pyecharts\u521b\u5efa\u6298\u7ebf\u56fe\u975e\u5e38\u7b80\u5355\u3002\u9996\u5148\u5bfc\u5165<code>Line<\/code>\u7c7b\uff0c\u7136\u540e\u901a\u8fc7<code>add_xaxis<\/code>\u548c<code>add_yaxis<\/code>\u65b9\u6cd5\u6dfb\u52a0\u6570\u636e\uff0c\u6700\u540e\u901a\u8fc7<code>render<\/code>\u65b9\u6cd5\u751f\u6210\u56fe\u8868\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">from pyecharts.charts import Line<\/p>\n<p>from pyecharts import options as opts<\/p>\n<p>line = Line()<\/p>\n<p>line.add_xaxis([&quot;Jan&quot;, &quot;Feb&quot;, &quot;Mar&quot;, &quot;Apr&quot;, &quot;May&quot;, &quot;Jun&quot;])<\/p>\n<p>line.add_yaxis(&quot;Sales&quot;, [150, 200, 250, 300, 350, 400])<\/p>\n<p>line.set_global_opts(title_opts=opts.TitleOpts(title=&quot;Monthly Sales&quot;))<\/p>\n<p>line.render(&quot;line_chart.html&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<ol start=\"2\">\n<li><strong>\u67f1\u72b6\u56fe<\/strong><\/li>\n<\/ol>\n<p><p>\u67f1\u72b6\u56fe\u9002\u5408\u7528\u4e8e\u4e0d\u540c\u7c7b\u522b\u6570\u636e\u7684\u6bd4\u8f83\u3002\u5728pyecharts\u4e2d\uff0c\u521b\u5efa\u67f1\u72b6\u56fe\u7684\u6b65\u9aa4\u4e0e\u6298\u7ebf\u56fe\u7c7b\u4f3c\uff0c\u4f7f\u7528<code>Bar<\/code>\u7c7b\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">from pyecharts.charts import Bar<\/p>\n<p>bar = Bar()<\/p>\n<p>bar.add_xaxis([&quot;Product A&quot;, &quot;Product B&quot;, &quot;Product C&quot;])<\/p>\n<p>bar.add_yaxis(&quot;Sales&quot;, [100, 200, 150])<\/p>\n<p>bar.set_global_opts(title_opts=opts.TitleOpts(title=&quot;Product Sales Comparison&quot;))<\/p>\n<p>bar.render(&quot;bar_chart.html&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u4e09\u3001\u4e30\u5bcc\u56fe\u8868\u6837\u5f0f<\/p>\n<\/p>\n<ol>\n<li><strong>\u6dfb\u52a0\u56fe\u4f8b\u4e0e\u6807\u7b7e<\/strong><\/li>\n<\/ol>\n<p><p>\u56fe\u4f8b\u548c\u6807\u7b7e\u53ef\u4ee5\u5e2e\u52a9\u7528\u6237\u66f4\u597d\u5730\u7406\u89e3\u56fe\u8868\u4e2d\u7684\u6570\u636e\u3002\u5728pyecharts\u4e2d\uff0c\u53ef\u4ee5\u901a\u8fc7<code>set_series_opts<\/code>\u65b9\u6cd5\u4e3a\u56fe\u8868\u6dfb\u52a0\u6807\u7b7e\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">line.set_series_opts(label_opts=opts.LabelOpts(is_show=True))<\/p>\n<p><\/code><\/pre>\n<\/p>\n<ol start=\"2\">\n<li><strong>\u8c03\u6574\u989c\u8272\u4e0e\u6837\u5f0f<\/strong><\/li>\n<\/ol>\n<p><p>pyecharts\u5141\u8bb8\u7528\u6237\u81ea\u5b9a\u4e49\u56fe\u8868\u7684\u989c\u8272\u548c\u6837\u5f0f\uff0c\u4ee5\u4fbf\u4e0e\u62a5\u544a\u6216\u7f51\u7ad9\u7684\u6574\u4f53\u98ce\u683c\u4fdd\u6301\u4e00\u81f4\u3002\u53ef\u4ee5\u901a\u8fc7<code>set_global_opts<\/code>\u65b9\u6cd5\u8bbe\u7f6e\u989c\u8272\u4e3b\u9898\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">line.set_colors([&quot;#5793f3&quot;, &quot;#d14a61&quot;, &quot;#675bba&quot;])<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u56db\u3001\u4ea4\u4e92\u4e0e\u52a8\u753b\u6548\u679c<\/p>\n<\/p>\n<p><p>pyecharts\u4e0d\u4ec5\u652f\u6301\u9759\u6001\u56fe\u8868\uff0c\u8fd8\u652f\u6301\u4e30\u5bcc\u7684\u4ea4\u4e92\u4e0e\u52a8\u753b\u6548\u679c\u3002\u901a\u8fc7\u8bbe\u7f6e<code>toolbox_opts<\/code>\u548c<code>tooltip_opts<\/code>\uff0c\u53ef\u4ee5\u4e3a\u7528\u6237\u63d0\u4f9b\u66f4\u52a0\u53cb\u597d\u7684\u4ea4\u4e92\u4f53\u9a8c\u3002<\/p>\n<\/p>\n<ol>\n<li><strong>\u5de5\u5177\u7bb1<\/strong><\/li>\n<\/ol>\n<p><p>\u5de5\u5177\u7bb1\u53ef\u4ee5\u4e3a\u7528\u6237\u63d0\u4f9b\u4e0b\u8f7d\u3001\u7f29\u653e\u7b49\u529f\u80fd\uff0c\u63d0\u5347\u7528\u6237\u4f53\u9a8c\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">line.set_global_opts(<\/p>\n<p>    toolbox_opts=opts.ToolboxOpts(is_show=True)<\/p>\n<p>)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<ol start=\"2\">\n<li><strong>\u63d0\u793a\u6846<\/strong><\/li>\n<\/ol>\n<p><p>\u63d0\u793a\u6846\u7528\u4e8e\u5c55\u793a\u6570\u636e\u70b9\u7684\u8be6\u7ec6\u4fe1\u606f\uff0c\u53ef\u4ee5\u901a\u8fc7<code>tooltip_opts<\/code>\u8fdb\u884c\u5b9a\u5236\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">line.set_series_opts(<\/p>\n<p>    tooltip_opts=opts.TooltipOpts(trigger=&quot;axis&quot;, axis_pointer_type=&quot;cross&quot;)<\/p>\n<p>)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u4e94\u3001\u8f93\u51fa\u4e0e\u5c55\u793a<\/p>\n<\/p>\n<ol>\n<li><strong>\u8f93\u51fa\u4e3aHTML\u6587\u4ef6<\/strong><\/li>\n<\/ol>\n<p><p>\u901a\u8fc7<code>render<\/code>\u65b9\u6cd5\uff0cpyecharts\u53ef\u4ee5\u5c06\u751f\u6210\u7684\u56fe\u8868\u5bfc\u51fa\u4e3aHTML\u6587\u4ef6\uff0c\u4fbf\u4e8e\u5206\u4eab\u4e0e\u5c55\u793a\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">line.render(&quot;line_chart.html&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<ol start=\"2\">\n<li><strong>\u5728Jupyter Notebook\u4e2d\u5c55\u793a<\/strong><\/li>\n<\/ol>\n<p><p>\u5982\u679c\u4f60\u5728Jupyter Notebook\u4e2d\u5de5\u4f5c\uff0c\u53ef\u4ee5\u76f4\u63a5\u8c03\u7528<code>render_notebook<\/code>\u65b9\u6cd5\u5c06\u56fe\u8868\u5d4c\u5165\u5230\u7b14\u8bb0\u672c\u4e2d\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">line.render_notebook()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u516d\u3001\u8fdb\u9636\u5e94\u7528<\/p>\n<\/p>\n<ol>\n<li><strong>\u5730\u56fe\u53ef\u89c6\u5316<\/strong><\/li>\n<\/ol>\n<p><p>pyecharts\u652f\u6301\u591a\u79cd\u5730\u7406\u6570\u636e\u53ef\u89c6\u5316\u5de5\u5177\uff0c\u5982\u4e2d\u56fd\u5730\u56fe\u548c\u4e16\u754c\u5730\u56fe\uff0c\u53ef\u4ee5\u7528\u4e8e\u5730\u7406\u4fe1\u606f\u7684\u5c55\u793a\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">from pyecharts.charts import Map<\/p>\n<p>data = [(&quot;Beijing&quot;, 100), (&quot;Shangh<a href=\"https:\/\/docs.pingcode.com\/blog\/59162.html\" target=\"_blank\">AI<\/a>&quot;, 80), (&quot;Guangzhou&quot;, 60)]<\/p>\n<p>map_chart = Map()<\/p>\n<p>map_chart.add(&quot;City Data&quot;, data, &quot;china&quot;)<\/p>\n<p>map_chart.set_global_opts(<\/p>\n<p>    title_opts=opts.TitleOpts(title=&quot;City Data Visualization&quot;),<\/p>\n<p>    visualmap_opts=opts.VisualMapOpts(max_=100)<\/p>\n<p>)<\/p>\n<p>map_chart.render(&quot;map_chart.html&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<ol start=\"2\">\n<li><strong>\u6570\u636e\u52a8\u6001\u66f4\u65b0<\/strong><\/li>\n<\/ol>\n<p><p>\u901a\u8fc7\u4f7f\u7528pyecharts\u7684<code>update<\/code>\u65b9\u6cd5\uff0c\u53ef\u4ee5\u5b9e\u73b0\u56fe\u8868\u6570\u636e\u7684\u52a8\u6001\u66f4\u65b0\uff0c\u4ee5\u4fbf\u4e8e\u5b9e\u65f6\u6570\u636e\u5c55\u793a\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">line.update(<\/p>\n<p>    xaxis_data=[&quot;Jul&quot;, &quot;Aug&quot;, &quot;Sep&quot;],<\/p>\n<p>    yaxis_data=[450, 500, 550]<\/p>\n<p>)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<ol start=\"3\">\n<li><strong>\u591a\u56fe\u8868\u7ec4\u5408<\/strong><\/li>\n<\/ol>\n<p><p>pyecharts\u652f\u6301\u5c06\u591a\u79cd\u56fe\u8868\u7ec4\u5408\u5728\u4e00\u4e2a\u9875\u9762\u4e2d\uff0c\u4ee5\u4fbf\u4e8e\u7efc\u5408\u5c55\u793a\u591a\u7ef4\u5ea6\u7684\u6570\u636e\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">from pyecharts.charts import Grid<\/p>\n<p>grid = Grid()<\/p>\n<p>grid.add(line, grid_opts=opts.GridOpts(pos_left=&quot;55%&quot;))<\/p>\n<p>grid.add(bar, grid_opts=opts.GridOpts(pos_right=&quot;55%&quot;))<\/p>\n<p>grid.render(&quot;grid_chart.html&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u901a\u8fc7\u4ee5\u4e0a\u6b65\u9aa4\u7684\u8be6\u7ec6\u8bf4\u660e\uff0c\u6211\u4eec\u53ef\u4ee5\u5145\u5206\u5229\u7528pyecharts\u7684\u529f\u80fd\uff0c\u521b\u5efa\u51fa\u4e30\u5bcc\u591a\u5f69\u3001\u5177\u6709\u4ea4\u4e92\u6548\u679c\u7684\u6570\u636e\u53ef\u89c6\u5316\u56fe\u8868\u3002\u65e0\u8bba\u662f\u7528\u4e8e\u5546\u4e1a\u62a5\u544a\uff0c\u8fd8\u662f\u5b66\u672f\u7814\u7a76\uff0cpyecharts\u90fd\u80fd\u63d0\u4f9b\u5f3a\u6709\u529b\u7684\u652f\u6301\uff0c\u5e2e\u52a9\u7528\u6237\u66f4\u597d\u5730\u5206\u6790\u548c\u5c55\u793a\u6570\u636e\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5b89\u88c5pyecharts\u5e93\u4ee5\u4fbf\u5728Python\u4e2d\u4f7f\u7528\uff1f<\/strong><br \/>\u8981\u5728Python\u4e2d\u4f7f\u7528pyecharts\uff0c\u9996\u5148\u9700\u8981\u786e\u4fdd\u5b89\u88c5\u4e86\u8be5\u5e93\u3002\u53ef\u4ee5\u901a\u8fc7Python\u7684\u5305\u7ba1\u7406\u5de5\u5177pip\u6765\u5b89\u88c5\u3002\u5728\u547d\u4ee4\u884c\u4e2d\u8f93\u5165<code>pip install pyecharts<\/code>\uff0c\u6309\u56de\u8f66\u952e\u5373\u53ef\u5b8c\u6210\u5b89\u88c5\u3002\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u53ef\u4ee5\u5728\u4f60\u7684Python\u811a\u672c\u4e2d\u5bfc\u5165pyecharts\u5e93\uff0c\u5f00\u59cb\u521b\u5efa\u56fe\u8868\u3002<\/p>\n<p><strong>pyecharts\u652f\u6301\u54ea\u4e9b\u7c7b\u578b\u7684\u56fe\u8868\uff1f<\/strong><br \/>pyecharts\u652f\u6301\u591a\u79cd\u7c7b\u578b\u7684\u56fe\u8868\uff0c\u5305\u62ec\u4f46\u4e0d\u9650\u4e8e\u6298\u7ebf\u56fe\u3001\u67f1\u72b6\u56fe\u3001\u997c\u56fe\u3001\u6563\u70b9\u56fe\u3001\u96f7\u8fbe\u56fe\u7b49\u3002\u7528\u6237\u53ef\u4ee5\u6839\u636e\u6570\u636e\u7684\u7279\u70b9\u548c\u5c55\u793a\u9700\u6c42\u9009\u62e9\u5408\u9002\u7684\u56fe\u8868\u7c7b\u578b\u3002\u6b64\u5916\uff0cpyecharts\u8fd8\u652f\u6301\u4e30\u5bcc\u7684\u56fe\u8868\u81ea\u5b9a\u4e49\u9009\u9879\uff0c\u4f8b\u5982\u989c\u8272\u3001\u6837\u5f0f\u548c\u6807\u7b7e\u7b49\uff0c\u5e2e\u52a9\u7528\u6237\u5236\u4f5c\u51fa\u66f4\u5177\u89c6\u89c9\u51b2\u51fb\u529b\u7684\u56fe\u8868\u3002<\/p>\n<p><strong>\u5982\u4f55\u5728Jupyter Notebook\u4e2d\u4f7f\u7528pyecharts\u7ed8\u5236\u56fe\u8868\uff1f<\/strong><br \/>\u5728Jupyter Notebook\u4e2d\uff0c\u53ef\u4ee5\u901a\u8fc7\u4f7f\u7528<code>pyecharts<\/code>\u5e93\u76f4\u63a5\u7ed8\u5236\u56fe\u8868\u3002\u9996\u5148\u786e\u4fdd\u5b89\u88c5\u4e86<code>pyecharts<\/code>\uff0c\u7136\u540e\u5728Notebook\u4e2d\u8f93\u5165\u76f8\u5173\u4ee3\u7801\u3002\u4f8b\u5982\uff0c\u4f7f\u7528<code>from pyecharts import options as opts<\/code>\u548c<code>from pyecharts.charts import Line<\/code>\u6765\u521b\u5efa\u6298\u7ebf\u56fe\u3002\u7ed8\u5236\u540e\uff0c\u53ef\u4ee5\u901a\u8fc7<code>chart.render_notebook()<\/code>\u6765\u5728Notebook\u4e2d\u663e\u793a\u56fe\u8868\u3002\u8fd9\u6837\u53ef\u4ee5\u65b9\u4fbf\u5730\u8fdb\u884c\u6570\u636e\u53ef\u89c6\u5316\u548c\u5206\u6790\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"Python\u4f7f\u7528pyecharts\u4e3b\u8981\u5305\u62ec\u4ee5\u4e0b\u51e0\u4e2a\u6b65\u9aa4\uff1a\u5b89\u88c5pyecharts\u5e93\u3001\u5bfc\u5165\u5e93\u5e76\u9009\u62e9\u5408\u9002\u7684\u56fe\u8868\u7c7b\u578b\u3001 [&hellip;]","protected":false},"author":3,"featured_media":933204,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[37],"tags":[],"acf":[],"_links":{"self":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/933201"}],"collection":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/comments?post=933201"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/933201\/revisions"}],"predecessor-version":[{"id":933205,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/933201\/revisions\/933205"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/933204"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=933201"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=933201"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=933201"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}