{"id":1092352,"date":"2025-01-08T14:20:18","date_gmt":"2025-01-08T06:20:18","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1092352.html"},"modified":"2025-01-08T14:20:20","modified_gmt":"2025-01-08T06:20:20","slug":"python%e5%a6%82%e4%bd%95%e5%bb%ba%e7%9b%b4%e8%a7%92%e7%ab%8b%e5%9d%90%e6%a0%87%e7%b3%bb-2","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1092352.html","title":{"rendered":"python\u5982\u4f55\u5efa\u76f4\u89d2\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\/24205424\/2cacb339-4976-4825-9fe3-4e0e53e1884c.webp\" alt=\"python\u5982\u4f55\u5efa\u76f4\u89d2\u7acb\u5750\u6807\u7cfb\" \/><\/p>\n<p><p> <strong>\u5728Python\u4e2d\u5efa\u7acb\u76f4\u89d2\u7acb\u5750\u6807\u7cfb<\/strong><\/p>\n<\/p>\n<p><p>\u5728Python\u4e2d\uff0c<strong>\u4f7f\u7528matplotlib\u5e93\u3001\u4f7f\u7528plotly\u5e93\u3001\u53ef\u89c6\u5316\u548c\u4ea4\u4e92\u6027\u5f3a<\/strong>\u662f\u5efa\u7acb\u76f4\u89d2\u7acb\u5750\u6807\u7cfb\u7684\u5e38\u7528\u65b9\u6cd5\u3002\u5176\u4e2d\uff0c\u4f7f\u7528matplotlib\u5e93\u662f\u6700\u5e38\u89c1\u7684\u65b9\u6cd5\uff0c\u56e0\u4e3a\u5b83\u63d0\u4f9b\u4e86\u7b80\u5355\u4e14\u529f\u80fd\u5f3a\u5927\u7684\u7ed8\u56fe\u529f\u80fd\u3002\u4e0b\u9762\u5c06\u8be6\u7ec6\u63cf\u8ff0\u5982\u4f55\u4f7f\u7528\u8fd9\u4e9b\u65b9\u6cd5\u6765\u5efa\u7acb\u76f4\u89d2\u7acb\u5750\u6807\u7cfb\u3002<\/p>\n<\/p>\n<p><h3>\u4e00\u3001\u4f7f\u7528matplotlib\u5e93<\/h3>\n<\/p>\n<p><p>Matplotlib\u662fPython\u4e2d\u6700\u6d41\u884c\u7684\u7ed8\u56fe\u5e93\u4e4b\u4e00\uff0c\u63d0\u4f9b\u4e86\u975e\u5e38\u5f3a\u5927\u76842D\u7ed8\u56fe\u529f\u80fd\u3002\u8981\u4f7f\u7528matplotlib\u6765\u7ed8\u5236\u76f4\u89d2\u7acb\u5750\u6807\u7cfb\uff0c\u53ef\u4ee5\u6309\u7167\u4ee5\u4e0b\u6b65\u9aa4\u8fdb\u884c\uff1a<\/p>\n<\/p>\n<p><h4>1. \u5b89\u88c5matplotlib\u5e93<\/h4>\n<\/p>\n<p><p>\u9996\u5148\uff0c\u786e\u4fdd\u4f60\u5df2\u7ecf\u5b89\u88c5\u4e86matplotlib\u5e93\u3002\u53ef\u4ee5\u4f7f\u7528pip\u8fdb\u884c\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><h4>2. \u5bfc\u5165matplotlib\u5e93<\/h4>\n<\/p>\n<p><p>\u5728\u4f60\u7684Python\u811a\u672c\u6216Jupyter Notebook\u4e2d\u5bfc\u5165matplotlib\u5e93\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<p><\/code><\/pre>\n<\/p>\n<p><h4>3. \u7ed8\u5236\u76f4\u89d2\u7acb\u5750\u6807\u7cfb<\/h4>\n<\/p>\n<p><p>\u4f7f\u7528matplotlib\u4e2d\u7684<code>plot<\/code>\u51fd\u6570\u6765\u7ed8\u5236\u76f4\u89d2\u7acb\u5750\u6807\u7cfb\u3002\u4ee5\u4e0b\u662f\u4e00\u4e2a\u7b80\u5355\u7684\u793a\u4f8b\u4ee3\u7801\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># \u521b\u5efa\u6570\u636e<\/p>\n<p>x = np.linspace(-10, 10, 400)<\/p>\n<p>y = np.sin(x)<\/p>\n<h2><strong>\u521b\u5efa\u56fe\u5f62\u548c\u5750\u6807\u7cfb<\/strong><\/h2>\n<p>fig, ax = plt.subplots()<\/p>\n<h2><strong>\u7ed8\u5236\u6570\u636e<\/strong><\/h2>\n<p>ax.plot(x, y)<\/p>\n<h2><strong>\u6dfb\u52a0\u6807\u9898\u548c\u6807\u7b7e<\/strong><\/h2>\n<p>ax.set(title=&#39;\u76f4\u89d2\u7acb\u5750\u6807\u7cfb\u793a\u4f8b&#39;, xlabel=&#39;X\u8f74&#39;, ylabel=&#39;Y\u8f74&#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\u793a\u4f8b\u4e2d\uff0c\u6211\u4eec\u4f7f\u7528\u4e86<code>numpy<\/code>\u5e93\u6765\u751f\u6210\u6570\u636e\uff0c\u5e76\u4f7f\u7528<code>matplotlib<\/code>\u6765\u7ed8\u5236\u56fe\u5f62\u3002<code>plt.subplots()<\/code>\u51fd\u6570\u521b\u5efa\u4e86\u4e00\u4e2a\u56fe\u5f62\u548c\u5750\u6807\u7cfb\uff0c<code>ax.plot()<\/code>\u51fd\u6570\u7ed8\u5236\u4e86\u6570\u636e\u3002\u6700\u540e\uff0c\u4f7f\u7528<code>plt.show()<\/code>\u51fd\u6570\u663e\u793a\u56fe\u5f62\u3002<\/p>\n<\/p>\n<p><h3>\u4e8c\u3001\u4f7f\u7528plotly\u5e93<\/h3>\n<\/p>\n<p><p>Plotly\u662f\u4e00\u4e2a\u975e\u5e38\u5f3a\u5927\u7684\u53ef\u89c6\u5316\u5e93\uff0c\u652f\u6301\u4ea4\u4e92\u5f0f\u56fe\u5f62\u3002\u4f7f\u7528plotly\u53ef\u4ee5\u521b\u5efa\u66f4\u52a0\u590d\u6742\u548c\u4ea4\u4e92\u6027\u5f3a\u7684\u56fe\u5f62\u3002\u8981\u4f7f\u7528plotly\u6765\u7ed8\u5236\u76f4\u89d2\u7acb\u5750\u6807\u7cfb\uff0c\u53ef\u4ee5\u6309\u7167\u4ee5\u4e0b\u6b65\u9aa4\u8fdb\u884c\uff1a<\/p>\n<\/p>\n<p><h4>1. \u5b89\u88c5plotly\u5e93<\/h4>\n<\/p>\n<p><p>\u9996\u5148\uff0c\u786e\u4fdd\u4f60\u5df2\u7ecf\u5b89\u88c5\u4e86plotly\u5e93\u3002\u53ef\u4ee5\u4f7f\u7528pip\u8fdb\u884c\u5b89\u88c5\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pip install plotly<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>2. \u5bfc\u5165plotly\u5e93<\/h4>\n<\/p>\n<p><p>\u5728\u4f60\u7684Python\u811a\u672c\u6216Jupyter Notebook\u4e2d\u5bfc\u5165plotly\u5e93\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<p><h4>3. \u7ed8\u5236\u76f4\u89d2\u7acb\u5750\u6807\u7cfb<\/h4>\n<\/p>\n<p><p>\u4f7f\u7528plotly\u4e2d\u7684<code>Scatter<\/code>\u5bf9\u8c61\u6765\u7ed8\u5236\u76f4\u89d2\u7acb\u5750\u6807\u7cfb\u3002\u4ee5\u4e0b\u662f\u4e00\u4e2a\u7b80\u5355\u7684\u793a\u4f8b\u4ee3\u7801\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># \u521b\u5efa\u6570\u636e<\/p>\n<p>x = np.linspace(-10, 10, 400)<\/p>\n<p>y = np.sin(x)<\/p>\n<h2><strong>\u521b\u5efa\u56fe\u5f62<\/strong><\/h2>\n<p>fig = go.Figure()<\/p>\n<h2><strong>\u6dfb\u52a0\u6570\u636e<\/strong><\/h2>\n<p>fig.add_trace(go.Scatter(x=x, y=y, mode=&#39;lines&#39;, name=&#39;sin(x)&#39;))<\/p>\n<h2><strong>\u6dfb\u52a0\u6807\u9898\u548c\u6807\u7b7e<\/strong><\/h2>\n<p>fig.update_layout(title=&#39;\u76f4\u89d2\u7acb\u5750\u6807\u7cfb\u793a\u4f8b&#39;, xaxis_title=&#39;X\u8f74&#39;, yaxis_title=&#39;Y\u8f74&#39;)<\/p>\n<h2><strong>\u663e\u793a\u56fe\u5f62<\/strong><\/h2>\n<p>fig.show()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u793a\u4f8b\u4e2d\uff0c\u6211\u4eec\u4f7f\u7528\u4e86<code>numpy<\/code>\u5e93\u6765\u751f\u6210\u6570\u636e\uff0c\u5e76\u4f7f\u7528<code>plotly<\/code>\u6765\u7ed8\u5236\u56fe\u5f62\u3002<code>go.Figure()<\/code>\u51fd\u6570\u521b\u5efa\u4e86\u4e00\u4e2a\u56fe\u5f62\u5bf9\u8c61\uff0c<code>go.Scatter()<\/code>\u5bf9\u8c61\u6dfb\u52a0\u4e86\u6570\u636e\u3002\u6700\u540e\uff0c\u4f7f\u7528<code>fig.show()<\/code>\u51fd\u6570\u663e\u793a\u56fe\u5f62\u3002<\/p>\n<\/p>\n<p><h3>\u4e09\u3001\u53ef\u89c6\u5316\u548c\u4ea4\u4e92\u6027\u5f3a<\/h3>\n<\/p>\n<p><p>\u65e0\u8bba\u662fmatplotlib\u8fd8\u662fplotly\uff0c\u90fd\u53ef\u4ee5\u901a\u8fc7\u6dfb\u52a0\u66f4\u591a\u7684\u529f\u80fd\u6765\u589e\u5f3a\u53ef\u89c6\u5316\u6548\u679c\u548c\u4ea4\u4e92\u6027\u3002\u4f8b\u5982\uff0c\u53ef\u4ee5\u6dfb\u52a0\u7f51\u683c\u7ebf\u3001\u6807\u6ce8\u3001\u989c\u8272\u3001\u6837\u5f0f\u7b49\u3002\u4ee5\u4e0b\u662f\u4e00\u4e9b\u793a\u4f8b\u4ee3\u7801\uff1a<\/p>\n<\/p>\n<p><h4>1. \u5728matplotlib\u4e2d\u6dfb\u52a0\u7f51\u683c\u7ebf\u548c\u6807\u6ce8<\/h4>\n<\/p>\n<p><pre><code class=\"language-python\"># \u521b\u5efa\u6570\u636e<\/p>\n<p>x = np.linspace(-10, 10, 400)<\/p>\n<p>y = np.sin(x)<\/p>\n<h2><strong>\u521b\u5efa\u56fe\u5f62\u548c\u5750\u6807\u7cfb<\/strong><\/h2>\n<p>fig, ax = plt.subplots()<\/p>\n<h2><strong>\u7ed8\u5236\u6570\u636e<\/strong><\/h2>\n<p>ax.plot(x, y)<\/p>\n<h2><strong>\u6dfb\u52a0\u6807\u9898\u548c\u6807\u7b7e<\/strong><\/h2>\n<p>ax.set(title=&#39;\u76f4\u89d2\u7acb\u5750\u6807\u7cfb\u793a\u4f8b&#39;, xlabel=&#39;X\u8f74&#39;, ylabel=&#39;Y\u8f74&#39;)<\/p>\n<h2><strong>\u6dfb\u52a0\u7f51\u683c\u7ebf<\/strong><\/h2>\n<p>ax.grid(True)<\/p>\n<h2><strong>\u6dfb\u52a0\u6807\u6ce8<\/strong><\/h2>\n<p>ax.annotate(&#39;\u6700\u5927\u503c&#39;, xy=(0, 1), xytext=(-3, 1.5),<\/p>\n<p>             arrowprops=dict(facecolor=&#39;black&#39;, shrink=0.05))<\/p>\n<h2><strong>\u663e\u793a\u56fe\u5f62<\/strong><\/h2>\n<p>plt.show()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>2. \u5728plotly\u4e2d\u6dfb\u52a0\u7f51\u683c\u7ebf\u548c\u6807\u6ce8<\/h4>\n<\/p>\n<p><pre><code class=\"language-python\"># \u521b\u5efa\u6570\u636e<\/p>\n<p>x = np.linspace(-10, 10, 400)<\/p>\n<p>y = np.sin(x)<\/p>\n<h2><strong>\u521b\u5efa\u56fe\u5f62<\/strong><\/h2>\n<p>fig = go.Figure()<\/p>\n<h2><strong>\u6dfb\u52a0\u6570\u636e<\/strong><\/h2>\n<p>fig.add_trace(go.Scatter(x=x, y=y, mode=&#39;lines&#39;, name=&#39;sin(x)&#39;))<\/p>\n<h2><strong>\u6dfb\u52a0\u6807\u9898\u548c\u6807\u7b7e<\/strong><\/h2>\n<p>fig.update_layout(title=&#39;\u76f4\u89d2\u7acb\u5750\u6807\u7cfb\u793a\u4f8b&#39;, xaxis_title=&#39;X\u8f74&#39;, yaxis_title=&#39;Y\u8f74&#39;)<\/p>\n<h2><strong>\u6dfb\u52a0\u7f51\u683c\u7ebf<\/strong><\/h2>\n<p>fig.update_xaxes(showgrid=True)<\/p>\n<p>fig.update_yaxes(showgrid=True)<\/p>\n<h2><strong>\u6dfb\u52a0\u6807\u6ce8<\/strong><\/h2>\n<p>fig.add_annotation(x=0, y=1, text=&#39;\u6700\u5927\u503c&#39;,<\/p>\n<p>                   showarrow=True, arrowhead=1)<\/p>\n<h2><strong>\u663e\u793a\u56fe\u5f62<\/strong><\/h2>\n<p>fig.show()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u901a\u8fc7\u8fd9\u4e9b\u793a\u4f8b\u4ee3\u7801\uff0c\u53ef\u4ee5\u770b\u5230\u5982\u4f55\u4f7f\u7528matplotlib\u548cplotly\u6765\u521b\u5efa\u548c\u589e\u5f3a\u76f4\u89d2\u7acb\u5750\u6807\u7cfb\u7684\u53ef\u89c6\u5316\u6548\u679c\u3002\u65e0\u8bba\u662f\u7b80\u5355\u7684\u7ed8\u56fe\u8fd8\u662f\u590d\u6742\u7684\u4ea4\u4e92\u5f0f\u56fe\u5f62\uff0c\u8fd9\u4e24\u4e2a\u5e93\u90fd\u53ef\u4ee5\u6ee1\u8db3\u4f60\u7684\u9700\u6c42\u3002<\/p>\n<\/p>\n<p><p>\u603b\u4e4b\uff0c<strong>\u4f7f\u7528matplotlib\u5e93\u3001\u4f7f\u7528plotly\u5e93\u3001\u53ef\u89c6\u5316\u548c\u4ea4\u4e92\u6027\u5f3a<\/strong>\u662fPython\u4e2d\u5efa\u7acb\u76f4\u89d2\u7acb\u5750\u6807\u7cfb\u7684\u5e38\u7528\u65b9\u6cd5\u3002\u5e0c\u671b\u901a\u8fc7\u8fd9\u4e9b\u793a\u4f8b\u4ee3\u7801\uff0c\u4f60\u80fd\u591f\u66f4\u597d\u5730\u7406\u89e3\u548c\u5e94\u7528\u8fd9\u4e9b\u65b9\u6cd5\u6765\u521b\u5efa\u81ea\u5df1\u7684\u76f4\u89d2\u7acb\u5750\u6807\u7cfb\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728Python\u4e2d\u7ed8\u5236\u76f4\u89d2\u5750\u6807\u7cfb\uff1f<\/strong><br \/>\u5728Python\u4e2d\uff0c\u53ef\u4ee5\u4f7f\u7528Matplotlib\u5e93\u6765\u7ed8\u5236\u76f4\u89d2\u5750\u6807\u7cfb\u3002\u9996\u5148\u9700\u8981\u5b89\u88c5Matplotlib\uff0c\u65b9\u6cd5\u662f\u4f7f\u7528\u547d\u4ee4 <code>pip install matplotlib<\/code>\u3002\u7136\u540e\uff0c\u60a8\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u4ee3\u7801\u521b\u5efa\u4e00\u4e2a\u7b80\u5355\u7684\u76f4\u89d2\u5750\u6807\u7cfb\uff1a<\/p>\n<pre><code class=\"language-python\">import matplotlib.pyplot as plt\n\nplt.figure()\nplt.axhline(0, color=&#39;black&#39;, lw=0.5)  # X\u8f74\nplt.axvline(0, color=&#39;black&#39;, lw=0.5)  # Y\u8f74\nplt.xlim(-10, 10)  # \u8bbe\u7f6eX\u8f74\u8303\u56f4\nplt.ylim(-10, 10)  # \u8bbe\u7f6eY\u8f74\u8303\u56f4\nplt.grid(color=&#39;gray&#39;, linestyle=&#39;--&#39;, linewidth=0.5)  # \u6dfb\u52a0\u7f51\u683c\nplt.title(&#39;\u76f4\u89d2\u5750\u6807\u7cfb&#39;)\nplt.show()\n<\/code><\/pre>\n<p>\u901a\u8fc7\u4ee5\u4e0a\u4ee3\u7801\uff0c\u60a8\u5c06\u80fd\u591f\u770b\u5230\u4e00\u4e2a\u57fa\u672c\u7684\u76f4\u89d2\u5750\u6807\u7cfb\u3002<\/p>\n<p><strong>\u5728Python\u4e2d\u5982\u4f55\u81ea\u5b9a\u4e49\u5750\u6807\u8f74\u7684\u523b\u5ea6\u548c\u6807\u7b7e\uff1f<\/strong><br \/>\u81ea\u5b9a\u4e49\u5750\u6807\u8f74\u7684\u523b\u5ea6\u548c\u6807\u7b7e\u53ef\u4ee5\u4f7f\u56fe\u5f62\u66f4\u5177\u53ef\u8bfb\u6027\u3002\u5728Matplotlib\u4e2d\uff0c\u53ef\u4ee5\u4f7f\u7528 <code>plt.xticks()<\/code> \u548c <code>plt.yticks()<\/code> \u51fd\u6570\u6765\u5b9e\u73b0\u3002\u4f8b\u5982\uff1a<\/p>\n<pre><code class=\"language-python\">import numpy as np\n\nx = np.linspace(-10, 10, 100)\ny = np.sin(x)\n\nplt.plot(x, y)\nplt.axhline(0, color=&#39;black&#39;, lw=0.5)\nplt.axvline(0, color=&#39;black&#39;, lw=0.5)\n\nplt.xticks(np.arange(-10, 11, 2))  # \u8bbe\u7f6eX\u8f74\u523b\u5ea6\nplt.yticks(np.arange(-1, 2, 0.5))   # \u8bbe\u7f6eY\u8f74\u523b\u5ea6\n\nplt.title(&#39;\u81ea\u5b9a\u4e49\u5750\u6807\u8f74\u523b\u5ea6&#39;)\nplt.grid()\nplt.show()\n<\/code><\/pre>\n<p>\u901a\u8fc7\u8fd9\u79cd\u65b9\u5f0f\uff0c\u60a8\u53ef\u4ee5\u63a7\u5236\u5750\u6807\u8f74\u4e0a\u7684\u523b\u5ea6\u663e\u793a\uff0c\u4fbf\u4e8e\u6570\u636e\u7684\u5206\u6790\u548c\u5c55\u793a\u3002<\/p>\n<p><strong>\u5982\u4f55\u5728Python\u7684\u76f4\u89d2\u5750\u6807\u7cfb\u4e2d\u6dfb\u52a0\u56fe\u4f8b\u548c\u6ce8\u91ca\uff1f<\/strong><br \/>\u6dfb\u52a0\u56fe\u4f8b\u548c\u6ce8\u91ca\u53ef\u4ee5\u5e2e\u52a9\u7406\u89e3\u56fe\u5f62\u7684\u5185\u5bb9\u3002\u5728Matplotlib\u4e2d\uff0c\u53ef\u4ee5\u4f7f\u7528 <code>plt.legend()<\/code> \u548c <code>plt.annotate()<\/code> \u6765\u5b9e\u73b0\u3002\u4ee5\u4e0b\u662f\u793a\u4f8b\u4ee3\u7801\uff1a<\/p>\n<pre><code class=\"language-python\">plt.plot(x, y, label=&#39;y = sin(x)&#39;)  # \u6dfb\u52a0\u6807\u7b7e\nplt.axhline(0, color=&#39;black&#39;, lw=0.5)\nplt.axvline(0, color=&#39;black&#39;, lw=0.5)\n\nplt.legend()  # \u663e\u793a\u56fe\u4f8b\nplt.annotate(&#39;\u6700\u5927\u503c&#39;, xy=(np.pi\/2, 1), xytext=(np.pi\/2 + 1, 1.5),\n             arrowprops=dict(facecolor=&#39;black&#39;, shrink=0.05))  # \u6dfb\u52a0\u6ce8\u91ca\n\nplt.title(&#39;\u5e26\u6709\u56fe\u4f8b\u548c\u6ce8\u91ca\u7684\u5750\u6807\u7cfb&#39;)\nplt.grid()\nplt.show()\n<\/code><\/pre>\n<p>\u4f7f\u7528\u56fe\u4f8b\u548c\u6ce8\u91ca\u53ef\u4ee5\u6709\u6548\u5730\u4f20\u8fbe\u4fe1\u606f\uff0c\u4f7f\u5f97\u56fe\u5f62\u66f4\u52a0\u6613\u4e8e\u7406\u89e3\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5728Python\u4e2d\u5efa\u7acb\u76f4\u89d2\u7acb\u5750\u6807\u7cfb \u5728Python\u4e2d\uff0c\u4f7f\u7528matplotlib\u5e93\u3001\u4f7f\u7528plotly\u5e93\u3001\u53ef\u89c6\u5316\u548c\u4ea4 [&hellip;]","protected":false},"author":3,"featured_media":1092362,"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\/1092352"}],"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=1092352"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1092352\/revisions"}],"predecessor-version":[{"id":1092363,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1092352\/revisions\/1092363"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1092362"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1092352"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1092352"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1092352"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}