{"id":1112927,"date":"2025-01-08T17:43:03","date_gmt":"2025-01-08T09:43:03","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1112927.html"},"modified":"2025-01-08T17:43:03","modified_gmt":"2025-01-08T09:43:03","slug":"python%e5%a6%82%e4%bd%95%e5%81%9a%e4%b8%80%e7%bb%b4%e7%83%ad%e5%9b%beimshow","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1112927.html","title":{"rendered":"python\u5982\u4f55\u505a\u4e00\u7ef4\u70ed\u56feimshow"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25074743\/7978fd12-fa88-44ad-8c1d-db3747ed073a.webp\" alt=\"python\u5982\u4f55\u505a\u4e00\u7ef4\u70ed\u56feimshow\" \/><\/p>\n<p><p> <strong>\u8981\u5728Python\u4e2d\u4f7f\u7528imshow\u7ed8\u5236\u4e00\u7ef4\u70ed\u56fe\uff0c\u53ef\u4ee5\u4f7f\u7528Matplotlib\u5e93\u3002\u5177\u4f53\u6b65\u9aa4\u5305\u62ec\u52a0\u8f7d\u6570\u636e\u3001\u521b\u5efa\u70ed\u56fe\u3001\u8c03\u6574\u989c\u8272\u6620\u5c04\u548c\u5916\u89c2\u7b49\u3002<\/strong> \u4f7f\u7528imshow\u7ed8\u5236\u4e00\u7ef4\u70ed\u56fe\u7684\u5173\u952e\u6b65\u9aa4\u5305\u62ec\uff1a1.\u51c6\u5907\u6570\u636e\u30012.\u4f7f\u7528imshow\u51fd\u6570\u30013.\u8c03\u6574\u70ed\u56fe\u7684\u989c\u8272\u6620\u5c04\u30014.\u6dfb\u52a0\u6807\u7b7e\u548c\u6807\u9898\u3002\u4e0b\u9762\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u5982\u4f55\u5b8c\u6210\u8fd9\u4e9b\u6b65\u9aa4\u3002<\/p>\n<\/p>\n<p><h3>\u4e00\u3001\u51c6\u5907\u6570\u636e<\/h3>\n<\/p>\n<p><p>\u5728\u5f00\u59cb\u7ed8\u5236\u70ed\u56fe\u4e4b\u524d\uff0c\u9996\u5148\u9700\u8981\u51c6\u5907\u597d\u6570\u636e\u3002\u5047\u8bbe\u6211\u4eec\u6709\u4e00\u4e2a\u4e00\u7ef4\u6570\u7ec4\u7684\u6570\u636e\uff0c\u53ef\u4ee5\u5c06\u5176\u8f6c\u6362\u4e3a\u9002\u5408\u70ed\u56fe\u7ed8\u5236\u7684\u4e8c\u7ef4\u6570\u7ec4\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import numpy as np<\/p>\n<h2><strong>\u751f\u6210\u4e00\u7ef4\u6570\u7ec4\u6570\u636e<\/strong><\/h2>\n<p>data = np.random.rand(10)<\/p>\n<h2><strong>\u5c06\u4e00\u7ef4\u6570\u7ec4\u8f6c\u6362\u4e3a\u4e8c\u7ef4\u6570\u7ec4<\/strong><\/h2>\n<p>data_2d = np.reshape(data, (1, len(data)))<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u6bb5\u4ee3\u7801\u4e2d\uff0c\u6211\u4eec\u751f\u6210\u4e86\u4e00\u4e2a\u5305\u542b10\u4e2a\u968f\u673a\u6570\u7684\u4e00\u7ef4\u6570\u7ec4<code>data<\/code>\uff0c\u7136\u540e\u5c06\u5176\u8f6c\u6362\u4e3a1\u884c10\u5217\u7684\u4e8c\u7ef4\u6570\u7ec4<code>data_2d<\/code>\u3002<\/p>\n<\/p>\n<p><h3>\u4e8c\u3001\u4f7f\u7528imshow\u51fd\u6570<\/h3>\n<\/p>\n<p><p>\u63a5\u4e0b\u6765\uff0c\u6211\u4eec\u4f7f\u7528Matplotlib\u5e93\u4e2d\u7684imshow\u51fd\u6570\u6765\u7ed8\u5236\u70ed\u56fe\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import matplotlib.pyplot as plt<\/p>\n<h2><strong>\u4f7f\u7528imshow\u7ed8\u5236\u70ed\u56fe<\/strong><\/h2>\n<p>plt.imshow(data_2d, cmap=&#39;viridis&#39;, aspect=&#39;auto&#39;)<\/p>\n<p>plt.colorbar(label=&#39;Value&#39;)<\/p>\n<p>plt.title(&#39;1D Heatmap&#39;)<\/p>\n<p>plt.xlabel(&#39;Index&#39;)<\/p>\n<p>plt.ylabel(&#39;Value&#39;)<\/p>\n<p>plt.show()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u6bb5\u4ee3\u7801\u4e2d\uff0c\u6211\u4eec\u4f7f\u7528<code>plt.imshow<\/code>\u51fd\u6570\u7ed8\u5236\u70ed\u56fe\uff0c\u5e76\u6307\u5b9a\u4e86\u989c\u8272\u6620\u5c04\uff08<code>cmap=&#39;viridis&#39;<\/code>\uff09\u548c\u7eb5\u6a2a\u6bd4\uff08<code>aspect=&#39;auto&#39;<\/code>\uff09\u3002\u7136\u540e\uff0c\u6211\u4eec\u6dfb\u52a0\u4e86\u989c\u8272\u6761\u3001\u6807\u9898\u3001x\u8f74\u548cy\u8f74\u6807\u7b7e\u3002<\/p>\n<\/p>\n<p><h3>\u4e09\u3001\u8c03\u6574\u70ed\u56fe\u7684\u989c\u8272\u6620\u5c04<\/h3>\n<\/p>\n<p><p>\u989c\u8272\u6620\u5c04\uff08colormap\uff09\u662f\u70ed\u56fe\u7684\u4e00\u4e2a\u91cd\u8981\u90e8\u5206\uff0c\u5b83\u51b3\u5b9a\u4e86\u6570\u636e\u503c\u5982\u4f55\u6620\u5c04\u5230\u989c\u8272\u3002Matplotlib\u63d0\u4f9b\u4e86\u591a\u79cd\u989c\u8272\u6620\u5c04\uff0c\u53ef\u4ee5\u6839\u636e\u9700\u8981\u9009\u62e9\u5408\u9002\u7684\u989c\u8272\u6620\u5c04\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># \u4f7f\u7528\u4e0d\u540c\u7684\u989c\u8272\u6620\u5c04<\/p>\n<p>plt.imshow(data_2d, cmap=&#39;plasma&#39;, aspect=&#39;auto&#39;)<\/p>\n<p>plt.colorbar(label=&#39;Value&#39;)<\/p>\n<p>plt.title(&#39;1D Heatmap with Plasma Colormap&#39;)<\/p>\n<p>plt.xlabel(&#39;Index&#39;)<\/p>\n<p>plt.ylabel(&#39;Value&#39;)<\/p>\n<p>plt.show()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u6bb5\u4ee3\u7801\u4e2d\uff0c\u6211\u4eec\u5c06\u989c\u8272\u6620\u5c04\u66f4\u6539\u4e3a&#39;plasma&#39;\uff0c\u53ef\u4ee5\u5c1d\u8bd5\u5176\u4ed6\u989c\u8272\u6620\u5c04\u6765\u627e\u5230\u6700\u9002\u5408\u7684\u6570\u636e\u8868\u793a\u3002<\/p>\n<\/p>\n<p><h3>\u56db\u3001\u6dfb\u52a0\u6807\u7b7e\u548c\u6807\u9898<\/h3>\n<\/p>\n<p><p>\u4e3a\u4e86\u4f7f\u70ed\u56fe\u66f4\u5177\u53ef\u8bfb\u6027\uff0c\u53ef\u4ee5\u6dfb\u52a0\u6807\u7b7e\u548c\u6807\u9898\u3002\u9664\u4e86\u524d\u9762\u793a\u4f8b\u4e2d\u7684\u57fa\u672c\u6807\u7b7e\uff0c\u8fd8\u53ef\u4ee5\u8fdb\u4e00\u6b65\u5b9a\u5236\u6807\u7b7e\u548c\u6807\u9898\u7684\u6837\u5f0f\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># \u81ea\u5b9a\u4e49\u6807\u7b7e\u548c\u6807\u9898\u6837\u5f0f<\/p>\n<p>plt.imshow(data_2d, cmap=&#39;viridis&#39;, aspect=&#39;auto&#39;)<\/p>\n<p>plt.colorbar(label=&#39;Value&#39;)<\/p>\n<p>plt.title(&#39;1D Heatmap&#39;, fontsize=16, fontweight=&#39;bold&#39;)<\/p>\n<p>plt.xlabel(&#39;Index&#39;, fontsize=14)<\/p>\n<p>plt.ylabel(&#39;Value&#39;, fontsize=14)<\/p>\n<p>plt.xticks(fontsize=12)<\/p>\n<p>plt.yticks(fontsize=12)<\/p>\n<p>plt.show()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u6bb5\u4ee3\u7801\u4e2d\uff0c\u6211\u4eec\u901a\u8fc7\u6307\u5b9a\u5b57\u4f53\u5927\u5c0f\u548c\u5b57\u4f53\u7c97\u7ec6\u6765\u81ea\u5b9a\u4e49\u6807\u9898\u548c\u6807\u7b7e\u7684\u6837\u5f0f\u3002<\/p>\n<\/p>\n<p><h3>\u4e94\u3001\u4f7f\u7528\u4e0d\u540c\u7684\u63d2\u503c\u65b9\u6cd5<\/h3>\n<\/p>\n<p><p>imshow\u51fd\u6570\u63d0\u4f9b\u4e86\u591a\u79cd\u63d2\u503c\u65b9\u6cd5\uff0c\u53ef\u4ee5\u901a\u8fc7\u6307\u5b9a<code>interpolation<\/code>\u53c2\u6570\u6765\u9009\u62e9\u5408\u9002\u7684\u63d2\u503c\u65b9\u6cd5\u3002\u5e38\u89c1\u7684\u63d2\u503c\u65b9\u6cd5\u5305\u62ec<code>nearest<\/code>\u3001<code>bilinear<\/code>\u3001<code>bicubic<\/code>\u7b49\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># \u4f7f\u7528\u4e0d\u540c\u7684\u63d2\u503c\u65b9\u6cd5<\/p>\n<p>plt.imshow(data_2d, cmap=&#39;viridis&#39;, aspect=&#39;auto&#39;, interpolation=&#39;nearest&#39;)<\/p>\n<p>plt.colorbar(label=&#39;Value&#39;)<\/p>\n<p>plt.title(&#39;1D Heatmap with Nearest Interpolation&#39;)<\/p>\n<p>plt.xlabel(&#39;Index&#39;)<\/p>\n<p>plt.ylabel(&#39;Value&#39;)<\/p>\n<p>plt.show()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u6bb5\u4ee3\u7801\u4e2d\uff0c\u6211\u4eec\u5c06\u63d2\u503c\u65b9\u6cd5\u8bbe\u7f6e\u4e3a&#39;nearest&#39;\uff0c\u53ef\u4ee5\u5c1d\u8bd5\u5176\u4ed6\u63d2\u503c\u65b9\u6cd5\u6765\u4f18\u5316\u70ed\u56fe\u7684\u663e\u793a\u6548\u679c\u3002<\/p>\n<\/p>\n<p><h3>\u516d\u3001\u7ed8\u5236\u66f4\u590d\u6742\u7684\u70ed\u56fe<\/h3>\n<\/p>\n<p><p>\u5982\u679c\u9700\u8981\u7ed8\u5236\u66f4\u590d\u6742\u7684\u70ed\u56fe\uff0c\u53ef\u4ee5\u7ed3\u5408\u5176\u4ed6Matplotlib\u51fd\u6570\u6765\u5b9e\u73b0\u3002\u4f8b\u5982\uff0c\u53ef\u4ee5\u5728\u70ed\u56fe\u4e0a\u6dfb\u52a0\u7f51\u683c\u7ebf\u3001\u6587\u672c\u6807\u7b7e\u7b49\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># \u7ed8\u5236\u5e26\u6709\u7f51\u683c\u7ebf\u7684\u70ed\u56fe<\/p>\n<p>plt.imshow(data_2d, cmap=&#39;viridis&#39;, aspect=&#39;auto&#39;)<\/p>\n<p>plt.colorbar(label=&#39;Value&#39;)<\/p>\n<p>plt.title(&#39;1D Heatmap with Gridlines&#39;)<\/p>\n<p>plt.xlabel(&#39;Index&#39;)<\/p>\n<p>plt.ylabel(&#39;Value&#39;)<\/p>\n<p>plt.grid(which=&#39;both&#39;, color=&#39;gray&#39;, linestyle=&#39;--&#39;, linewidth=0.5)<\/p>\n<p>plt.show()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u6bb5\u4ee3\u7801\u4e2d\uff0c\u6211\u4eec\u4f7f\u7528<code>plt.grid<\/code>\u51fd\u6570\u5728\u70ed\u56fe\u4e0a\u6dfb\u52a0\u4e86\u7f51\u683c\u7ebf\u3002\u53ef\u4ee5\u6839\u636e\u9700\u8981\u8c03\u6574\u7f51\u683c\u7ebf\u7684\u989c\u8272\u3001\u6837\u5f0f\u548c\u5bbd\u5ea6\u3002<\/p>\n<\/p>\n<p><h3>\u4e03\u3001\u4fdd\u5b58\u70ed\u56fe<\/h3>\n<\/p>\n<p><p>\u6700\u540e\uff0c\u53ef\u4ee5\u5c06\u7ed8\u5236\u597d\u7684\u70ed\u56fe\u4fdd\u5b58\u4e3a\u56fe\u50cf\u6587\u4ef6\uff0c\u4ee5\u4fbf\u540e\u7eed\u4f7f\u7528\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># \u4fdd\u5b58\u70ed\u56fe<\/p>\n<p>plt.imshow(data_2d, cmap=&#39;viridis&#39;, aspect=&#39;auto&#39;)<\/p>\n<p>plt.colorbar(label=&#39;Value&#39;)<\/p>\n<p>plt.title(&#39;1D Heatmap&#39;)<\/p>\n<p>plt.xlabel(&#39;Index&#39;)<\/p>\n<p>plt.ylabel(&#39;Value&#39;)<\/p>\n<p>plt.savefig(&#39;1d_heatmap.png&#39;, dpi=300, bbox_inches=&#39;tight&#39;)<\/p>\n<p>plt.show()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u6bb5\u4ee3\u7801\u4e2d\uff0c\u6211\u4eec\u4f7f\u7528<code>plt.savefig<\/code>\u51fd\u6570\u5c06\u70ed\u56fe\u4fdd\u5b58\u4e3a<code>1d_heatmap.png<\/code>\u6587\u4ef6\uff0c\u5e76\u6307\u5b9a\u4e86\u5206\u8fa8\u7387\uff08<code>dpi=300<\/code>\uff09\u548c\u8fb9\u8ddd\uff08<code>bbox_inches=&#39;tight&#39;<\/code>\uff09\u3002<\/p>\n<\/p>\n<p><h3>\u603b\u7ed3<\/h3>\n<\/p>\n<p><p>\u901a\u8fc7\u4ee5\u4e0a\u6b65\u9aa4\uff0c\u6211\u4eec\u8be6\u7ec6\u4ecb\u7ecd\u4e86\u5982\u4f55\u5728Python\u4e2d\u4f7f\u7528imshow\u7ed8\u5236\u4e00\u7ef4\u70ed\u56fe\u3002<strong>\u5173\u952e\u6b65\u9aa4\u5305\u62ec\u51c6\u5907\u6570\u636e\u3001\u4f7f\u7528imshow\u51fd\u6570\u3001\u8c03\u6574\u989c\u8272\u6620\u5c04\u3001\u6dfb\u52a0\u6807\u7b7e\u548c\u6807\u9898\u3001\u4f7f\u7528\u4e0d\u540c\u7684\u63d2\u503c\u65b9\u6cd5\u3001\u7ed8\u5236\u66f4\u590d\u6742\u7684\u70ed\u56fe\u548c\u4fdd\u5b58\u70ed\u56fe\u3002<\/strong> \u8fd9\u4e9b\u6b65\u9aa4\u53ef\u4ee5\u5e2e\u52a9\u6211\u4eec\u521b\u5efa\u6e05\u6670\u3001\u7f8e\u89c2\u7684\u70ed\u56fe\uff0c\u4ee5\u4fbf\u66f4\u597d\u5730\u5c55\u793a\u548c\u5206\u6790\u6570\u636e\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5728Python\u4e2d\uff0c\u5982\u4f55\u4f7f\u7528imshow\u51fd\u6570\u521b\u5efa\u4e00\u7ef4\u70ed\u56fe\uff1f<\/strong><br \/>\u4e3a\u4e86\u4f7f\u7528imshow\u51fd\u6570\u521b\u5efa\u4e00\u7ef4\u70ed\u56fe\uff0c\u60a8\u9700\u8981\u9996\u5148\u5c06\u4e00\u7ef4\u6570\u636e\u8f6c\u6362\u4e3a\u4e8c\u7ef4\u6570\u7ec4\u3002\u53ef\u4ee5\u4f7f\u7528NumPy\u5e93\u4e2d\u7684reshape\u51fd\u6570\u5c06\u4e00\u7ef4\u6570\u7ec4\u8f6c\u53d8\u4e3a\u5f62\u72b6\u4e3a(1, n)\u7684\u4e8c\u7ef4\u6570\u7ec4\uff0c\u7136\u540e\u4f7f\u7528Matplotlib\u5e93\u7684imshow\u51fd\u6570\u8fdb\u884c\u53ef\u89c6\u5316\u3002\u4ee5\u4e0b\u662f\u4e00\u4e2a\u7b80\u5355\u7684\u793a\u4f8b\uff1a  <\/p>\n<pre><code class=\"language-python\">import numpy as np\nimport matplotlib.pyplot as plt\n\ndata = np.random.rand(10)  # \u521b\u5efa\u4e00\u7ef4\u968f\u673a\u6570\u636e\ndata_2d = data.reshape(1, -1)  # \u8f6c\u6362\u4e3a\u4e8c\u7ef4\u6570\u7ec4\n\nplt.imshow(data_2d, aspect=&#39;auto&#39;, cmap=&#39;hot&#39;)  # \u4f7f\u7528imshow\u7ed8\u5236\u70ed\u56fe\nplt.colorbar()  # \u6dfb\u52a0\u989c\u8272\u6761\nplt.show()\n<\/code><\/pre>\n<p><strong>\u6211\u8be5\u5982\u4f55\u8c03\u6574imshow\u751f\u6210\u7684\u70ed\u56fe\u7684\u989c\u8272\u548c\u6837\u5f0f\uff1f<\/strong><br \/>\u53ef\u4ee5\u901a\u8fc7\u8bbe\u7f6ecmap\u53c2\u6570\u6765\u8c03\u6574\u70ed\u56fe\u7684\u989c\u8272\u3002\u4f8b\u5982\uff0c\u4f7f\u7528&#39;viridis&#39;\u3001&#39;plasma&#39;\u6216&#39;cividis&#39;\u7b49\u4e0d\u540c\u7684\u8272\u56fe\u6765\u6539\u53d8\u70ed\u56fe\u7684\u5916\u89c2\u3002\u6b64\u5916\uff0c\u8fd8\u53ef\u4ee5\u901a\u8fc7\u8c03\u6574aspect\u53c2\u6570\u6765\u63a7\u5236\u70ed\u56fe\u7684\u957f\u5bbd\u6bd4\uff0c\u4ece\u800c\u5f71\u54cd\u56fe\u50cf\u7684\u5f62\u72b6\u3002\u5177\u4f53\u7684\u8bbe\u7f6e\u65b9\u6cd5\u5982\u4e0b\uff1a  <\/p>\n<pre><code class=\"language-python\">plt.imshow(data_2d, aspect=&#39;equal&#39;, cmap=&#39;viridis&#39;)\n<\/code><\/pre>\n<p>\u6b64\u5916\uff0c\u60a8\u53ef\u4ee5\u901a\u8fc7\u8bbe\u7f6evmin\u548cvmax\u53c2\u6570\u6765\u5b9a\u4e49\u989c\u8272\u6620\u5c04\u7684\u8303\u56f4\u3002<\/p>\n<p><strong>\u5982\u4f55\u5728\u4e00\u7ef4\u70ed\u56fe\u4e2d\u6dfb\u52a0\u6807\u7b7e\u548c\u6807\u9898\uff1f<\/strong><br \/>\u5728\u7ed8\u5236\u70ed\u56fe\u540e\uff0c\u53ef\u4ee5\u4f7f\u7528Matplotlib\u7684title\u3001xlabel\u548cylabel\u51fd\u6570\u4e3a\u56fe\u50cf\u6dfb\u52a0\u6807\u9898\u548c\u8f74\u6807\u7b7e\u3002\u8fd9\u6837\u53ef\u4ee5\u4f7f\u56fe\u50cf\u66f4\u5177\u4fe1\u606f\u6027\u548c\u53ef\u8bfb\u6027\u3002\u793a\u4f8b\u4ee3\u7801\u5982\u4e0b\uff1a  <\/p>\n<pre><code class=\"language-python\">plt.imshow(data_2d, aspect=&#39;auto&#39;, cmap=&#39;hot&#39;)\nplt.title(&#39;\u4e00\u7ef4\u70ed\u56fe\u793a\u4f8b&#39;)\nplt.xlabel(&#39;\u6570\u636e\u7d22\u5f15&#39;)\nplt.ylabel(&#39;\u503c&#39;)\nplt.colorbar()\nplt.show()\n<\/code><\/pre>\n<p>\u901a\u8fc7\u8fd9\u4e9b\u7b80\u5355\u7684\u6b65\u9aa4\uff0c\u60a8\u53ef\u4ee5\u4e3a\u70ed\u56fe\u589e\u52a0\u66f4\u591a\u7684\u4e0a\u4e0b\u6587\u4fe1\u606f\uff0c\u4f7f\u5176\u66f4\u6613\u4e8e\u7406\u89e3\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u8981\u5728Python\u4e2d\u4f7f\u7528imshow\u7ed8\u5236\u4e00\u7ef4\u70ed\u56fe\uff0c\u53ef\u4ee5\u4f7f\u7528Matplotlib\u5e93\u3002\u5177\u4f53\u6b65\u9aa4\u5305\u62ec\u52a0\u8f7d\u6570\u636e\u3001\u521b\u5efa\u70ed\u56fe [&hellip;]","protected":false},"author":3,"featured_media":0,"comment_status":"","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[],"acf":[],"_links":{"self":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1112927"}],"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=1112927"}],"version-history":[{"count":0,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1112927\/revisions"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1112927"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1112927"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1112927"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}