{"id":1069277,"date":"2024-12-31T16:50:37","date_gmt":"2024-12-31T08:50:37","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1069277.html"},"modified":"2024-12-31T16:50:39","modified_gmt":"2024-12-31T08:50:39","slug":"python%e5%a6%82%e4%bd%95%e7%94%bb%e4%b8%a4%e4%b8%aa%e6%9b%b2%e7%ba%bf%e5%9b%be","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1069277.html","title":{"rendered":"python\u5982\u4f55\u753b\u4e24\u4e2a\u66f2\u7ebf\u56fe"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-docs.pingcode.com\/wp-content\/uploads\/2024\/12\/50b39234-1821-49b9-9e98-af2bf580c634.webp?x-oss-process=image\/auto-orient,1\/format,webp\" alt=\"python\u5982\u4f55\u753b\u4e24\u4e2a\u66f2\u7ebf\u56fe\" \/><\/p>\n<p><p> <strong>\u4e00\u3001\u5bfc\u5165\u6240\u9700\u5e93<\/strong><\/p>\n<\/p>\n<p><p>\u8981\u5728Python\u4e2d\u7ed8\u5236\u4e24\u4e2a\u66f2\u7ebf\u56fe\uff0c\u9996\u5148\u9700\u8981\u5bfc\u5165\u4e00\u4e9b\u5fc5\u8981\u7684\u5e93\u3002\u6700\u5e38\u7528\u7684\u5e93\u662fMatplotlib\uff0c\u8fd9\u662f\u4e00\u4e2a\u5f3a\u5927\u7684\u7ed8\u56fe\u5e93\uff0c\u53ef\u4ee5\u5e2e\u52a9\u6211\u4eec\u7ed8\u5236\u5404\u79cd\u56fe\u5f62\u3002\u6211\u4eec\u8fd8\u9700\u8981NumPy\u6765\u751f\u6210\u6570\u636e\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import matplotlib.pyplot as plt<\/p>\n<p>import numpy as np<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p><strong>\u4e8c\u3001\u751f\u6210\u6570\u636e<\/strong><\/p>\n<\/p>\n<p><p>\u5728\u7ed8\u5236\u66f2\u7ebf\u56fe\u4e4b\u524d\uff0c\u6211\u4eec\u9700\u8981\u751f\u6210\u4e00\u4e9b\u6570\u636e\u3002\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528NumPy\u6765\u521b\u5efa\u4e24\u4e2a\u4e0d\u540c\u7684\u6570\u636e\u96c6\uff0c\u8fd9\u4e9b\u6570\u636e\u96c6\u5c06\u7528\u4e8e\u7ed8\u5236\u66f2\u7ebf\u56fe\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># \u751f\u6210X\u8f74\u6570\u636e<\/p>\n<p>x = np.linspace(0, 10, 100)<\/p>\n<h2><strong>\u751f\u6210Y\u8f74\u6570\u636e<\/strong><\/h2>\n<p>y1 = np.sin(x)<\/p>\n<p>y2 = np.cos(x)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u4f8b\u5b50\u4e2d\uff0c\u6211\u4eec\u751f\u6210\u4e86\u4ece0\u523010\u7684100\u4e2a\u7b49\u95f4\u8ddd\u70b9\uff0c\u4f5c\u4e3aX\u8f74\u7684\u6570\u636e\u3002\u7136\u540e\u6211\u4eec\u4f7f\u7528\u8fd9\u4e9bX\u8f74\u7684\u6570\u636e\u6765\u8ba1\u7b97\u5bf9\u5e94\u7684Y\u8f74\u6570\u636e\uff0cy1\u662fx\u7684\u6b63\u5f26\u503c\uff0cy2\u662fx\u7684\u4f59\u5f26\u503c\u3002<\/p>\n<\/p>\n<p><p><strong>\u4e09\u3001\u7ed8\u5236\u66f2\u7ebf\u56fe<\/strong><\/p>\n<\/p>\n<p><p>\u63a5\u4e0b\u6765\uff0c\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528Matplotlib\u6765\u7ed8\u5236\u8fd9\u4e24\u4e2a\u66f2\u7ebf\u56fe\u3002\u6211\u4eec\u5c06\u4f7f\u7528<code>plt.plot()<\/code>\u51fd\u6570\u6765\u7ed8\u5236\u66f2\u7ebf\u56fe\uff0c\u5e76\u4f7f\u7528\u4e0d\u540c\u7684\u989c\u8272\u548c\u6837\u5f0f\u6765\u533a\u5206\u5b83\u4eec\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">plt.plot(x, y1, label=&#39;sin(x)&#39;, color=&#39;blue&#39;, linestyle=&#39;-&#39;)<\/p>\n<p>plt.plot(x, y2, label=&#39;cos(x)&#39;, color=&#39;red&#39;, linestyle=&#39;--&#39;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u4f8b\u5b50\u4e2d\uff0c\u6211\u4eec\u4f7f\u7528\u84dd\u8272\u5b9e\u7ebf\u7ed8\u5236\u4e86y1\uff08sin(x)\uff09\uff0c\u4f7f\u7528\u7ea2\u8272\u865a\u7ebf\u7ed8\u5236\u4e86y2\uff08cos(x)\uff09\u3002\u6211\u4eec\u8fd8\u4e3a\u6bcf\u6761\u66f2\u7ebf\u6dfb\u52a0\u4e86\u6807\u7b7e\uff0c\u4ee5\u4fbf\u5728\u56fe\u4f8b\u4e2d\u663e\u793a\u3002<\/p>\n<\/p>\n<p><p><strong>\u56db\u3001\u6dfb\u52a0\u56fe\u4f8b\u548c\u6807\u9898<\/strong><\/p>\n<\/p>\n<p><p>\u4e3a\u4e86\u4f7f\u56fe\u8868\u66f4\u52a0\u6e05\u6670\u548c\u6613\u4e8e\u7406\u89e3\uff0c\u6211\u4eec\u53ef\u4ee5\u6dfb\u52a0\u56fe\u4f8b\u548c\u6807\u9898\u3002\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528<code>plt.legend()<\/code>\u51fd\u6570\u6765\u663e\u793a\u56fe\u4f8b\uff0c\u5e76\u4f7f\u7528<code>plt.title()<\/code>\u548c<code>plt.xlabel()<\/code>\u3001<code>plt.ylabel()<\/code>\u51fd\u6570\u6765\u6dfb\u52a0\u6807\u9898\u548c\u8f74\u6807\u7b7e\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">plt.legend()<\/p>\n<p>plt.title(&#39;Sine and Cosine Waves&#39;)<\/p>\n<p>plt.xlabel(&#39;X axis&#39;)<\/p>\n<p>plt.ylabel(&#39;Y axis&#39;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p><strong>\u4e94\u3001\u663e\u793a\u56fe\u5f62<\/strong><\/p>\n<\/p>\n<p><p>\u6700\u540e\uff0c\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528<code>plt.show()<\/code>\u51fd\u6570\u6765\u663e\u793a\u56fe\u5f62\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">plt.show()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p><strong>\u5b8c\u6574\u4ee3\u7801<\/strong><\/p>\n<\/p>\n<p><p>\u4ee5\u4e0b\u662f\u5b8c\u6574\u7684\u4ee3\u7801\u793a\u4f8b\uff0c\u5b83\u5c55\u793a\u4e86\u5982\u4f55\u5728Python\u4e2d\u7ed8\u5236\u4e24\u4e2a\u66f2\u7ebf\u56fe\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import matplotlib.pyplot as plt<\/p>\n<p>import numpy as np<\/p>\n<h2><strong>\u751f\u6210X\u8f74\u6570\u636e<\/strong><\/h2>\n<p>x = np.linspace(0, 10, 100)<\/p>\n<h2><strong>\u751f\u6210Y\u8f74\u6570\u636e<\/strong><\/h2>\n<p>y1 = np.sin(x)<\/p>\n<p>y2 = np.cos(x)<\/p>\n<h2><strong>\u7ed8\u5236\u66f2\u7ebf\u56fe<\/strong><\/h2>\n<p>plt.plot(x, y1, label=&#39;sin(x)&#39;, color=&#39;blue&#39;, linestyle=&#39;-&#39;)<\/p>\n<p>plt.plot(x, y2, label=&#39;cos(x)&#39;, color=&#39;red&#39;, linestyle=&#39;--&#39;)<\/p>\n<h2><strong>\u6dfb\u52a0\u56fe\u4f8b\u548c\u6807\u9898<\/strong><\/h2>\n<p>plt.legend()<\/p>\n<p>plt.title(&#39;Sine and Cosine Waves&#39;)<\/p>\n<p>plt.xlabel(&#39;X axis&#39;)<\/p>\n<p>plt.ylabel(&#39;Y axis&#39;)<\/p>\n<h2><strong>\u663e\u793a\u56fe\u5f62<\/strong><\/h2>\n<p>plt.show()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p><strong>\u516d\u3001\u8c03\u6574\u56fe\u5f62\u6837\u5f0f<\/strong><\/p>\n<\/p>\n<p><p>\u6709\u65f6\uff0c\u6211\u4eec\u53ef\u80fd\u5e0c\u671b\u5bf9\u56fe\u5f62\u7684\u6837\u5f0f\u8fdb\u884c\u66f4\u591a\u7684\u8c03\u6574\uff0c\u4f8b\u5982\u66f4\u6539\u7ebf\u6761\u7684\u5bbd\u5ea6\u3001\u6dfb\u52a0\u7f51\u683c\u7ebf\u3001\u8bbe\u7f6e\u5750\u6807\u8f74\u7684\u8303\u56f4\u7b49\u3002\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528Matplotlib\u63d0\u4f9b\u7684\u5404\u79cd\u51fd\u6570\u6765\u5b9e\u73b0\u8fd9\u4e9b\u8c03\u6574\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># \u8bbe\u7f6e\u7ebf\u6761\u5bbd\u5ea6<\/p>\n<p>plt.plot(x, y1, label=&#39;sin(x)&#39;, color=&#39;blue&#39;, linestyle=&#39;-&#39;, linewidth=2)<\/p>\n<p>plt.plot(x, y2, label=&#39;cos(x)&#39;, color=&#39;red&#39;, linestyle=&#39;--&#39;, linewidth=2)<\/p>\n<h2><strong>\u6dfb\u52a0\u7f51\u683c\u7ebf<\/strong><\/h2>\n<p>plt.grid(True)<\/p>\n<h2><strong>\u8bbe\u7f6e\u5750\u6807\u8f74\u8303\u56f4<\/strong><\/h2>\n<p>plt.xlim(0, 10)<\/p>\n<p>plt.ylim(-1.5, 1.5)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p><strong>\u4e03\u3001\u4fdd\u5b58\u56fe\u5f62<\/strong><\/p>\n<\/p>\n<p><p>\u9664\u4e86\u5728\u5c4f\u5e55\u4e0a\u663e\u793a\u56fe\u5f62\u5916\uff0c\u6211\u4eec\u8fd8\u53ef\u4ee5\u5c06\u56fe\u5f62\u4fdd\u5b58\u5230\u6587\u4ef6\u4e2d\u3002\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528<code>plt.savefig()<\/code>\u51fd\u6570\u6765\u4fdd\u5b58\u56fe\u5f62\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">plt.savefig(&#39;sine_cosine.png&#39;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u4e2a\u51fd\u6570\u53ef\u4ee5\u4fdd\u5b58\u56fe\u5f62\u4e3a\u4e0d\u540c\u683c\u5f0f\u7684\u6587\u4ef6\uff0c\u4f8b\u5982PNG\u3001PDF\u3001SVG\u7b49\u3002<\/p>\n<\/p>\n<p><p><strong>\u516b\u3001\u4f7f\u7528\u5b50\u56fe<\/strong><\/p>\n<\/p>\n<p><p>\u6709\u65f6\uff0c\u6211\u4eec\u53ef\u80fd\u5e0c\u671b\u5728\u540c\u4e00\u4e2a\u56fe\u5f62\u4e2d\u663e\u793a\u591a\u4e2a\u5b50\u56fe\u3002\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528<code>plt.subplot()<\/code>\u51fd\u6570\u6765\u521b\u5efa\u5b50\u56fe\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># \u521b\u5efa\u7b2c\u4e00\u4e2a\u5b50\u56fe<\/p>\n<p>plt.subplot(2, 1, 1)<\/p>\n<p>plt.plot(x, y1, label=&#39;sin(x)&#39;, color=&#39;blue&#39;)<\/p>\n<p>plt.title(&#39;Sine Wave&#39;)<\/p>\n<h2><strong>\u521b\u5efa\u7b2c\u4e8c\u4e2a\u5b50\u56fe<\/strong><\/h2>\n<p>plt.subplot(2, 1, 2)<\/p>\n<p>plt.plot(x, y2, label=&#39;cos(x)&#39;, color=&#39;red&#39;)<\/p>\n<p>plt.title(&#39;Cosine Wave&#39;)<\/p>\n<h2><strong>\u663e\u793a\u56fe\u5f62<\/strong><\/h2>\n<p>plt.show()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u4f8b\u5b50\u4e2d\uff0c\u6211\u4eec\u521b\u5efa\u4e86\u4e24\u4e2a\u5b50\u56fe\uff0c\u5e76\u5728\u6bcf\u4e2a\u5b50\u56fe\u4e2d\u7ed8\u5236\u4e86\u4e00\u6761\u66f2\u7ebf\u3002<\/p>\n<\/p>\n<p><p><strong>\u603b\u7ed3<\/strong><\/p>\n<\/p>\n<p><p>\u5728\u672c\u6587\u4e2d\uff0c\u6211\u4eec\u8be6\u7ec6\u4ecb\u7ecd\u4e86\u5982\u4f55\u4f7f\u7528Python\u4e2d\u7684Matplotlib\u5e93\u7ed8\u5236\u4e24\u4e2a\u66f2\u7ebf\u56fe\u3002\u6211\u4eec\u4ece\u5bfc\u5165\u6240\u9700\u7684\u5e93\u5f00\u59cb\uff0c\u7136\u540e\u751f\u6210\u6570\u636e\uff0c\u5e76\u4f7f\u7528<code>plt.plot()<\/code>\u51fd\u6570\u7ed8\u5236\u66f2\u7ebf\u56fe\u3002\u6211\u4eec\u8fd8\u6dfb\u52a0\u4e86\u56fe\u4f8b\u548c\u6807\u9898\uff0c\u4f7f\u56fe\u5f62\u66f4\u52a0\u6e05\u6670\u548c\u6613\u4e8e\u7406\u89e3\u3002\u6700\u540e\uff0c\u6211\u4eec\u5c55\u793a\u4e86\u5982\u4f55\u8c03\u6574\u56fe\u5f62\u6837\u5f0f\u3001\u4fdd\u5b58\u56fe\u5f62\u4ee5\u53ca\u4f7f\u7528\u5b50\u56fe\u3002\u901a\u8fc7\u8fd9\u4e9b\u6b65\u9aa4\uff0c\u4f60\u53ef\u4ee5\u8f7b\u677e\u5730\u5728Python\u4e2d\u7ed8\u5236\u5404\u79cd\u66f2\u7ebf\u56fe\uff0c\u4ee5\u6ee1\u8db3\u4f60\u7684\u6570\u636e\u53ef\u89c6\u5316\u9700\u6c42\u3002<\/p>\n<\/p>\n<p><p><strong>\u6269\u5c55\u9605\u8bfb<\/strong><\/p>\n<\/p>\n<p><p>\u5982\u679c\u4f60\u5bf9Matplotlib\u548c\u6570\u636e\u53ef\u89c6\u5316\u6709\u66f4\u6df1\u5165\u7684\u5174\u8da3\uff0c\u53ef\u4ee5\u53c2\u8003\u4ee5\u4e0b\u8d44\u6e90\uff1a<\/p>\n<\/p>\n<ol>\n<li>Matplotlib\u5b98\u65b9\u6587\u6863\uff1a<a href=\"https:\/\/matplotlib.org\/stable\/contents.html\">https:\/\/matplotlib.org\/stable\/contents.html<\/a><\/li>\n<li>\u300aPython\u6570\u636e\u53ef\u89c6\u5316\u7f16\u7a0b\u5b9e\u6218\u300b\uff1a\u8fd9\u672c\u4e66\u8be6\u7ec6\u4ecb\u7ecd\u4e86\u5982\u4f55\u4f7f\u7528Python\u548cMatplotlib\u8fdb\u884c\u6570\u636e\u53ef\u89c6\u5316\u3002<\/li>\n<li>Matplotlib\u7ed8\u56fe\u6559\u7a0b\uff1a<a href=\"https:\/\/realpython.com\/python-matplotlib-guide\/\">https:\/\/realpython.com\/python-matplotlib-guide\/<\/a><\/li>\n<\/ol>\n<p><p>\u901a\u8fc7\u4e0d\u65ad\u5b66\u4e60\u548c\u5b9e\u8df5\uff0c\u4f60\u5c06\u80fd\u591f\u638c\u63e1\u66f4\u591a\u7684\u7ed8\u56fe\u6280\u5de7\u548c\u65b9\u6cd5\uff0c\u4ece\u800c\u66f4\u597d\u5730\u5904\u7406\u548c\u5c55\u793a\u4f60\u7684\u6570\u636e\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728Python\u4e2d\u7ed8\u5236\u591a\u4e2a\u66f2\u7ebf\u56fe\uff1f<\/strong><br \/>\u5728Python\u4e2d\uff0c\u53ef\u4ee5\u4f7f\u7528Matplotlib\u5e93\u6765\u7ed8\u5236\u591a\u4e2a\u66f2\u7ebf\u56fe\u3002\u9996\u5148\uff0c\u60a8\u9700\u8981\u5bfc\u5165Matplotlib\u5e93\u5e76\u51c6\u5907\u6570\u636e\u3002\u53ef\u4ee5\u4f7f\u7528<code>plt.plot()<\/code>\u51fd\u6570\u5206\u522b\u7ed8\u5236\u6bcf\u6761\u66f2\u7ebf\uff0c\u7136\u540e\u4f7f\u7528<code>plt.show()<\/code>\u6765\u5c55\u793a\u56fe\u5f62\u3002\u4f8b\u5982\uff0c\u60a8\u53ef\u4ee5\u901a\u8fc7\u4f20\u9012\u4e0d\u540c\u7684x\u548cy\u6570\u636e\u6765\u7ed8\u5236\u591a\u6761\u66f2\u7ebf\uff0c\u5e76\u901a\u8fc7\u8bbe\u7f6e\u4e0d\u540c\u7684\u989c\u8272\u548c\u6807\u7b7e\u6765\u533a\u5206\u5b83\u4eec\u3002<\/p>\n<p><strong>\u4f7f\u7528\u4ec0\u4e48\u5e93\u7ed8\u5236\u66f2\u7ebf\u56fe\u6700\u4e3a\u63a8\u8350\uff1f<\/strong><br \/>Matplotlib\u662f\u7ed8\u5236\u66f2\u7ebf\u56fe\u65f6\u6700\u5e38\u7528\u7684\u5e93\u4e4b\u4e00\uff0c\u56e0\u4e3a\u5b83\u529f\u80fd\u5f3a\u5927\u4e14\u7075\u6d3b\u3002\u6b64\u5916\uff0cSeaborn\u548cPlotly\u4e5f\u662f\u4e0d\u9519\u7684\u9009\u62e9\uff0c\u7279\u522b\u662f\u5f53\u9700\u8981\u66f4\u7f8e\u89c2\u7684\u53ef\u89c6\u5316\u6216\u8005\u4ea4\u4e92\u5f0f\u56fe\u5f62\u65f6\u3002\u9009\u62e9\u5408\u9002\u7684\u5e93\u53ef\u4ee5\u6839\u636e\u4e2a\u4eba\u9700\u6c42\u548c\u9879\u76ee\u8981\u6c42\u6765\u51b3\u5b9a\u3002<\/p>\n<p><strong>\u5982\u4f55\u5728\u66f2\u7ebf\u56fe\u4e2d\u6dfb\u52a0\u56fe\u4f8b\u548c\u6807\u9898\uff1f<\/strong><br \/>\u5728\u7ed8\u5236\u66f2\u7ebf\u56fe\u65f6\uff0c\u53ef\u4ee5\u901a\u8fc7<code>plt.title()<\/code>\u6765\u8bbe\u7f6e\u6807\u9898\uff0c\u5e76\u4f7f\u7528<code>plt.legend()<\/code>\u6765\u6dfb\u52a0\u56fe\u4f8b\u3002\u786e\u4fdd\u5728\u7ed8\u5236\u6bcf\u6761\u66f2\u7ebf\u65f6\u4e3a\u5176\u6307\u5b9a\u6807\u7b7e\uff0c\u8fd9\u6837\u56fe\u4f8b\u4f1a\u81ea\u52a8\u663e\u793a\u3002\u6dfb\u52a0\u8fd9\u4e9b\u5143\u7d20\u80fd\u591f\u4f7f\u56fe\u5f62\u66f4\u52a0\u6613\u4e8e\u7406\u89e3\uff0c\u5e76\u63d0\u4f9b\u66f4\u591a\u4fe1\u606f\u7ed9\u89c2\u4f17\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u4e00\u3001\u5bfc\u5165\u6240\u9700\u5e93 \u8981\u5728Python\u4e2d\u7ed8\u5236\u4e24\u4e2a\u66f2\u7ebf\u56fe\uff0c\u9996\u5148\u9700\u8981\u5bfc\u5165\u4e00\u4e9b\u5fc5\u8981\u7684\u5e93\u3002\u6700\u5e38\u7528\u7684\u5e93\u662fMatplotlib\uff0c [&hellip;]","protected":false},"author":3,"featured_media":1069287,"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\/1069277"}],"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=1069277"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1069277\/revisions"}],"predecessor-version":[{"id":1069288,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1069277\/revisions\/1069288"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1069287"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1069277"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1069277"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1069277"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}