{"id":1181792,"date":"2025-01-15T18:55:50","date_gmt":"2025-01-15T10:55:50","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1181792.html"},"modified":"2025-01-15T18:55:52","modified_gmt":"2025-01-15T10:55:52","slug":"%e5%a6%82%e4%bd%95%e7%94%a8python%e7%bb%98%e5%88%b6%e8%bd%b4%e5%ad%97","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1181792.html","title":{"rendered":"\u5982\u4f55\u7528python\u7ed8\u5236\u8f74\u5b57"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25130019\/7b64af54-9d22-479e-8336-11deb377f89e.webp\" alt=\"\u5982\u4f55\u7528python\u7ed8\u5236\u8f74\u5b57\" \/><\/p>\n<p><p> \u8981\u7528Python\u7ed8\u5236\u8f74\u5b57\uff0c\u53ef\u4ee5\u5229\u7528Matplotlib\u5e93\u6765\u5b9e\u73b0\u3002Matplotlib\u662fPython\u4e2d\u6700\u5e38\u7528\u7684\u7ed8\u56fe\u5e93\u4e4b\u4e00\uff0c\u63d0\u4f9b\u4e86\u4e30\u5bcc\u7684API\u6765\u521b\u5efa\u5404\u79cd\u7c7b\u578b\u7684\u56fe\u8868\u3002<strong>\u901a\u8fc7Matplotlib\u5e93\uff0c\u53ef\u4ee5\u8f7b\u677e\u5730\u6dfb\u52a0\u548c\u81ea\u5b9a\u4e49\u56fe\u8868\u7684\u8f74\u5b57<\/strong>\u3002<strong>\u8bbe\u7f6e\u5b57\u4f53\u5c5e\u6027\u3001\u65cb\u8f6c\u89d2\u5ea6\u3001\u4f4d\u7f6e\u548c\u989c\u8272<\/strong>\uff0c\u90fd\u53ef\u4ee5\u901a\u8fc7Matplotlib\u5b9e\u73b0\u3002<\/p>\n<\/p>\n<p><p>\u4e0b\u9762\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u5982\u4f55\u7528Python\u7ed8\u5236\u8f74\u5b57\uff0c\u5305\u62ec\u5982\u4f55\u5b89\u88c5Matplotlib\u5e93\u3001\u521b\u5efa\u57fa\u672c\u56fe\u8868\u3001\u8bbe\u7f6e\u8f74\u5b57\u5c5e\u6027\u548c\u81ea\u5b9a\u4e49\u8f74\u5b57\u6837\u5f0f\u3002<\/p>\n<\/p>\n<p><p>\u4e00\u3001\u5b89\u88c5Matplotlib\u5e93<\/p>\n<\/p>\n<p><p>\u5728\u5f00\u59cb\u7ed8\u5236\u56fe\u8868\u4e4b\u524d\uff0c\u9996\u5148\u9700\u8981\u5b89\u88c5Matplotlib\u5e93\u3002\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u901a\u8fc7pip\u8fdb\u884c\u5b89\u88c5\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">pip install matplotlib<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u786e\u4fdd\u5b89\u88c5\u6210\u529f\u540e\uff0c\u5c31\u53ef\u4ee5\u5f00\u59cb\u4f7f\u7528\u8be5\u5e93\u6765\u7ed8\u5236\u56fe\u8868\u5e76\u8bbe\u7f6e\u8f74\u5b57\u3002<\/p>\n<\/p>\n<p><p>\u4e8c\u3001\u521b\u5efa\u57fa\u672c\u56fe\u8868<\/p>\n<\/p>\n<p><p>\u521b\u5efa\u4e00\u4e2a\u57fa\u672c\u7684\u56fe\u8868\u662f\u7ed8\u5236\u8f74\u5b57\u7684\u524d\u63d0\u3002\u4ee5\u4e0b\u662f\u4f7f\u7528Matplotlib\u521b\u5efa\u4e00\u4e2a\u7b80\u5355\u6298\u7ebf\u56fe\u7684\u793a\u4f8b\u4ee3\u7801\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import matplotlib.pyplot as plt<\/p>\n<h2><strong>\u521b\u5efa\u6570\u636e<\/strong><\/h2>\n<p>x = [1, 2, 3, 4, 5]<\/p>\n<p>y = [2, 3, 5, 7, 11]<\/p>\n<h2><strong>\u521b\u5efa\u56fe\u8868<\/strong><\/h2>\n<p>plt.plot(x, y)<\/p>\n<h2><strong>\u6dfb\u52a0\u6807\u9898\u548c\u6807\u7b7e<\/strong><\/h2>\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<h2><strong>\u663e\u793a\u56fe\u8868<\/strong><\/h2>\n<p>plt.show()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u793a\u4f8b\u4e2d\uff0c<code>plt.plot<\/code>\u51fd\u6570\u7528\u4e8e\u7ed8\u5236\u6298\u7ebf\u56fe\uff0c<code>plt.title<\/code>\u3001<code>plt.xlabel<\/code>\u548c<code>plt.ylabel<\/code>\u51fd\u6570\u7528\u4e8e\u6dfb\u52a0\u6807\u9898\u548c\u6807\u7b7e\u3002<\/p>\n<\/p>\n<p><p>\u4e09\u3001\u8bbe\u7f6e\u8f74\u5b57\u5c5e\u6027<\/p>\n<\/p>\n<p><p>\u8bbe\u7f6e\u8f74\u5b57\u5c5e\u6027\u53ef\u4ee5\u8ba9\u56fe\u8868\u66f4\u52a0\u7f8e\u89c2\u548c\u6613\u8bfb\u3002Matplotlib\u63d0\u4f9b\u4e86\u591a\u79cd\u65b9\u5f0f\u6765\u81ea\u5b9a\u4e49\u8f74\u5b57\u7684\u6837\u5f0f\uff0c\u5305\u62ec\u5b57\u4f53\u5927\u5c0f\u3001\u5b57\u4f53\u989c\u8272\u3001\u65cb\u8f6c\u89d2\u5ea6\u7b49\u3002\u4ee5\u4e0b\u662f\u4e00\u4e9b\u5e38\u89c1\u7684\u8bbe\u7f6e\u65b9\u6cd5\uff1a<\/p>\n<\/p>\n<p><h3>1. \u8bbe\u7f6e\u5b57\u4f53\u5927\u5c0f\u548c\u989c\u8272<\/h3>\n<\/p>\n<p><p>\u53ef\u4ee5\u4f7f\u7528<code>fontsize<\/code>\u548c<code>color<\/code>\u53c2\u6570\u6765\u8bbe\u7f6e\u8f74\u5b57\u7684\u5b57\u4f53\u5927\u5c0f\u548c\u989c\u8272\u3002\u4f8b\u5982\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">plt.xlabel(&#39;X Axis&#39;, fontsize=14, color=&#39;blue&#39;)<\/p>\n<p>plt.ylabel(&#39;Y Axis&#39;, fontsize=14, color=&#39;red&#39;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>2. \u65cb\u8f6c\u8f74\u5b57<\/h3>\n<\/p>\n<p><p>\u901a\u8fc7<code>rotation<\/code>\u53c2\u6570\u53ef\u4ee5\u65cb\u8f6c\u8f74\u5b57\u3002\u4f8b\u5982\uff0c\u5c06X\u8f74\u6807\u7b7e\u65cb\u8f6c45\u5ea6\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">plt.xticks(rotation=45)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>3. \u8bbe\u7f6e\u5b57\u4f53\u6837\u5f0f<\/h3>\n<\/p>\n<p><p>\u53ef\u4ee5\u4f7f\u7528<code>fontweight<\/code>\u548c<code>fontstyle<\/code>\u53c2\u6570\u6765\u8bbe\u7f6e\u8f74\u5b57\u7684\u5b57\u4f53\u6837\u5f0f\u3002\u4f8b\u5982\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">plt.xlabel(&#39;X Axis&#39;, fontweight=&#39;bold&#39;, fontstyle=&#39;italic&#39;)<\/p>\n<p>plt.ylabel(&#39;Y Axis&#39;, fontweight=&#39;bold&#39;, fontstyle=&#39;italic&#39;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>4. \u8bbe\u7f6e\u8f74\u5b57\u4f4d\u7f6e<\/h3>\n<\/p>\n<p><p>\u4f7f\u7528<code>labelpad<\/code>\u53c2\u6570\u53ef\u4ee5\u8c03\u6574\u8f74\u5b57\u4e0e\u8f74\u4e4b\u95f4\u7684\u8ddd\u79bb\u3002\u4f8b\u5982\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">plt.xlabel(&#39;X Axis&#39;, labelpad=20)<\/p>\n<p>plt.ylabel(&#39;Y Axis&#39;, labelpad=20)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u56db\u3001\u5b9a\u5236\u8f74\u5b57\u6837\u5f0f<\/p>\n<\/p>\n<p><p>\u9664\u4e86\u57fa\u672c\u7684\u5c5e\u6027\u8bbe\u7f6e\u5916\uff0cMatplotlib\u8fd8\u5141\u8bb8\u5bf9\u8f74\u5b57\u8fdb\u884c\u66f4\u9ad8\u7ea7\u7684\u5b9a\u5236\u3002\u4ee5\u4e0b\u662f\u4e00\u4e9b\u5e38\u89c1\u7684\u5b9a\u5236\u65b9\u6cd5\uff1a<\/p>\n<\/p>\n<p><h3>1. \u4f7f\u7528\u5b57\u4f53\u5b57\u5178<\/h3>\n<\/p>\n<p><p>\u53ef\u4ee5\u4f7f\u7528\u4e00\u4e2a\u5b57\u4f53\u5b57\u5178\u6765\u7edf\u4e00\u8bbe\u7f6e\u8f74\u5b57\u7684\u6837\u5f0f\u3002\u4f8b\u5982\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">font = {&#39;family&#39;: &#39;serif&#39;,<\/p>\n<p>        &#39;color&#39;:  &#39;darkred&#39;,<\/p>\n<p>        &#39;weight&#39;: &#39;normal&#39;,<\/p>\n<p>        &#39;size&#39;: 16,<\/p>\n<p>        }<\/p>\n<p>plt.xlabel(&#39;X Axis&#39;, fontdict=font)<\/p>\n<p>plt.ylabel(&#39;Y Axis&#39;, fontdict=font)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>2. \u8bbe\u7f6e\u7279\u5b9a\u7684\u8f74\u5b57<\/h3>\n<\/p>\n<p><p>\u53ef\u4ee5\u4f7f\u7528<code>set_xticklabels<\/code>\u548c<code>set_yticklabels<\/code>\u51fd\u6570\u6765\u8bbe\u7f6e\u7279\u5b9a\u7684\u8f74\u5b57\u3002\u4f8b\u5982\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">plt.xticks([1, 2, 3, 4, 5], [&#39;One&#39;, &#39;Two&#39;, &#39;Three&#39;, &#39;Four&#39;, &#39;Five&#39;])<\/p>\n<p>plt.yticks([2, 3, 5, 7, 11], [&#39;Two&#39;, &#39;Three&#39;, &#39;Five&#39;, &#39;Seven&#39;, &#39;Eleven&#39;])<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>3. \u4f7f\u7528LaTeX\u683c\u5f0f<\/h3>\n<\/p>\n<p><p>Matplotlib\u652f\u6301\u4f7f\u7528LaTeX\u683c\u5f0f\u6765\u7ed8\u5236\u6570\u5b66\u516c\u5f0f\u3002\u4f8b\u5982\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">plt.xlabel(r&#39;$x^2$&#39;, fontsize=14)<\/p>\n<p>plt.ylabel(r&#39;$y = \\sin(x)$&#39;, fontsize=14)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u4e94\u3001\u7ed8\u5236\u590d\u6742\u56fe\u8868\u5e76\u8bbe\u7f6e\u8f74\u5b57<\/p>\n<\/p>\n<p><p>\u5728\u5b9e\u9645\u5e94\u7528\u4e2d\uff0c\u53ef\u80fd\u9700\u8981\u7ed8\u5236\u66f4\u590d\u6742\u7684\u56fe\u8868\uff0c\u5e76\u5bf9\u8f74\u5b57\u8fdb\u884c\u8be6\u7ec6\u8bbe\u7f6e\u3002\u4ee5\u4e0b\u662f\u4e00\u4e2a\u7ed8\u5236\u5e26\u6709\u6b21\u523b\u5ea6\u7ebf\u7684\u53ccY\u8f74\u56fe\u8868\u7684\u793a\u4f8b\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>\u521b\u5efa\u6570\u636e<\/strong><\/h2>\n<p>x = np.linspace(0, 10, 100)<\/p>\n<p>y1 = np.sin(x)<\/p>\n<p>y2 = np.cos(x)<\/p>\n<p>fig, ax1 = plt.subplots()<\/p>\n<h2><strong>\u7ed8\u5236\u7b2c\u4e00\u4e2aY\u8f74<\/strong><\/h2>\n<p>ax1.plot(x, y1, &#39;g-&#39;)<\/p>\n<p>ax1.set_xlabel(&#39;X Axis&#39;, fontsize=14, color=&#39;blue&#39;)<\/p>\n<p>ax1.set_ylabel(&#39;Sin(X)&#39;, fontsize=14, color=&#39;green&#39;)<\/p>\n<h2><strong>\u521b\u5efa\u7b2c\u4e8c\u4e2aY\u8f74<\/strong><\/h2>\n<p>ax2 = ax1.twinx()<\/p>\n<p>ax2.plot(x, y2, &#39;b-&#39;)<\/p>\n<p>ax2.set_ylabel(&#39;Cos(X)&#39;, fontsize=14, color=&#39;blue&#39;)<\/p>\n<h2><strong>\u6dfb\u52a0\u6b21\u523b\u5ea6\u7ebf<\/strong><\/h2>\n<p>ax1.minorticks_on()<\/p>\n<p>ax2.minorticks_on()<\/p>\n<h2><strong>\u663e\u793a\u56fe\u8868<\/strong><\/h2>\n<p>plt.title(&#39;Double Y Axis Plot with Minor Ticks&#39;)<\/p>\n<p>plt.show()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u793a\u4f8b\u4e2d\uff0c\u4f7f\u7528<code>twinx<\/code>\u51fd\u6570\u521b\u5efa\u4e86\u7b2c\u4e8c\u4e2aY\u8f74\uff0c\u5e76\u5bf9\u4e24\u4e2aY\u8f74\u7684\u8f74\u5b57\u8fdb\u884c\u4e86\u4e0d\u540c\u7684\u8bbe\u7f6e\u3002\u540c\u65f6\uff0c\u4f7f\u7528<code>minorticks_on<\/code>\u51fd\u6570\u6dfb\u52a0\u4e86\u6b21\u523b\u5ea6\u7ebf\u3002<\/p>\n<\/p>\n<p><p>\u516d\u3001\u603b\u7ed3<\/p>\n<\/p>\n<p><p>\u901a\u8fc7\u4ee5\u4e0a\u4ecb\u7ecd\uff0c\u53ef\u4ee5\u770b\u5230<strong>\u4f7f\u7528Matplotlib\u5e93\u53ef\u4ee5\u975e\u5e38\u7075\u6d3b\u5730\u7ed8\u5236\u5404\u79cd\u7c7b\u578b\u7684\u56fe\u8868\u5e76\u8bbe\u7f6e\u8f74\u5b57<\/strong>\u3002\u65e0\u8bba\u662f\u7b80\u5355\u7684\u8f74\u5b57\u5c5e\u6027\u8bbe\u7f6e\uff0c\u8fd8\u662f\u590d\u6742\u7684\u8f74\u5b57\u5b9a\u5236\uff0c\u90fd\u53ef\u4ee5\u901a\u8fc7Matplotlib\u8f7b\u677e\u5b9e\u73b0\u3002<strong>\u638c\u63e1\u8fd9\u4e9b\u6280\u5de7\uff0c\u53ef\u4ee5\u5e2e\u52a9\u4f60\u521b\u5efa\u66f4\u52a0\u7f8e\u89c2\u548c\u4e13\u4e1a\u7684\u56fe\u8868<\/strong>\u3002\u5e0c\u671b\u672c\u6587\u5bf9\u4f60\u5982\u4f55\u7528Python\u7ed8\u5236\u8f74\u5b57\u6709\u6240\u5e2e\u52a9\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u4f7f\u7528Python\u7ed8\u5236\u5e26\u8f74\u7684\u56fe\u5f62\uff1f<\/strong><br \/>\u8981\u5728Python\u4e2d\u7ed8\u5236\u5e26\u8f74\u7684\u56fe\u5f62\uff0c\u901a\u5e38\u53ef\u4ee5\u4f7f\u7528Matplotlib\u5e93\u3002\u9996\u5148\uff0c\u786e\u4fdd\u5df2\u5b89\u88c5\u8be5\u5e93\uff0c\u53ef\u4ee5\u901a\u8fc7<code>pip install matplotlib<\/code>\u8fdb\u884c\u5b89\u88c5\u3002\u63a5\u7740\uff0c\u4f7f\u7528<code>plt.plot()<\/code>\u6765\u7ed8\u5236\u6570\u636e\uff0c\u5e76\u901a\u8fc7<code>plt.axis()<\/code>\u6765\u8bbe\u7f6e\u8f74\u7684\u8303\u56f4\u548c\u6837\u5f0f\u3002\u793a\u4f8b\u4ee3\u7801\u5982\u4e0b\uff1a<\/p>\n<pre><code class=\"language-python\">import matplotlib.pyplot as plt\n\nx = [0, 1, 2, 3, 4]\ny = [0, 1, 4, 9, 16]\n\nplt.plot(x, y)\nplt.axis([0, 5, 0, 20])  # \u8bbe\u7f6ex\u8f74\u548cy\u8f74\u7684\u8303\u56f4\nplt.xlabel(&#39;X\u8f74&#39;)\nplt.ylabel(&#39;Y\u8f74&#39;)\nplt.title(&#39;\u793a\u4f8b\u56fe&#39;)\nplt.grid(True)\nplt.show()\n<\/code><\/pre>\n<p><strong>\u5982\u4f55\u81ea\u5b9a\u4e49Python\u56fe\u5f62\u7684\u8f74\u6807\u7b7e\u548c\u6807\u9898\uff1f<\/strong><br \/>\u5728\u4f7f\u7528Matplotlib\u7ed8\u56fe\u65f6\uff0c\u53ef\u4ee5\u901a\u8fc7<code>plt.xlabel()<\/code>\u548c<code>plt.ylabel()<\/code>\u6765\u8bbe\u7f6ex\u8f74\u548cy\u8f74\u7684\u6807\u7b7e\uff0c\u901a\u8fc7<code>plt.title()<\/code>\u6765\u8bbe\u7f6e\u56fe\u5f62\u7684\u6807\u9898\u3002\u786e\u4fdd\u5728\u8c03\u7528<code>plt.show()<\/code>\u4e4b\u524d\u8bbe\u7f6e\u8fd9\u4e9b\u5c5e\u6027\uff0c\u8fd9\u6837\u56fe\u5f62\u4f1a\u6b63\u786e\u663e\u793a\u81ea\u5b9a\u4e49\u7684\u6587\u672c\u3002<\/p>\n<p><strong>\u5728Python\u4e2d\u5982\u4f55\u6dfb\u52a0\u7f51\u683c\u7ebf\u4ee5\u589e\u5f3a\u56fe\u5f62\u7684\u53ef\u8bfb\u6027\uff1f<\/strong><br \/>\u53ef\u4ee5\u4f7f\u7528<code>plt.grid()<\/code>\u51fd\u6570\u6765\u6dfb\u52a0\u7f51\u683c\u7ebf\u3002\u8be5\u51fd\u6570\u53ef\u4ee5\u63a5\u53d7\u53c2\u6570\u6765\u63a7\u5236\u7f51\u683c\u7ebf\u7684\u6837\u5f0f\u548c\u53ef\u89c1\u6027\u3002\u4f8b\u5982\uff0c\u4f7f\u7528<code>plt.grid(True)<\/code>\u53ef\u4ee5\u542f\u7528\u9ed8\u8ba4\u6837\u5f0f\u7684\u7f51\u683c\u7ebf\u3002\u82e5\u8981\u8fdb\u4e00\u6b65\u81ea\u5b9a\u4e49\u7f51\u683c\u7ebf\u7684\u989c\u8272\u548c\u6837\u5f0f\uff0c\u53ef\u4ee5\u4f7f\u7528<code>plt.grid(color=&#39;gray&#39;, linestyle=&#39;--&#39;)<\/code>\u3002\u8fd9\u6837\uff0c\u56fe\u5f62\u7684\u53ef\u8bfb\u6027\u4f1a\u663e\u8457\u63d0\u9ad8\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u8981\u7528Python\u7ed8\u5236\u8f74\u5b57\uff0c\u53ef\u4ee5\u5229\u7528Matplotlib\u5e93\u6765\u5b9e\u73b0\u3002Matplotlib\u662fPython\u4e2d\u6700\u5e38\u7528\u7684\u7ed8 [&hellip;]","protected":false},"author":3,"featured_media":1181795,"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\/1181792"}],"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=1181792"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1181792\/revisions"}],"predecessor-version":[{"id":1181797,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1181792\/revisions\/1181797"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1181795"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1181792"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1181792"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1181792"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}