{"id":939317,"date":"2024-12-26T20:32:39","date_gmt":"2024-12-26T12:32:39","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/939317.html"},"modified":"2024-12-26T20:32:43","modified_gmt":"2024-12-26T12:32:43","slug":"python%e5%a6%82%e4%bd%95%e7%94%bb%e5%9b%be%e5%83%8f","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/939317.html","title":{"rendered":"python\u5982\u4f55\u753b\u56fe\u50cf"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25074412\/bbd03536-1598-4283-a091-e2e931888be5.webp\" alt=\"python\u5982\u4f55\u753b\u56fe\u50cf\" \/><\/p>\n<p><p> \u4e00\u3001PYTHON\u7ed8\u56fe\u57fa\u7840<\/p>\n<\/p>\n<p><p>Python\u7ed8\u56fe\u901a\u5e38\u4f7f\u7528\u7684\u5de5\u5177\u5305\u62ecMatplotlib\u3001Seaborn\u548cPlotly\u7b49\u3002<strong>Matplotlib\u662f\u6700\u57fa\u7840\u548c\u5e7f\u6cdb\u4f7f\u7528\u7684\u5e93\u3001Seaborn\u63d0\u4f9b\u4e86\u66f4\u9ad8\u7ea7\u7684\u63a5\u53e3\u3001\u66f4\u9002\u5408\u7edf\u8ba1\u5b66\u56fe\u5f62\u3001Plotly\u5219\u7528\u4e8e\u4ea4\u4e92\u5f0f\u56fe\u8868\u3002<\/strong>\u5728\u8fd9\u7bc7\u6587\u7ae0\u4e2d\uff0c\u6211\u4eec\u5c06\u91cd\u70b9\u4ecb\u7ecd\u5982\u4f55\u4f7f\u7528Matplotlib\u6765\u521b\u5efa\u56fe\u50cf\uff0c\u5e76\u7b80\u5355\u63d0\u5230\u5176\u4ed6\u5de5\u5177\u7684\u7528\u6cd5\u3002<\/p>\n<\/p>\n<p><p>\u9996\u5148\uff0c\u5b89\u88c5Matplotlib\u5e93\u662f\u5fc5\u4e0d\u53ef\u5c11\u7684\uff0c\u4f60\u53ef\u4ee5\u901a\u8fc7pip\u547d\u4ee4\u6765\u5b8c\u6210\uff1a<code>pip install matplotlib<\/code>\u3002\u63a5\u4e0b\u6765\uff0c\u4f60\u53ef\u4ee5\u4f7f\u7528Matplotlib\u6765\u521b\u5efa\u5404\u79cd\u7c7b\u578b\u7684\u56fe\u5f62\uff0c\u5982\u6298\u7ebf\u56fe\u3001\u67f1\u72b6\u56fe\u3001\u6563\u70b9\u56fe\u7b49\u3002<\/p>\n<\/p>\n<p><p>\u4e0b\u9762\u662f\u4e00\u4e2a\u521b\u5efa\u7b80\u5355\u6298\u7ebf\u56fe\u7684\u4f8b\u5b50\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import matplotlib.pyplot as plt<\/p>\n<p>x = [1, 2, 3, 4, 5]<\/p>\n<p>y = [2, 3, 5, 7, 11]<\/p>\n<p>plt.plot(x, y)<\/p>\n<p>plt.title(&#39;Simple Line Plot&#39;)<\/p>\n<p>plt.xlabel(&#39;X-axis&#39;)<\/p>\n<p>plt.ylabel(&#39;Y-axis&#39;)<\/p>\n<p>plt.show()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u4f8b\u5b50\u4e2d\uff0c\u6211\u4eec\u4f7f\u7528<code>plt.plot()<\/code>\u51fd\u6570\u7ed8\u5236\u4e86\u4e00\u6761\u6298\u7ebf\u56fe\u3002<code>plt.title()<\/code>\u3001<code>plt.xlabel()<\/code>\u548c<code>plt.ylabel()<\/code>\u51fd\u6570\u7528\u4e8e\u4e3a\u56fe\u8868\u6dfb\u52a0\u6807\u9898\u548c\u6807\u7b7e\u3002\u6700\u540e\uff0c\u4f7f\u7528<code>plt.show()<\/code>\u51fd\u6570\u6765\u663e\u793a\u56fe\u5f62\u3002<\/p>\n<\/p>\n<p><p>\u4e8c\u3001MATPLOTLIB\u7684\u9ad8\u7ea7\u529f\u80fd<\/p>\n<\/p>\n<p><p>Matplotlib\u4e0d\u4ec5\u80fd\u7ed8\u5236\u7b80\u5355\u7684\u56fe\u5f62\uff0c\u8fd8\u80fd\u901a\u8fc7\u4e30\u5bcc\u7684\u529f\u80fd\u8fdb\u884c\u56fe\u5f62\u7684\u5b9a\u5236\u548c\u7f8e\u5316\u3002<strong>\u901a\u8fc7\u5b50\u56fe\u529f\u80fd\u3001\u6837\u5f0f\u8bbe\u7f6e\u3001\u5750\u6807\u8f74\u8c03\u6574\uff0c\u7528\u6237\u53ef\u4ee5\u521b\u5efa\u4e13\u4e1a\u7684\u56fe\u8868\u3002<\/strong><\/p>\n<\/p>\n<ol>\n<li><strong>\u5b50\u56fe\u529f\u80fd\uff1a<\/strong>Matplotlib\u4e2d\u7684<code>subplot()<\/code>\u51fd\u6570\u5141\u8bb8\u4f60\u5728\u4e00\u4e2a\u56fe\u5f62\u4e2d\u521b\u5efa\u591a\u4e2a\u5b50\u56fe\u3002\u4f60\u53ef\u4ee5\u901a\u8fc7\u6307\u5b9a\u884c\u6570\u3001\u5217\u6570\u548c\u5b50\u56fe\u7684\u4f4d\u7f6e\u6765\u63a7\u5236\u5b50\u56fe\u7684\u5e03\u5c40\u3002<\/li>\n<\/ol>\n<p><pre><code class=\"language-python\">import matplotlib.pyplot as plt<\/p>\n<p>plt.figure(figsize=(8, 6))<\/p>\n<p>plt.subplot(2, 1, 1)<\/p>\n<p>plt.plot([1, 2, 3], [4, 5, 6])<\/p>\n<p>plt.title(&#39;Subplot 1&#39;)<\/p>\n<p>plt.subplot(2, 1, 2)<\/p>\n<p>plt.plot([1, 2, 3], [6, 5, 4])<\/p>\n<p>plt.title(&#39;Subplot 2&#39;)<\/p>\n<p>plt.tight_layout()<\/p>\n<p>plt.show()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<ol start=\"2\">\n<li><strong>\u6837\u5f0f\u8bbe\u7f6e\uff1a<\/strong>Matplotlib\u63d0\u4f9b\u4e86\u591a\u79cd\u9884\u8bbe\u6837\u5f0f\uff0c\u7528\u6237\u53ef\u4ee5\u901a\u8fc7<code>plt.style.use()<\/code>\u6765\u5e94\u7528\u4e0d\u540c\u7684\u56fe\u5f62\u6837\u5f0f\u3002<\/li>\n<\/ol>\n<p><pre><code class=\"language-python\">import matplotlib.pyplot as plt<\/p>\n<p>plt.style.use(&#39;ggplot&#39;)<\/p>\n<p>plt.plot([1, 2, 3], [4, 5, 6])<\/p>\n<p>plt.title(&#39;Styled Plot&#39;)<\/p>\n<p>plt.show()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<ol start=\"3\">\n<li><strong>\u5750\u6807\u8f74\u8c03\u6574\uff1a<\/strong>\u4f60\u53ef\u4ee5\u901a\u8fc7<code>plt.xlim()<\/code>\u548c<code>plt.ylim()<\/code>\u6765\u8bbe\u7f6e\u5750\u6807\u8f74\u7684\u8303\u56f4\uff0c\u4ee5\u53ca\u901a\u8fc7<code>plt.xticks()<\/code>\u548c<code>plt.yticks()<\/code>\u6765\u81ea\u5b9a\u4e49\u5750\u6807\u8f74\u7684\u523b\u5ea6\u3002<\/li>\n<\/ol>\n<p><pre><code class=\"language-python\">import matplotlib.pyplot as plt<\/p>\n<p>plt.plot([1, 2, 3], [4, 5, 6])<\/p>\n<p>plt.xlim(0, 5)<\/p>\n<p>plt.ylim(0, 10)<\/p>\n<p>plt.xticks([0, 1, 2, 3, 4, 5])<\/p>\n<p>plt.yticks([0, 2, 4, 6, 8, 10])<\/p>\n<p>plt.title(&#39;Customized Axes&#39;)<\/p>\n<p>plt.show()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u4e09\u3001SEABORN\u7684\u7edf\u8ba1\u56fe\u5f62<\/p>\n<\/p>\n<p><p>Seaborn\u662f\u4e00\u4e2a\u57fa\u4e8eMatplotlib\u7684\u9ad8\u7ea7\u7ed8\u56fe\u5e93\uff0c\u4e13\u95e8\u7528\u4e8e\u521b\u5efa\u7edf\u8ba1\u56fe\u8868\u3002<strong>\u5b83\u901a\u8fc7\u7f8e\u89c2\u7684\u9ed8\u8ba4\u4e3b\u9898\u548c\u9ad8\u7ea7API\uff0c\u4f7f\u6570\u636e\u53ef\u89c6\u5316\u53d8\u5f97\u66f4\u52a0\u7b80\u5355\u548c\u4e13\u4e1a\u3002<\/strong><\/p>\n<\/p>\n<ol>\n<li><strong>\u5b89\u88c5\u548c\u57fa\u672c\u4f7f\u7528\uff1a<\/strong>\u9996\u5148\uff0c\u5b89\u88c5Seaborn\u53ef\u4ee5\u901a\u8fc7pip\u547d\u4ee4\uff1a<code>pip install seaborn<\/code>\u3002Seaborn\u7684API\u4e0eMatplotlib\u7c7b\u4f3c\uff0c\u4f46\u63d0\u4f9b\u4e86\u66f4\u65b9\u4fbf\u7684\u51fd\u6570\u6765\u7ed8\u5236\u7edf\u8ba1\u56fe\u3002<\/li>\n<\/ol>\n<p><pre><code class=\"language-python\">import seaborn as sns<\/p>\n<p>import matplotlib.pyplot as plt<\/p>\n<p>tips = sns.load_dataset(&#39;tips&#39;)<\/p>\n<p>sns.histplot(tips[&#39;total_bill&#39;], bins=30)<\/p>\n<p>plt.title(&#39;Histogram of Total Bill&#39;)<\/p>\n<p>plt.show()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<ol start=\"2\">\n<li><strong>\u5206\u7c7b\u56fe\u8868\uff1a<\/strong>Seaborn\u975e\u5e38\u9002\u5408\u7ed8\u5236\u5206\u7c7b\u6570\u636e\u7684\u56fe\u8868\uff0c\u6bd4\u5982\u6761\u5f62\u56fe\u3001\u7bb1\u7ebf\u56fe\u548c\u5c0f\u63d0\u7434\u56fe\u3002<\/li>\n<\/ol>\n<p><pre><code class=\"language-python\">import seaborn as sns<\/p>\n<p>import matplotlib.pyplot as plt<\/p>\n<p>tips = sns.load_dataset(&#39;tips&#39;)<\/p>\n<p>sns.boxplot(x=&#39;day&#39;, y=&#39;total_bill&#39;, data=tips)<\/p>\n<p>plt.title(&#39;Boxplot of Total Bill by Day&#39;)<\/p>\n<p>plt.show()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u4f8b\u5b50\u4e2d\uff0c<code>sns.boxplot()<\/code>\u51fd\u6570\u7528\u4e8e\u7ed8\u5236\u7bb1\u7ebf\u56fe\uff0c\u5b83\u80fd\u591f\u76f4\u89c2\u5730\u5c55\u793a\u6570\u636e\u7684\u5206\u5e03\u548c\u5f02\u5e38\u503c\u3002<\/p>\n<\/p>\n<p><p>\u56db\u3001PLOTLY\u7684\u4ea4\u4e92\u5f0f\u56fe\u8868<\/p>\n<\/p>\n<p><p>Plotly\u662f\u4e00\u4e2a\u7528\u4e8e\u521b\u5efa\u4ea4\u4e92\u5f0f\u56fe\u8868\u7684\u5e93\uff0c\u9002\u7528\u4e8e\u7f51\u9875\u548c\u4eea\u8868\u76d8\u5e94\u7528\u3002<strong>\u901a\u8fc7Plotly\uff0c\u7528\u6237\u53ef\u4ee5\u521b\u5efa\u54cd\u5e94\u5f0f\u548c\u52a8\u6001\u7684\u56fe\u8868\uff0c\u9002\u5408\u5c55\u793a\u590d\u6742\u7684\u6570\u636e\u96c6\u3002<\/strong><\/p>\n<\/p>\n<ol>\n<li><strong>\u5b89\u88c5\u548c\u57fa\u672c\u4f7f\u7528\uff1a<\/strong>\u5b89\u88c5Plotly\u53ef\u4ee5\u901a\u8fc7pip\u547d\u4ee4\uff1a<code>pip install plotly<\/code>\u3002Plotly\u63d0\u4f9b\u4e86\u7b80\u5355\u7684\u63a5\u53e3\u6765\u521b\u5efa\u4ea4\u4e92\u5f0f\u56fe\u8868\u3002<\/li>\n<\/ol>\n<p><pre><code class=\"language-python\">import plotly.express as px<\/p>\n<p>df = px.data.iris()<\/p>\n<p>fig = px.scatter(df, x=&#39;sepal_width&#39;, y=&#39;sepal_length&#39;, color=&#39;species&#39;)<\/p>\n<p>fig.show()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<ol start=\"2\">\n<li><strong>\u4ea4\u4e92\u529f\u80fd\uff1a<\/strong>Plotly\u56fe\u8868\u652f\u6301\u60ac\u505c\u3001\u7f29\u653e\u3001\u5bfc\u51fa\u7b49\u4ea4\u4e92\u529f\u80fd\uff0c\u975e\u5e38\u9002\u5408\u5728\u7f51\u7edc\u5e94\u7528\u4e2d\u4f7f\u7528\u3002<\/li>\n<\/ol>\n<p><pre><code class=\"language-python\">import plotly.express as px<\/p>\n<p>df = px.data.tips()<\/p>\n<p>fig = px.bar(df, x=&#39;day&#39;, y=&#39;total_bill&#39;, color=&#39;sex&#39;, barmode=&#39;group&#39;)<\/p>\n<p>fig.update_layout(title=&#39;Interactive Bar Chart&#39;)<\/p>\n<p>fig.show()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u4f8b\u5b50\u4e2d\uff0c\u6211\u4eec\u4f7f\u7528<code>px.bar()<\/code>\u51fd\u6570\u521b\u5efa\u4e86\u4e00\u4e2a\u4ea4\u4e92\u5f0f\u7684\u6761\u5f62\u56fe\uff0c\u7528\u6237\u53ef\u4ee5\u901a\u8fc7\u9f20\u6807\u60ac\u505c\u67e5\u770b\u8be6\u7ec6\u4fe1\u606f\u3002<\/p>\n<\/p>\n<p><p>\u4e94\u3001\u7efc\u5408\u5e94\u7528\u4e0e\u5b9e\u8df5<\/p>\n<\/p>\n<p><p>\u7ed3\u5408\u4f7f\u7528Matplotlib\u3001Seaborn\u548cPlotly\u53ef\u4ee5\u6ee1\u8db3\u5404\u79cd\u6570\u636e\u53ef\u89c6\u5316\u9700\u6c42\u3002<strong>\u5728\u5b9e\u9645\u5e94\u7528\u4e2d\uff0c\u6839\u636e\u6570\u636e\u7684\u6027\u8d28\u548c\u5c55\u793a\u9700\u6c42\u9009\u62e9\u5408\u9002\u7684\u5de5\u5177\uff0c\u80fd\u591f\u63d0\u9ad8\u6570\u636e\u5206\u6790\u548c\u5c55\u793a\u7684\u6548\u7387\u3002<\/strong><\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u6570\u636e\u5206\u6790\u4e0e\u53ef\u89c6\u5316\uff1a<\/strong>\u5728\u6570\u636e\u5206\u6790\u8fc7\u7a0b\u4e2d\uff0c\u6570\u636e\u53ef\u89c6\u5316\u662f\u4e00\u4e2a\u91cd\u8981\u7684\u6b65\u9aa4\u3002\u901a\u8fc7Matplotlib\u6216Seaborn\uff0c\u5206\u6790\u5e08\u53ef\u4ee5\u5feb\u901f\u8bc6\u522b\u6570\u636e\u4e2d\u7684\u6a21\u5f0f\u548c\u5f02\u5e38\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u62a5\u544a\u548c\u5c55\u793a\uff1a<\/strong>\u5728\u9700\u8981\u5bf9\u5916\u5c55\u793a\u6570\u636e\u65f6\uff0cPlotly\u63d0\u4f9b\u4e86\u4e30\u5bcc\u7684\u4ea4\u4e92\u529f\u80fd\uff0c\u4f7f\u5f97\u56fe\u8868\u66f4\u52a0\u751f\u52a8\u548c\u6613\u4e8e\u7406\u89e3\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u4eea\u8868\u76d8\u5e94\u7528\uff1a<\/strong>\u7ed3\u5408Dash\u6216Streamlit\u7b49\u5de5\u5177\uff0c\u53ef\u4ee5\u5c06Plotly\u56fe\u8868\u96c6\u6210\u5230\u4eea\u8868\u76d8\u4e2d\uff0c\u5b9e\u73b0\u5b9e\u65f6\u6570\u636e\u76d1\u63a7\u548c\u5c55\u793a\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u603b\u7ed3\uff0cPython\u63d0\u4f9b\u4e86\u4e30\u5bcc\u7684\u7ed8\u56fe\u5e93\u6765\u6ee1\u8db3\u4e0d\u540c\u7684\u7ed8\u56fe\u9700\u6c42\u3002\u901a\u8fc7\u719f\u7ec3\u638c\u63e1Matplotlib\u3001Seaborn\u548cPlotly\uff0c\u4f60\u53ef\u4ee5\u521b\u5efa\u51fa\u4e13\u4e1a\u7684\u9759\u6001\u548c\u4ea4\u4e92\u5f0f\u56fe\u8868\uff0c\u4e3a\u4f60\u7684\u6570\u636e\u5206\u6790\u548c\u5c55\u793a\u589e\u8272\u4e0d\u5c11\u3002\u5e0c\u671b\u672c\u7bc7\u6587\u7ae0\u80fd\u591f\u5e2e\u52a9\u4f60\u5728Python\u7ed8\u56fe\u7684\u65c5\u7a0b\u4e2d\u8fc8\u51fa\u575a\u5b9e\u7684\u4e00\u6b65\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u4f7f\u7528Python\u7ed8\u5236\u57fa\u672c\u56fe\u5f62\uff1f<\/strong><br \/>\u5728Python\u4e2d\uff0c\u7ed8\u5236\u57fa\u672c\u56fe\u5f62\u53ef\u4ee5\u4f7f\u7528Matplotlib\u5e93\u3002\u5b89\u88c5Matplotlib\u540e\uff0c\u53ef\u4ee5\u901a\u8fc7\u7b80\u5355\u7684\u4ee3\u7801\u521b\u5efa\u5404\u79cd\u7c7b\u578b\u7684\u56fe\u5f62\u3002\u4f8b\u5982\uff0c\u4f7f\u7528<code>plt.plot()<\/code>\u53ef\u4ee5\u7ed8\u5236\u7ebf\u56fe\uff0c<code>plt.bar()<\/code>\u53ef\u4ee5\u7ed8\u5236\u6761\u5f62\u56fe\uff0c<code>plt.scatter()<\/code>\u53ef\u4ee5\u7ed8\u5236\u6563\u70b9\u56fe\u3002\u786e\u4fdd\u5728\u7ed8\u5236\u524d\u8c03\u7528<code>plt.show()<\/code>\u6765\u663e\u793a\u56fe\u5f62\u3002<\/p>\n<p><strong>Python\u7ed8\u56fe\u65f6\u5982\u4f55\u81ea\u5b9a\u4e49\u56fe\u5f62\u7684\u5916\u89c2\uff1f<\/strong><br \/>\u81ea\u5b9a\u4e49\u56fe\u5f62\u7684\u5916\u89c2\u53ef\u4ee5\u901a\u8fc7\u591a\u79cd\u65b9\u5f0f\u5b9e\u73b0\u3002\u60a8\u53ef\u4ee5\u4fee\u6539\u7ebf\u6761\u989c\u8272\u3001\u6837\u5f0f\u548c\u5bbd\u5ea6\uff0c\u4f7f\u7528<code>plt.plot()<\/code>\u7684\u53c2\u6570\u6765\u5b9e\u73b0\u3002\u6b64\u5916\uff0c\u6dfb\u52a0\u6807\u9898\u3001\u6807\u7b7e\u548c\u56fe\u4f8b\u53ef\u4ee5\u4f7f\u56fe\u5f62\u66f4\u5177\u53ef\u8bfb\u6027\uff0c\u4f8b\u5982\u4f7f\u7528<code>plt.title()<\/code>\u3001<code>plt.xlabel()<\/code>\u548c<code>plt.legend()<\/code>\u7b49\u51fd\u6570\u6765\u589e\u5f3a\u56fe\u5f62\u7684\u8868\u8fbe\u529b\u3002<\/p>\n<p><strong>\u5728Python\u4e2d\u5982\u4f55\u4fdd\u5b58\u7ed8\u5236\u7684\u56fe\u50cf\uff1f<\/strong><br \/>\u53ef\u4ee5\u4f7f\u7528Matplotlib\u7684<code>plt.savefig()<\/code>\u51fd\u6570\u5c06\u7ed8\u5236\u7684\u56fe\u50cf\u4fdd\u5b58\u4e3a\u6587\u4ef6\u3002\u5728\u8c03\u7528<code>plt.savefig()<\/code>\u65f6\uff0c\u60a8\u53ef\u4ee5\u6307\u5b9a\u6587\u4ef6\u540d\u548c\u683c\u5f0f\uff0c\u6bd4\u5982PNG\u6216JPEG\u3002\u786e\u4fdd\u5728\u8c03\u7528\u8be5\u51fd\u6570\u4e4b\u524d\u8bbe\u7f6e\u597d\u56fe\u5f62\u7684\u5404\u9879\u53c2\u6570\uff0c\u4ee5\u4fbf\u4fdd\u5b58\u60a8\u60f3\u8981\u7684\u6700\u7ec8\u6548\u679c\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u4e00\u3001PYTHON\u7ed8\u56fe\u57fa\u7840 Python\u7ed8\u56fe\u901a\u5e38\u4f7f\u7528\u7684\u5de5\u5177\u5305\u62ecMatplotlib\u3001Seaborn\u548cPlotly [&hellip;]","protected":false},"author":3,"featured_media":939323,"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\/939317"}],"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=939317"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/939317\/revisions"}],"predecessor-version":[{"id":939324,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/939317\/revisions\/939324"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/939323"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=939317"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=939317"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=939317"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}