{"id":1174615,"date":"2025-01-15T17:20:46","date_gmt":"2025-01-15T09:20:46","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1174615.html"},"modified":"2025-01-15T17:20:54","modified_gmt":"2025-01-15T09:20:54","slug":"python%e5%a6%82%e4%bd%95%e5%bb%ba%e7%ab%8b%e5%9d%90%e6%a0%87%e7%b3%bb","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1174615.html","title":{"rendered":"python\u5982\u4f55\u5efa\u7acb\u5750\u6807\u7cfb"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25110314\/6a277c77-0260-4fab-83b3-7e0c648c1a0a.webp\" alt=\"python\u5982\u4f55\u5efa\u7acb\u5750\u6807\u7cfb\" \/><\/p>\n<p><p> \u5728Python\u4e2d\u5efa\u7acb\u5750\u6807\u7cfb\u7684\u65b9\u6cd5\u6709\u5f88\u591a\uff0c<strong>\u6700\u5e38\u7528\u7684\u65b9\u5f0f\u662f\u901a\u8fc7Matplotlib\u5e93\u3001Seaborn\u5e93\u548cPlotly\u5e93<\/strong>\u3002\u8fd9\u4e09\u79cd\u65b9\u6cd5\u5404\u6709\u4f18\u52a3\uff0c\u4e0b\u9762\u5c06\u5206\u522b\u4ecb\u7ecd\u5176\u4e2d\u4e00\u79cd\u65b9\u5f0f\uff0c\u5373\u901a\u8fc7Matplotlib\u5e93\u6765\u5efa\u7acb\u5750\u6807\u7cfb\u3002<\/p>\n<\/p>\n<p><h3>Matplotlib\u5e93<\/h3>\n<\/p>\n<p><p><strong>Matplotlib<\/strong> \u662fPython\u4e2d\u4e00\u4e2a\u975e\u5e38\u5f3a\u5927\u76842D\u7ed8\u56fe\u5e93\uff0c\u5b83\u53ef\u4ee5\u7528\u6765\u521b\u5efa\u5404\u79cd\u56fe\u8868\u548c\u53ef\u89c6\u5316\uff0c\u5305\u62ec\u6298\u7ebf\u56fe\u3001\u67f1\u72b6\u56fe\u3001\u6563\u70b9\u56fe\u7b49\u3002\u4f7f\u7528Matplotlib\u5e93\u5efa\u7acb\u5750\u6807\u7cfb\u7684\u6b65\u9aa4\u5982\u4e0b\uff1a<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u5bfc\u5165Matplotlib\u5e93<\/strong>\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import matplotlib.pyplot as plt<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u521b\u5efa\u7ed8\u56fe\u7a97\u53e3\u548c\u5750\u6807\u7cfb<\/strong>\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">fig, ax = plt.subplots()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u8bbe\u7f6e\u5750\u6807\u8f74\u6807\u7b7e\u548c\u6807\u9898<\/strong>\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">ax.set_xlabel(&#39;X\u8f74\u6807\u7b7e&#39;)<\/p>\n<p>ax.set_ylabel(&#39;Y\u8f74\u6807\u7b7e&#39;)<\/p>\n<p>ax.set_title(&#39;\u56fe\u8868\u6807\u9898&#39;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u7ed8\u5236\u6570\u636e<\/strong>\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">x = [1, 2, 3, 4, 5]<\/p>\n<p>y = [1, 4, 9, 16, 25]<\/p>\n<p>ax.plot(x, y, label=&#39;\u6570\u636e\u6807\u7b7e&#39;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u663e\u793a\u56fe\u8868<\/strong>\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">plt.legend()<\/p>\n<p>plt.show()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<\/ol>\n<p><h3>\u4e00\u3001\u5bfc\u5165Matplotlib\u5e93<\/h3>\n<\/p>\n<p><p>\u9996\u5148\uff0c\u9700\u8981\u5b89\u88c5\u548c\u5bfc\u5165Matplotlib\u5e93\u3002\u53ef\u4ee5\u901a\u8fc7pip\u547d\u4ee4\u5b89\u88c5\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pip install matplotlib<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u5728\u4ee3\u7801\u4e2d\u5bfc\u5165Matplotlib\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import matplotlib.pyplot as plt<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u4e8c\u3001\u521b\u5efa\u7ed8\u56fe\u7a97\u53e3\u548c\u5750\u6807\u7cfb<\/h3>\n<\/p>\n<p><p>\u4f7f\u7528<code>plt.subplots()<\/code>\u521b\u5efa\u4e00\u4e2a\u7ed8\u56fe\u7a97\u53e3\u548c\u5750\u6807\u7cfb\u3002<code>fig<\/code>\u662f\u7ed8\u56fe\u7a97\u53e3\u7684\u5bf9\u8c61\uff0c<code>ax<\/code>\u662f\u5750\u6807\u7cfb\u7684\u5bf9\u8c61\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">fig, ax = plt.subplots()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u4e09\u3001\u8bbe\u7f6e\u5750\u6807\u8f74\u6807\u7b7e\u548c\u6807\u9898<\/h3>\n<\/p>\n<p><p>\u901a\u8fc7<code>ax.set_xlabel()<\/code>\u548c<code>ax.set_ylabel()<\/code>\u8bbe\u7f6eX\u8f74\u548cY\u8f74\u7684\u6807\u7b7e\uff0c\u901a\u8fc7<code>ax.set_title()<\/code>\u8bbe\u7f6e\u56fe\u8868\u7684\u6807\u9898\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">ax.set_xlabel(&#39;X\u8f74\u6807\u7b7e&#39;)<\/p>\n<p>ax.set_ylabel(&#39;Y\u8f74\u6807\u7b7e&#39;)<\/p>\n<p>ax.set_title(&#39;\u56fe\u8868\u6807\u9898&#39;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u56db\u3001\u7ed8\u5236\u6570\u636e<\/h3>\n<\/p>\n<p><p>\u5728\u5750\u6807\u7cfb\u4e2d\u6dfb\u52a0\u6570\u636e\uff0c\u53ef\u4ee5\u4f7f\u7528<code>ax.plot()<\/code>\u51fd\u6570\u3002<code>x<\/code>\u548c<code>y<\/code>\u662f\u6570\u636e\u7684\u5750\u6807\uff0c<code>label<\/code>\u662f\u6570\u636e\u7684\u6807\u7b7e\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">x = [1, 2, 3, 4, 5]<\/p>\n<p>y = [1, 4, 9, 16, 25]<\/p>\n<p>ax.plot(x, y, label=&#39;\u6570\u636e\u6807\u7b7e&#39;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u4e94\u3001\u663e\u793a\u56fe\u8868<\/h3>\n<\/p>\n<p><p>\u6700\u540e\uff0c\u901a\u8fc7<code>plt.legend()<\/code>\u6dfb\u52a0\u56fe\u4f8b\uff0c\u901a\u8fc7<code>plt.show()<\/code>\u663e\u793a\u56fe\u8868\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">plt.legend()<\/p>\n<p>plt.show()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u516d\u3001Matplotlib\u66f4\u591a\u529f\u80fd<\/h3>\n<\/p>\n<p><p>Matplotlib\u4e0d\u4ec5\u53ef\u4ee5\u521b\u5efa\u57fa\u672c\u7684\u4e8c\u7ef4\u5750\u6807\u7cfb\uff0c\u8fd8\u63d0\u4f9b\u4e86\u4e30\u5bcc\u7684\u529f\u80fd\u6765\u5b9a\u5236\u548c\u589e\u5f3a\u56fe\u8868\u6548\u679c\u3002<\/p>\n<\/p>\n<p><h4>1\u3001\u8bbe\u7f6e\u5750\u6807\u8f74\u8303\u56f4<\/h4>\n<\/p>\n<p><p>\u53ef\u4ee5\u901a\u8fc7<code>ax.set_xlim()<\/code>\u548c<code>ax.set_ylim()<\/code>\u6765\u8bbe\u7f6eX\u8f74\u548cY\u8f74\u7684\u8303\u56f4\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">ax.set_xlim([0, 6])<\/p>\n<p>ax.set_ylim([0, 30])<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>2\u3001\u8bbe\u7f6e\u523b\u5ea6\u548c\u7f51\u683c<\/h4>\n<\/p>\n<p><p>\u901a\u8fc7<code>ax.set_xticks()<\/code>\u548c<code>ax.set_yticks()<\/code>\u53ef\u4ee5\u8bbe\u7f6e\u523b\u5ea6\uff0c\u901a\u8fc7<code>ax.grid()<\/code>\u53ef\u4ee5\u6dfb\u52a0\u7f51\u683c\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">ax.set_xticks([0, 1, 2, 3, 4, 5, 6])<\/p>\n<p>ax.set_yticks([0, 5, 10, 15, 20, 25, 30])<\/p>\n<p>ax.grid(True)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>3\u3001\u7ed8\u5236\u591a\u6761\u66f2\u7ebf<\/h4>\n<\/p>\n<p><p>\u53ef\u4ee5\u5728\u540c\u4e00\u4e2a\u5750\u6807\u7cfb\u4e2d\u7ed8\u5236\u591a\u6761\u66f2\u7ebf\uff0c\u53ea\u9700\u591a\u6b21\u8c03\u7528<code>ax.plot()<\/code>\u51fd\u6570\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">x1 = [1, 2, 3, 4, 5]<\/p>\n<p>y1 = [1, 4, 9, 16, 25]<\/p>\n<p>x2 = [1, 2, 3, 4, 5]<\/p>\n<p>y2 = [25, 16, 9, 4, 1]<\/p>\n<p>ax.plot(x1, y1, label=&#39;\u66f2\u7ebf1&#39;)<\/p>\n<p>ax.plot(x2, y2, label=&#39;\u66f2\u7ebf2&#39;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>4\u3001\u4fdd\u5b58\u56fe\u8868<\/h4>\n<\/p>\n<p><p>\u53ef\u4ee5\u4f7f\u7528<code>plt.savefig()<\/code>\u51fd\u6570\u5c06\u56fe\u8868\u4fdd\u5b58\u4e3a\u6587\u4ef6\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">plt.savefig(&#39;my_plot.png&#39;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u4e03\u3001Seaborn\u5e93<\/h3>\n<\/p>\n<p><p><strong>Seaborn<\/strong> \u662f\u57fa\u4e8eMatplotlib\u7684\u9ad8\u7ea7\u53ef\u89c6\u5316\u5e93\uff0c\u63d0\u4f9b\u4e86\u66f4\u7f8e\u89c2\u548c\u66f4\u590d\u6742\u7684\u56fe\u8868\u3002\u4f7f\u7528Seaborn\u5efa\u7acb\u5750\u6807\u7cfb\u7684\u6b65\u9aa4\u5982\u4e0b\uff1a<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u5bfc\u5165Seaborn\u5e93<\/strong>\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import seaborn as sns<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u521b\u5efa\u7ed8\u56fe\u7a97\u53e3\u548c\u5750\u6807\u7cfb<\/strong>\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">ax = sns.lineplot(x=[1, 2, 3, 4, 5], y=[1, 4, 9, 16, 25])<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u8bbe\u7f6e\u5750\u6807\u8f74\u6807\u7b7e\u548c\u6807\u9898<\/strong>\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">ax.set(xlabel=&#39;X\u8f74\u6807\u7b7e&#39;, ylabel=&#39;Y\u8f74\u6807\u7b7e&#39;, title=&#39;\u56fe\u8868\u6807\u9898&#39;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u663e\u793a\u56fe\u8868<\/strong>\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">plt.show()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<\/ol>\n<p><h3>\u516b\u3001Plotly\u5e93<\/h3>\n<\/p>\n<p><p><strong>Plotly<\/strong> \u662f\u4e00\u4e2a\u7528\u4e8e\u521b\u5efa\u4ea4\u4e92\u5f0f\u56fe\u8868\u7684\u5e93\uff0c\u9002\u7528\u4e8eWeb\u5e94\u7528\u7a0b\u5e8f\u3002\u4f7f\u7528Plotly\u5efa\u7acb\u5750\u6807\u7cfb\u7684\u6b65\u9aa4\u5982\u4e0b\uff1a<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u5bfc\u5165Plotly\u5e93<\/strong>\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import plotly.graph_objects as go<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u521b\u5efa\u7ed8\u56fe\u7a97\u53e3\u548c\u5750\u6807\u7cfb<\/strong>\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">fig = go.Figure()<\/p>\n<p>fig.add_trace(go.Scatter(x=[1, 2, 3, 4, 5], y=[1, 4, 9, 16, 25], mode=&#39;lines&#39;, name=&#39;\u6570\u636e\u6807\u7b7e&#39;))<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u8bbe\u7f6e\u5750\u6807\u8f74\u6807\u7b7e\u548c\u6807\u9898<\/strong>\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">fig.update_layout(title=&#39;\u56fe\u8868\u6807\u9898&#39;, xaxis_title=&#39;X\u8f74\u6807\u7b7e&#39;, yaxis_title=&#39;Y\u8f74\u6807\u7b7e&#39;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u663e\u793a\u56fe\u8868<\/strong>\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">fig.show()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<\/ol>\n<p><h3>\u4e5d\u3001\u603b\u7ed3<\/h3>\n<\/p>\n<p><p>\u5728Python\u4e2d\uff0c<strong>\u4f7f\u7528Matplotlib\u3001Seaborn\u6216Plotly\u5e93\u6765\u5efa\u7acb\u5750\u6807\u7cfb\u662f\u975e\u5e38\u5e38\u89c1\u4e14\u6709\u6548\u7684\u65b9\u6cd5<\/strong>\u3002\u6bcf\u79cd\u5e93\u90fd\u6709\u5176\u72ec\u7279\u7684\u4f18\u52bf\u548c\u9002\u7528\u573a\u666f\u3002<strong>Matplotlib\u9002\u5408\u521b\u5efa\u57fa\u672c\u548c\u590d\u6742\u76842D\u56fe\u8868<\/strong>\uff0c<strong>Seaborn\u5219\u5728\u7f8e\u89c2\u548c\u9ad8\u7ea7\u53ef\u89c6\u5316\u4e0a\u66f4\u80dc\u4e00\u7b79<\/strong>\uff0c<strong>Plotly\u9002\u7528\u4e8e\u521b\u5efa\u4ea4\u4e92\u5f0f\u56fe\u8868<\/strong>\u3002\u6839\u636e\u5177\u4f53\u9700\u6c42\u9009\u62e9\u5408\u9002\u7684\u5e93\uff0c\u53ef\u4ee5\u66f4\u597d\u5730\u5b9e\u73b0\u6570\u636e\u53ef\u89c6\u5316\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728Python\u4e2d\u521b\u5efa\u4e00\u4e2a\u7b80\u5355\u7684\u5750\u6807\u7cfb\uff1f<\/strong><br \/>\u5728Python\u4e2d\uff0c\u53ef\u4ee5\u4f7f\u7528Matplotlib\u5e93\u6765\u521b\u5efa\u5750\u6807\u7cfb\u3002\u9996\u5148\uff0c\u60a8\u9700\u8981\u5b89\u88c5Matplotlib\u5e93\uff08\u5982\u679c\u5c1a\u672a\u5b89\u88c5\uff09\uff0c\u53ef\u4ee5\u901a\u8fc7\u8fd0\u884c<code>pip install matplotlib<\/code>\u6765\u5b8c\u6210\u3002\u4e4b\u540e\uff0c\u60a8\u53ef\u4ee5\u4f7f\u7528<code>plt.plot()<\/code>\u65b9\u6cd5\u7ed8\u5236\u6570\u636e\u70b9\uff0c<code>plt.xlim()<\/code>\u548c<code>plt.ylim()<\/code>\u8bbe\u7f6e\u5750\u6807\u8f74\u7684\u8303\u56f4\uff0c\u6700\u540e\u4f7f\u7528<code>plt.show()<\/code>\u5c55\u793a\u5750\u6807\u7cfb\u3002<\/p>\n<p><strong>Python\u4e2d\u6709\u54ea\u4e9b\u5e93\u53ef\u4ee5\u7528\u6765\u7ed8\u5236\u5750\u6807\u7cfb\uff1f<\/strong><br \/>\u9664\u4e86Matplotlib\uff0cPython\u8fd8\u6709\u5176\u4ed6\u4e00\u4e9b\u5e93\u53ef\u4ee5\u7528\u6765\u521b\u5efa\u5750\u6807\u7cfb\u3002\u4f8b\u5982\uff0cSeaborn\u662f\u4e00\u4e2a\u57fa\u4e8eMatplotlib\u7684\u5e93\uff0c\u63d0\u4f9b\u4e86\u66f4\u7f8e\u89c2\u7684\u7edf\u8ba1\u56fe\u5f62\uff1bPlotly\u652f\u6301\u4ea4\u4e92\u5f0f\u7ed8\u56fe\uff0c\u53ef\u4ee5\u5728\u7f51\u9875\u4e0a\u5c55\u793a\uff1b\u800cBokeh\u5219\u4e13\u6ce8\u4e8e\u5927\u6570\u636e\u7684\u53ef\u89c6\u5316\uff0c\u9002\u5408\u4e8e\u521b\u5efa\u590d\u6742\u7684\u4ea4\u4e92\u5f0f\u56fe\u8868\u3002\u6839\u636e\u60a8\u7684\u9700\u6c42\uff0c\u53ef\u4ee5\u9009\u62e9\u6700\u5408\u9002\u7684\u5e93\u3002<\/p>\n<p><strong>\u5982\u4f55\u5728\u5750\u6807\u7cfb\u4e2d\u6dfb\u52a0\u6807\u7b7e\u548c\u6807\u9898\uff1f<\/strong><br \/>\u5728\u4f7f\u7528Matplotlib\u521b\u5efa\u5750\u6807\u7cfb\u65f6\uff0c\u53ef\u4ee5\u901a\u8fc7<code>plt.title()<\/code>\u4e3a\u56fe\u5f62\u6dfb\u52a0\u6807\u9898\uff0c\u4f7f\u7528<code>plt.xlabel()<\/code>\u548c<code>plt.ylabel()<\/code>\u5206\u522b\u4e3ax\u8f74\u548cy\u8f74\u6dfb\u52a0\u6807\u7b7e\u3002\u8fd9\u4e9b\u65b9\u6cd5\u80fd\u591f\u5e2e\u52a9\u89c2\u4f17\u66f4\u597d\u5730\u7406\u89e3\u56fe\u8868\u6240\u8868\u8fbe\u7684\u4fe1\u606f\u3002\u4f8b\u5982\uff0c\u60a8\u53ef\u4ee5\u5728\u7ed8\u56fe\u4ee3\u7801\u4e2d\u6dfb\u52a0<code>plt.title(&quot;\u6211\u7684\u5750\u6807\u7cfb&quot;)<\/code>\u6765\u8bbe\u7f6e\u6807\u9898\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5728Python\u4e2d\u5efa\u7acb\u5750\u6807\u7cfb\u7684\u65b9\u6cd5\u6709\u5f88\u591a\uff0c\u6700\u5e38\u7528\u7684\u65b9\u5f0f\u662f\u901a\u8fc7Matplotlib\u5e93\u3001Seaborn\u5e93\u548cPlotl [&hellip;]","protected":false},"author":3,"featured_media":1174633,"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\/1174615"}],"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=1174615"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1174615\/revisions"}],"predecessor-version":[{"id":1174634,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1174615\/revisions\/1174634"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1174633"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1174615"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1174615"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1174615"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}