{"id":960600,"date":"2024-12-27T03:51:11","date_gmt":"2024-12-26T19:51:11","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/960600.html"},"modified":"2024-12-27T03:51:13","modified_gmt":"2024-12-26T19:51:13","slug":"python%e5%a6%82%e4%bd%95%e7%bb%98%e5%88%b6%e7%9b%b8%e5%88%87%e5%9c%86","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/960600.html","title":{"rendered":"python\u5982\u4f55\u7ed8\u5236\u76f8\u5207\u5706"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25103043\/02646056-9873-41af-94e1-c8e07f873175.webp\" alt=\"python\u5982\u4f55\u7ed8\u5236\u76f8\u5207\u5706\" \/><\/p>\n<p><p> <strong>\u5728Python\u4e2d\u7ed8\u5236\u76f8\u5207\u5706\u53ef\u4ee5\u901a\u8fc7\u4f7f\u7528Matplotlib\u5e93\u3001\u8ba1\u7b97\u5706\u5fc3\u5750\u6807\u53ca\u534a\u5f84\u3001\u786e\u4fdd\u5706\u4e0e\u5706\u4e4b\u95f4\u76f8\u5207\u6765\u5b9e\u73b0\u3002<\/strong>Matplotlib\u662fPython\u4e2d\u7528\u4e8e\u521b\u5efa\u9759\u6001\u3001\u4ea4\u4e92\u5f0f\u548c\u52a8\u753b\u53ef\u89c6\u5316\u7684\u5f3a\u5927\u5de5\u5177\u3002\u6211\u4eec\u53ef\u4ee5\u5229\u7528\u5b83\u7684<code>pyplot<\/code>\u6a21\u5757\uff0c\u7ed3\u5408\u8ba1\u7b97\u51e0\u4f55\u539f\u7406\uff0c\u8f7b\u677e\u7ed8\u5236\u51fa\u76f8\u5207\u7684\u5706\u3002\u4ee5\u4e0b\u662f\u4e00\u4e2a\u5b9e\u73b0\u76f8\u5207\u5706\u7684\u8be6\u7ec6\u6b65\u9aa4\u3002<\/p>\n<\/p>\n<p><p>\u4e00\u3001\u4e86\u89e3\u7ed8\u5236\u76f8\u5207\u5706\u7684\u57fa\u672c\u539f\u7406<br \/>\u5728\u7ed8\u5236\u76f8\u5207\u5706\u4e4b\u524d\uff0c\u6211\u4eec\u9700\u8981\u7406\u89e3\u4e00\u4e9b\u57fa\u672c\u539f\u7406\uff1a  <\/p>\n<\/p>\n<ol>\n<li><strong>\u5706\u7684\u5b9a\u4e49<\/strong>\uff1a\u5728\u51e0\u4f55\u5b66\u4e2d\uff0c\u5706\u662f\u7531\u4e00\u4e2a\u4e2d\u5fc3\u70b9\u548c\u4e00\u4e2a\u534a\u5f84\u5b9a\u4e49\u7684\u3002  <\/li>\n<li><strong>\u76f8\u5207\u6761\u4ef6<\/strong>\uff1a\u4e24\u4e2a\u5706\u76f8\u5207\u610f\u5473\u7740\u5b83\u4eec\u6709\u4e00\u4e2a\u516c\u5171\u5207\u70b9\uff0c\u8fd9\u53ef\u4ee5\u662f\u5916\u5207\u6216\u5185\u5207\u3002  <\/li>\n<li><strong>\u8ba1\u7b97\u5706\u5fc3\u548c\u534a\u5f84<\/strong>\uff1a\u901a\u8fc7\u6570\u5b66\u516c\u5f0f\uff0c\u53ef\u4ee5\u8ba1\u7b97\u51fa\u7ed9\u5b9a\u6761\u4ef6\u4e0b\u5706\u7684\u5706\u5fc3\u5750\u6807\u548c\u534a\u5f84\u3002<\/li>\n<\/ol>\n<p><p>\u8981\u7ed8\u5236\u76f8\u5207\u5706\uff0c\u9996\u5148\u8981\u786e\u5b9a\u6bcf\u4e2a\u5706\u7684\u5706\u5fc3\u5750\u6807\u548c\u534a\u5f84\u3002\u5728\u76f8\u5207\u7684\u60c5\u51b5\u4e0b\uff0c\u4e24\u4e2a\u5706\u7684\u5706\u5fc3\u8ddd\u79bb\u7b49\u4e8e\u5b83\u4eec\u534a\u5f84\u4e4b\u548c\uff08\u5916\u5207\uff09\u6216\u5dee\uff08\u5185\u5207\uff09\u3002<\/p>\n<\/p>\n<p><p>\u4e8c\u3001\u4f7f\u7528Matplotlib\u7ed8\u5236\u5706<br \/>Matplotlib\u662fPython\u4e2d\u4e00\u4e2a\u6d41\u884c\u7684\u7ed8\u56fe\u5e93\uff0c\u5b83\u63d0\u4f9b\u4e86\u7b80\u5355\u7684\u65b9\u6cd5\u6765\u7ed8\u5236\u5404\u79cd\u5f62\u72b6\u3002\u4f7f\u7528<code>pyplot<\/code>\u6a21\u5757\u4e2d\u7684<code>Circle<\/code>\u7c7b\uff0c\u6211\u4eec\u53ef\u4ee5\u5f88\u65b9\u4fbf\u5730\u7ed8\u5236\u5706\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import matplotlib.pyplot as plt<\/p>\n<h2><strong>\u521b\u5efa\u4e00\u4e2a\u65b0\u7684\u7ed8\u56fe<\/strong><\/h2>\n<p>fig, ax = plt.subplots()<\/p>\n<h2><strong>\u5b9a\u4e49\u5706\u5fc3\u5750\u6807\u548c\u534a\u5f84<\/strong><\/h2>\n<p>circle1 = plt.Circle((0.5, 0.5), 0.2, color=&#39;blue&#39;, fill=False)  # \u7b2c\u4e00\u4e2a\u5706<\/p>\n<p>circle2 = plt.Circle((0.8, 0.5), 0.2, color=&#39;red&#39;, fill=False)   # \u7b2c\u4e8c\u4e2a\u76f8\u5207\u5706<\/p>\n<h2><strong>\u6dfb\u52a0\u5706\u5230\u7ed8\u56fe<\/strong><\/h2>\n<p>ax.add_artist(circle1)<\/p>\n<p>ax.add_artist(circle2)<\/p>\n<h2><strong>\u8bbe\u7f6e\u5750\u6807\u8f74\u7684\u8303\u56f4\u548c\u6bd4\u4f8b<\/strong><\/h2>\n<p>ax.set_xlim(0, 1)<\/p>\n<p>ax.set_ylim(0, 1)<\/p>\n<p>ax.set_aspect(&#39;equal&#39;, &#39;box&#39;)<\/p>\n<h2><strong>\u663e\u793a\u7ed8\u56fe<\/strong><\/h2>\n<p>plt.show()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u4e0a\u9762\u7684\u4ee3\u7801\u5c55\u793a\u4e86\u5982\u4f55\u4f7f\u7528Matplotlib\u7ed8\u5236\u4e24\u4e2a\u76f8\u5207\u7684\u5706\u3002\u6211\u4eec\u901a\u8fc7\u5b9a\u4e49\u6bcf\u4e2a\u5706\u7684\u4e2d\u5fc3\u548c\u534a\u5f84\uff0c\u5e76\u5c06\u5176\u6dfb\u52a0\u5230\u7ed8\u56fe\u4e2d\u3002<\/p>\n<\/p>\n<p><p>\u4e09\u3001\u8ba1\u7b97\u76f8\u5207\u5706\u7684\u5750\u6807\u548c\u534a\u5f84<br \/>\u5728\u7ed8\u5236\u76f8\u5207\u5706\u65f6\uff0c\u51c6\u786e\u8ba1\u7b97\u6bcf\u4e2a\u5706\u7684\u5706\u5fc3\u5750\u6807\u548c\u534a\u5f84\u662f\u5173\u952e\u3002\u4ee5\u4e0b\u662f\u4e00\u4e9b\u91cd\u8981\u7684\u8ba1\u7b97\u6b65\u9aa4\uff1a<\/p>\n<\/p>\n<ol>\n<li><strong>\u786e\u5b9a\u5df2\u77e5\u6761\u4ef6<\/strong>\uff1a\u901a\u5e38\u5305\u62ec\u5df2\u77e5\u7684\u4e00\u4e2a\u5706\u7684\u5706\u5fc3\u5750\u6807\u548c\u534a\u5f84\uff0c\u4ee5\u53ca\u53e6\u4e00\u4e2a\u5706\u7684\u534a\u5f84\u3002<\/li>\n<li><strong>\u5e94\u7528\u76f8\u5207\u6761\u4ef6<\/strong>\uff1a\u5916\u5207\u65f6\uff0c\u4e24\u4e2a\u5706\u5fc3\u4e4b\u95f4\u7684\u8ddd\u79bb\u7b49\u4e8e\u4e24\u4e2a\u5706\u7684\u534a\u5f84\u4e4b\u548c\uff1b\u5185\u5207\u65f6\uff0c\u8ddd\u79bb\u7b49\u4e8e\u534a\u5f84\u4e4b\u5dee\u3002<\/li>\n<li><strong>\u8ba1\u7b97\u65b0\u5706\u7684\u5706\u5fc3\u5750\u6807<\/strong>\uff1a\u6839\u636e\u76f8\u5207\u6761\u4ef6\uff0c\u7ed3\u5408\u51e0\u4f55\u516c\u5f0f\uff0c\u8ba1\u7b97\u51fa\u65b0\u5706\u7684\u4e2d\u5fc3\u5750\u6807\u3002<\/li>\n<\/ol>\n<p><p>\u4e0b\u9762\u7684\u4ee3\u7801\u5c55\u793a\u4e86\u5982\u4f55\u6839\u636e\u5df2\u77e5\u6761\u4ef6\u8ba1\u7b97\u51fa\u76f8\u5207\u5706\u7684\u5750\u6807\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import math<\/p>\n<h2><strong>\u5df2\u77e5\u6761\u4ef6<\/strong><\/h2>\n<p>x1, y1, r1 = 0.5, 0.5, 0.2  # \u7b2c\u4e00\u4e2a\u5706\u7684\u5706\u5fc3\u5750\u6807\u548c\u534a\u5f84<\/p>\n<p>r2 = 0.2                     # \u7b2c\u4e8c\u4e2a\u5706\u7684\u534a\u5f84<\/p>\n<h2><strong>\u8ba1\u7b97\u7b2c\u4e8c\u4e2a\u5706\u7684\u5706\u5fc3\u5750\u6807\uff08\u5047\u8bbe\u5916\u5207\uff09<\/strong><\/h2>\n<p>distance = r1 + r2<\/p>\n<p>x2 = x1 + distance<\/p>\n<p>y2 = y1<\/p>\n<p>print(f&quot;\u7b2c\u4e8c\u4e2a\u5706\u7684\u5706\u5fc3\u5750\u6807\u4e3a: ({x2}, {y2})&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u56db\u3001\u7efc\u5408\u5b9e\u4f8b\uff1a\u7ed8\u5236\u591a\u4e2a\u76f8\u5207\u5706<br \/>\u4e3a\u4e86\u66f4\u597d\u5730\u7406\u89e3\u548c\u5e94\u7528\u4e0a\u8ff0\u6982\u5ff5\uff0c\u6211\u4eec\u53ef\u4ee5\u5c1d\u8bd5\u7ed8\u5236\u4e00\u4e2a\u5305\u542b\u591a\u4e2a\u76f8\u5207\u5706\u7684\u590d\u6742\u56fe\u6848\u3002\u901a\u8fc7\u8c03\u6574\u6bcf\u4e2a\u5706\u7684\u5706\u5fc3\u548c\u534a\u5f84\uff0c\u6211\u4eec\u53ef\u4ee5\u521b\u9020\u51fa\u5404\u79cd\u5404\u6837\u7684\u8bbe\u8ba1\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import matplotlib.pyplot as plt<\/p>\n<h2><strong>\u521b\u5efa\u4e00\u4e2a\u65b0\u7684\u7ed8\u56fe<\/strong><\/h2>\n<p>fig, ax = plt.subplots()<\/p>\n<h2><strong>\u5b9a\u4e49\u591a\u4e2a\u76f8\u5207\u5706\u7684\u5706\u5fc3\u5750\u6807\u548c\u534a\u5f84<\/strong><\/h2>\n<p>circles = [<\/p>\n<p>    (0.5, 0.5, 0.1, &#39;blue&#39;),   # \u7b2c\u4e00\u4e2a\u5706<\/p>\n<p>    (0.6, 0.5, 0.1, &#39;red&#39;),    # \u7b2c\u4e8c\u4e2a\u76f8\u5207\u5706<\/p>\n<p>    (0.7, 0.5, 0.1, &#39;green&#39;),  # \u7b2c\u4e09\u4e2a\u76f8\u5207\u5706<\/p>\n<p>    (0.8, 0.5, 0.1, &#39;purple&#39;)  # \u7b2c\u56db\u4e2a\u76f8\u5207\u5706<\/p>\n<p>]<\/p>\n<h2><strong>\u6dfb\u52a0\u6bcf\u4e2a\u5706\u5230\u7ed8\u56fe<\/strong><\/h2>\n<p>for (x, y, r, color) in circles:<\/p>\n<p>    circle = plt.Circle((x, y), r, color=color, fill=False)<\/p>\n<p>    ax.add_artist(circle)<\/p>\n<h2><strong>\u8bbe\u7f6e\u5750\u6807\u8f74\u7684\u8303\u56f4\u548c\u6bd4\u4f8b<\/strong><\/h2>\n<p>ax.set_xlim(0, 1)<\/p>\n<p>ax.set_ylim(0, 1)<\/p>\n<p>ax.set_aspect(&#39;equal&#39;, &#39;box&#39;)<\/p>\n<h2><strong>\u663e\u793a\u7ed8\u56fe<\/strong><\/h2>\n<p>plt.show()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u901a\u8fc7\u8fd9\u79cd\u65b9\u6cd5\uff0c\u6211\u4eec\u53ef\u4ee5\u8f7b\u677e\u5730\u7ed8\u5236\u51fa\u591a\u4e2a\u76f8\u5207\u7684\u5706\uff0c\u5e76\u901a\u8fc7\u8c03\u6574\u5176\u53c2\u6570\u521b\u5efa\u590d\u6742\u7684\u56fe\u6848\u3002<\/p>\n<\/p>\n<p><p>\u4e94\u3001\u4f18\u5316\u548c\u8c03\u6574\u7ed8\u56fe<br \/>\u5728\u7ed8\u5236\u76f8\u5207\u5706\u7684\u8fc7\u7a0b\u4e2d\uff0c\u6211\u4eec\u53ef\u80fd\u9700\u8981\u8fdb\u884c\u4e00\u4e9b\u4f18\u5316\u548c\u8c03\u6574\uff0c\u4ee5\u786e\u4fdd\u56fe\u5f62\u7684\u7f8e\u89c2\u548c\u51c6\u786e\uff1a<\/p>\n<\/p>\n<ol>\n<li><strong>\u8c03\u6574\u56fe\u5f62\u6bd4\u4f8b<\/strong>\uff1a\u4f7f\u7528<code>ax.set_aspect(&#39;equal&#39;, &#39;box&#39;)<\/code>\u786e\u4fdd\u5706\u5f62\u4e0d\u88ab\u62c9\u4f38\u3002<\/li>\n<li><strong>\u8bbe\u7f6e\u989c\u8272\u548c\u6837\u5f0f<\/strong>\uff1a\u901a\u8fc7\u66f4\u6539<code>Circle<\/code>\u7c7b\u7684\u53c2\u6570\u6765\u8c03\u6574\u5706\u7684\u989c\u8272\u548c\u586b\u5145\u6837\u5f0f\u3002<\/li>\n<li><strong>\u6dfb\u52a0\u6ce8\u91ca\u548c\u6807\u7b7e<\/strong>\uff1a\u4f7f\u7528<code>plt.text()<\/code>\u5728\u56fe\u4e2d\u6dfb\u52a0\u6ce8\u91ca\uff0c\u5e2e\u52a9\u7406\u89e3\u56fe\u5f62\u5185\u5bb9\u3002<\/li>\n<\/ol>\n<p><p>\u901a\u8fc7\u5bf9\u4ee5\u4e0a\u6b65\u9aa4\u7684\u5b9e\u8df5\uff0c\u60a8\u5c06\u80fd\u591f\u5728Python\u4e2d\u719f\u7ec3\u5730\u7ed8\u5236\u76f8\u5207\u5706\u3002\u65e0\u8bba\u662f\u7b80\u5355\u7684\u4e24\u4e2a\u5706\u76f8\u5207\uff0c\u8fd8\u662f\u590d\u6742\u7684\u591a\u5706\u76f8\u5207\u56fe\u6848\uff0c\u7406\u89e3\u8fd9\u4e9b\u57fa\u672c\u539f\u7406\u548c\u5de5\u5177\u7684\u4f7f\u7528\u90fd\u662f\u81f3\u5173\u91cd\u8981\u7684\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728Python\u4e2d\u5b9e\u73b0\u76f8\u5207\u5706\u7684\u7ed8\u5236\uff1f<\/strong><br \/>\u5728Python\u4e2d\uff0c\u53ef\u4ee5\u4f7f\u7528Matplotlib\u5e93\u6765\u7ed8\u5236\u76f8\u5207\u5706\u3002\u9996\u5148\uff0c\u786e\u4fdd\u5b89\u88c5\u4e86Matplotlib\u5e93\u3002\u63a5\u4e0b\u6765\uff0c\u901a\u8fc7\u5b9a\u4e49\u5706\u5fc3\u548c\u534a\u5f84\uff0c\u53ef\u4ee5\u8ba1\u7b97\u51fa\u76f8\u5207\u5706\u7684\u5706\u5fc3\u4f4d\u7f6e\uff0c\u5e76\u7ed8\u5236\u51fa\u6765\u3002\u4ee5\u4e0b\u662f\u4e00\u4e2a\u7b80\u5355\u7684\u793a\u4f8b\u4ee3\u7801\uff0c\u5e2e\u52a9\u4f60\u5feb\u901f\u4e0a\u624b\uff1a<\/p>\n<pre><code class=\"language-python\">import matplotlib.pyplot as plt\nimport numpy as np\n\ndef draw_circle(ax, center, radius):\n    circle = plt.Circle(center, radius, edgecolor=&#39;b&#39;, fill=False)\n    ax.add_artist(circle)\n\n# \u521b\u5efa\u7ed8\u56fe\u533a\u57df\nfig, ax = plt.subplots()\nax.set_aspect(&#39;equal&#39;, adjustable=&#39;box&#39;)\n\n# \u7ed8\u5236\u7b2c\u4e00\u4e2a\u5706\ndraw_circle(ax, (1, 1), 1)\n# \u7ed8\u5236\u76f8\u5207\u7684\u7b2c\u4e8c\u4e2a\u5706\ndraw_circle(ax, (2, 1), 1)\n\n# \u8bbe\u7f6e\u7ed8\u56fe\u8303\u56f4\nax.set_xlim(0, 4)\nax.set_ylim(0, 3)\nplt.grid()\nplt.show()\n<\/code><\/pre>\n<p><strong>\u53ef\u4ee5\u4f7f\u7528\u54ea\u4e9bPython\u5e93\u6765\u7ed8\u5236\u76f8\u5207\u5706\uff1f<\/strong><br \/>\u9664\u4e86Matplotlib\uff0c\u5176\u4ed6\u4e00\u4e9b\u5e93\u4e5f\u53ef\u4ee5\u7528\u4e8e\u7ed8\u5236\u76f8\u5207\u5706\uff0c\u4f8b\u5982Pygame\u548cTurtle\u3002Pygame\u9002\u5408\u521b\u5efa\u52a8\u6001\u56fe\u5f62\u548c\u6e38\u620f\uff0c\u800cTurtle\u5219\u9002\u5408\u6559\u80b2\u76ee\u7684\u548c\u7b80\u5355\u7ed8\u56fe\u3002\u9009\u62e9\u5408\u9002\u7684\u5e93\u53d6\u51b3\u4e8e\u4f60\u7684\u5177\u4f53\u9700\u6c42\u548c\u4f7f\u7528\u573a\u666f\u3002<\/p>\n<p><strong>\u5982\u4f55\u8ba1\u7b97\u76f8\u5207\u5706\u7684\u5706\u5fc3\u4f4d\u7f6e\uff1f<\/strong><br \/>\u8981\u8ba1\u7b97\u76f8\u5207\u5706\u7684\u5706\u5fc3\u4f4d\u7f6e\uff0c\u53ef\u4ee5\u5229\u7528\u51e0\u4f55\u5173\u7cfb\u3002\u5982\u679c\u5df2\u77e5\u4e24\u4e2a\u5706\u7684\u534a\u5f84\u548c\u5176\u4e2d\u4e00\u4e2a\u5706\u7684\u5706\u5fc3\u5750\u6807\uff0c\u53ef\u4ee5\u901a\u8fc7\u7b80\u5355\u7684\u52a0\u6cd5\u6216\u51cf\u6cd5\u64cd\u4f5c\u6765\u5f97\u5230\u76f8\u5207\u5706\u7684\u5706\u5fc3\u4f4d\u7f6e\u3002\u5177\u4f53\u6765\u8bf4\uff0c\u5982\u679c\u7b2c\u4e00\u4e2a\u5706\u5fc3\u4e3a(C_1(x_1, y_1))\uff0c\u534a\u5f84\u4e3a(r_1)\uff0c\u7b2c\u4e8c\u4e2a\u5706\u5fc3(C_2(x_2, y_2))\u7684\u8ba1\u7b97\u516c\u5f0f\u4e3a\uff1a<\/p>\n<ul>\n<li>(x_2 = x_1 + r_1 + r_2)\uff08\u5047\u8bbe\u4e24\u4e2a\u5706\u5728\u6c34\u5e73\u65b9\u5411\u4e0a\u76f8\u5207\uff09<\/li>\n<li>(y_2 = y_1)<\/li>\n<\/ul>\n<p><strong>\u76f8\u5207\u5706\u7684\u7ed8\u5236\u6709\u4ec0\u4e48\u5b9e\u9645\u5e94\u7528\uff1f<\/strong><br \/>\u76f8\u5207\u5706\u7684\u7ed8\u5236\u5728\u591a\u4e2a\u9886\u57df\u5177\u6709\u5b9e\u9645\u5e94\u7528\uff0c\u4f8b\u5982\u5de5\u7a0b\u8bbe\u8ba1\u3001\u673a\u68b0\u5236\u9020\u3001\u8ba1\u7b97\u673a\u56fe\u5f62\u5b66\u7b49\u3002\u5728\u8fd9\u4e9b\u9886\u57df\uff0c\u7406\u89e3\u548c\u5e94\u7528\u76f8\u5207\u5706\u7684\u539f\u7406\u80fd\u591f\u5e2e\u52a9\u8bbe\u8ba1\u66f4\u4e3a\u7cbe\u786e\u7684\u56fe\u5f62\u548c\u7ed3\u6784\uff0c\u63d0\u5347\u6574\u4f53\u8bbe\u8ba1\u7684\u6548\u7387\u548c\u8d28\u91cf\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5728Python\u4e2d\u7ed8\u5236\u76f8\u5207\u5706\u53ef\u4ee5\u901a\u8fc7\u4f7f\u7528Matplotlib\u5e93\u3001\u8ba1\u7b97\u5706\u5fc3\u5750\u6807\u53ca\u534a\u5f84\u3001\u786e\u4fdd\u5706\u4e0e\u5706\u4e4b\u95f4\u76f8\u5207\u6765\u5b9e\u73b0\u3002M [&hellip;]","protected":false},"author":3,"featured_media":960609,"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\/960600"}],"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=960600"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/960600\/revisions"}],"predecessor-version":[{"id":960611,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/960600\/revisions\/960611"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/960609"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=960600"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=960600"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=960600"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}