{"id":1144600,"date":"2025-01-08T23:01:11","date_gmt":"2025-01-08T15:01:11","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1144600.html"},"modified":"2025-01-08T23:01:13","modified_gmt":"2025-01-08T15:01:13","slug":"python%e5%a6%82%e4%bd%95%e7%94%bb%e4%b8%80%e6%9d%a1%e7%ba%bf%e8%b4%af%e7%a9%bf3%e4%b8%aa%e7%82%b9","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1144600.html","title":{"rendered":"python\u5982\u4f55\u753b\u4e00\u6761\u7ebf\u8d2f\u7a7f3\u4e2a\u70b9"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/24181617\/e9a85cad-247b-431f-8195-06334891d553.webp\" alt=\"python\u5982\u4f55\u753b\u4e00\u6761\u7ebf\u8d2f\u7a7f3\u4e2a\u70b9\" \/><\/p>\n<p><p> <strong>\u5728Python\u4e2d\uff0c\u753b\u4e00\u6761\u8d2f\u7a7f\u4e09\u4e2a\u70b9\u7684\u7ebf\u901a\u5e38\u6d89\u53ca\u4f7f\u7528\u6570\u5b66\u548c\u56fe\u5f62\u5e93\uff0c\u5982Matplotlib\u3002<\/strong> \u4e3b\u8981\u6b65\u9aa4\u5305\u62ec\uff1a<strong>\u8ba1\u7b97\u7ebf\u6027\u65b9\u7a0b\u3001\u9a8c\u8bc1\u70b9\u7684\u5171\u7ebf\u6027\u3001\u4f7f\u7528\u56fe\u5f62\u5e93\u7ed8\u5236\u7ebf\u6761<\/strong>\u3002\u6211\u4eec\u5c06\u8be6\u7ec6\u8ba8\u8bba\u5176\u4e2d\u7684\u8ba1\u7b97\u7ebf\u6027\u65b9\u7a0b\u3002<\/p>\n<\/p>\n<p><p><strong>\u8ba1\u7b97\u7ebf\u6027\u65b9\u7a0b<\/strong>\uff1a\u7ed9\u5b9a\u4e09\u4e2a\u70b9 (x1, y1), (x2, y2), \u548c (x3, y3)\uff0c\u53ef\u4ee5\u901a\u8fc7\u8ba1\u7b97\u8fd9\u4e9b\u70b9\u7684\u7ebf\u6027\u5173\u7cfb\u6765\u786e\u5b9a\u662f\u5426\u5171\u7ebf\u3002\u5bf9\u4e8e\u4e8c\u7ef4\u7a7a\u95f4\uff0c\u7ebf\u6027\u65b9\u7a0b\u53ef\u4ee5\u8868\u793a\u4e3a y = mx + c\uff0c\u5176\u4e2d m \u662f\u659c\u7387\uff0cc \u662f\u622a\u8ddd\u3002\u901a\u8fc7\u4f7f\u7528\u659c\u7387\u516c\u5f0f m = (y2 &#8211; y1) \/ (x2 &#8211; x1)\uff0c\u6211\u4eec\u53ef\u4ee5\u8ba1\u7b97\u4e24\u4e2a\u70b9\u95f4\u7684\u659c\u7387\u3002\u7136\u540e\u4f7f\u7528\u5df2\u77e5\u70b9\u4ee3\u5165 y = mx + c \u516c\u5f0f\u6765\u6c42\u89e3\u622a\u8ddd c\u3002\u901a\u8fc7\u8fd9\u79cd\u65b9\u5f0f\uff0c\u53ef\u4ee5\u9a8c\u8bc1\u7b2c\u4e09\u4e2a\u70b9\u662f\u5426\u5728\u8be5\u76f4\u7ebf\u4e0a\u3002\u63a5\u4e0b\u6765\uff0c\u6211\u4eec\u5c06\u8be6\u7ec6\u63a2\u8ba8\u8fd9\u4e2a\u8fc7\u7a0b\uff0c\u5e76\u5c55\u793a\u5982\u4f55\u4f7f\u7528 Matplotlib \u7ed8\u5236\u8fd9\u6761\u7ebf\u3002<\/p>\n<\/p>\n<p><h3>\u4e00\u3001\u9a8c\u8bc1\u70b9\u7684\u5171\u7ebf\u6027<\/h3>\n<\/p>\n<p><p>\u5728\u6570\u5b66\u4e0a\uff0c\u4e09\u70b9\u5171\u7ebf\u610f\u5473\u7740\u8fd9\u4e9b\u70b9\u5728\u540c\u4e00\u76f4\u7ebf\u4e0a\u3002\u6211\u4eec\u53ef\u4ee5\u901a\u8fc7\u8ba1\u7b97\u8fd9\u4e9b\u70b9\u7684\u659c\u7387\u6765\u9a8c\u8bc1\u8fd9\u4e00\u70b9\u3002<\/p>\n<\/p>\n<p><h4>1\u3001\u8ba1\u7b97\u659c\u7387<\/h4>\n<\/p>\n<p><p>\u659c\u7387 m \u7684\u516c\u5f0f\u4e3a\uff1a<\/p>\n<p>[ m = \\frac{y2 &#8211; y1}{x2 &#8211; x1} ]<\/p>\n<\/p>\n<p><p>\u5047\u8bbe\u6211\u4eec\u6709\u4e09\u4e2a\u70b9 (x1, y1), (x2, y2), (x3, y3)\uff0c\u9996\u5148\u8ba1\u7b97\u70b9 (x1, y1) \u548c (x2, y2) \u4e4b\u95f4\u7684\u659c\u7387\uff1a<\/p>\n<p>[ m_{12} = \\frac{y2 &#8211; y1}{x2 &#8211; x1} ]<\/p>\n<\/p>\n<p><p>\u63a5\u7740\u8ba1\u7b97\u70b9 (x2, y2) \u548c (x3, y3) \u4e4b\u95f4\u7684\u659c\u7387\uff1a<\/p>\n<p>[ m_{23} = \\frac{y3 &#8211; y2}{x3 &#8211; x2} ]<\/p>\n<\/p>\n<p><p>\u5982\u679c ( m_{12} ) \u548c ( m_{23} ) \u76f8\u7b49\uff0c\u5219\u8bf4\u660e\u8fd9\u4e09\u4e2a\u70b9\u662f\u5171\u7ebf\u7684\u3002<\/p>\n<\/p>\n<p><h4>2\u3001Python\u5b9e\u73b0<\/h4>\n<\/p>\n<p><pre><code class=\"language-python\">def are_points_collinear(x1, y1, x2, y2, x3, y3):<\/p>\n<p>    # \u8ba1\u7b97\u659c\u7387<\/p>\n<p>    m12 = (y2 - y1) \/ (x2 - x1)<\/p>\n<p>    m23 = (y3 - y2) \/ (x3 - x2)<\/p>\n<p>    return m12 == m23<\/p>\n<h2><strong>\u793a\u4f8b\u70b9<\/strong><\/h2>\n<p>x1, y1 = 1, 2<\/p>\n<p>x2, y2 = 2, 3<\/p>\n<p>x3, y3 = 3, 4<\/p>\n<p>print(are_points_collinear(x1, y1, x2, y2, x3, y3))  # \u8f93\u51fa: True<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u4e8c\u3001\u8ba1\u7b97\u7ebf\u6027\u65b9\u7a0b<\/h3>\n<\/p>\n<p><p>\u5728\u786e\u8ba4\u70b9\u662f\u5171\u7ebf\u7684\u60c5\u51b5\u4e0b\uff0c\u6211\u4eec\u53ef\u4ee5\u8ba1\u7b97\u51fa\u8fd9\u6761\u76f4\u7ebf\u7684\u65b9\u7a0b\u3002\u5047\u8bbe\u6211\u4eec\u5df2\u7ecf\u8ba1\u7b97\u51fa\u4e86\u659c\u7387 m\uff0c\u63a5\u4e0b\u6765\u6211\u4eec\u53ef\u4ee5\u901a\u8fc7\u4ee3\u5165\u4e00\u4e2a\u70b9\u7684\u5750\u6807\u6765\u8ba1\u7b97\u622a\u8ddd c\u3002<\/p>\n<\/p>\n<p><h4>1\u3001\u8ba1\u7b97\u622a\u8ddd<\/h4>\n<\/p>\n<p><p>\u622a\u8ddd c \u7684\u516c\u5f0f\u4e3a\uff1a<\/p>\n<p>[ y = mx + c ]<\/p>\n<p>[ c = y &#8211; mx ]<\/p>\n<\/p>\n<p><p>\u6211\u4eec\u53ef\u4ee5\u9009\u62e9\u4efb\u610f\u4e00\u4e2a\u70b9\u4ee3\u5165\u516c\u5f0f\u6765\u6c42\u89e3 c\u3002<\/p>\n<\/p>\n<p><h4>2\u3001Python\u5b9e\u73b0<\/h4>\n<\/p>\n<p><pre><code class=\"language-python\">def line_equation(x1, y1, x2, y2):<\/p>\n<p>    # \u8ba1\u7b97\u659c\u7387<\/p>\n<p>    m = (y2 - y1) \/ (x2 - x1)<\/p>\n<p>    # \u8ba1\u7b97\u622a\u8ddd<\/p>\n<p>    c = y1 - m * x1<\/p>\n<p>    return m, c<\/p>\n<h2><strong>\u793a\u4f8b\u70b9<\/strong><\/h2>\n<p>x1, y1 = 1, 2<\/p>\n<p>x2, y2 = 2, 3<\/p>\n<p>m, c = line_equation(x1, y1, x2, y2)<\/p>\n<p>print(f&quot;\u76f4\u7ebf\u65b9\u7a0b: y = {m}x + {c}&quot;)  # \u8f93\u51fa: \u76f4\u7ebf\u65b9\u7a0b: y = 1.0x + 1.0<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u4e09\u3001\u4f7f\u7528Matplotlib\u7ed8\u5236\u7ebf\u6761<\/h3>\n<\/p>\n<p><p>\u5728\u786e\u5b9a\u4e86\u7ebf\u6027\u65b9\u7a0b\u540e\uff0c\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528 Matplotlib \u6765\u7ed8\u5236\u8fd9\u6761\u76f4\u7ebf\u3002Matplotlib \u662f\u4e00\u4e2a\u975e\u5e38\u5f3a\u5927\u7684\u7ed8\u56fe\u5e93\uff0c\u9002\u7528\u4e8e\u6570\u636e\u53ef\u89c6\u5316\u548c\u56fe\u5f62\u7ed8\u5236\u3002<\/p>\n<\/p>\n<p><h4>1\u3001\u5b89\u88c5Matplotlib<\/h4>\n<\/p>\n<p><p>\u9996\u5148\uff0c\u786e\u4fdd\u4f60\u7684\u73af\u5883\u4e2d\u5df2\u7ecf\u5b89\u88c5\u4e86 Matplotlib\u3002\u5982\u679c\u6ca1\u6709\u5b89\u88c5\uff0c\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u8fdb\u884c\u5b89\u88c5\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-sh\">pip install matplotlib<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>2\u3001\u7ed8\u5236\u7ebf\u6761<\/h4>\n<\/p>\n<p><p>\u4f7f\u7528 Matplotlib\uff0c\u6211\u4eec\u53ef\u4ee5\u6839\u636e\u7ebf\u6027\u65b9\u7a0b y = mx + c \u7ed8\u5236\u7ebf\u6761\uff0c\u5e76\u6807\u8bb0\u4e09\u4e2a\u70b9\u3002<\/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>def plot_line_through_points(x1, y1, x2, y2, x3, y3):<\/p>\n<p>    # \u8ba1\u7b97\u659c\u7387\u548c\u622a\u8ddd<\/p>\n<p>    m, c = line_equation(x1, y1, x2, y2)<\/p>\n<p>    # \u521b\u5efa x \u8303\u56f4<\/p>\n<p>    x = np.linspace(min(x1, x2, x3), max(x1, x2, x3), 400)<\/p>\n<p>    y = m * x + c<\/p>\n<p>    # \u7ed8\u5236\u76f4\u7ebf<\/p>\n<p>    plt.plot(x, y, label=f&#39;Line: y = {m}x + {c}&#39;)<\/p>\n<p>    # \u6807\u8bb0\u70b9<\/p>\n<p>    plt.scatter([x1, x2, x3], [y1, y2, y3], color=&#39;red&#39;)<\/p>\n<p>    plt.text(x1, y1, f&#39;({x1}, {y1})&#39;)<\/p>\n<p>    plt.text(x2, y2, f&#39;({x2}, {y2})&#39;)<\/p>\n<p>    plt.text(x3, y3, f&#39;({x3}, {y3})&#39;)<\/p>\n<p>    # \u8bbe\u7f6e\u56fe\u5f62\u6807\u9898\u548c\u6807\u7b7e<\/p>\n<p>    plt.title(&#39;Line through Three Points&#39;)<\/p>\n<p>    plt.xlabel(&#39;x&#39;)<\/p>\n<p>    plt.ylabel(&#39;y&#39;)<\/p>\n<p>    # \u663e\u793a\u56fe\u4f8b<\/p>\n<p>    plt.legend()<\/p>\n<p>    # \u663e\u793a\u56fe\u5f62<\/p>\n<p>    plt.show()<\/p>\n<h2><strong>\u793a\u4f8b\u70b9<\/strong><\/h2>\n<p>x1, y1 = 1, 2<\/p>\n<p>x2, y2 = 2, 3<\/p>\n<p>x3, y3 = 3, 4<\/p>\n<p>plot_line_through_points(x1, y1, x2, y2, x3, y3)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u56db\u3001\u5904\u7406\u7279\u6b8a\u60c5\u51b5<\/h3>\n<\/p>\n<p><p>\u5728\u5b9e\u9645\u5e94\u7528\u4e2d\uff0c\u53ef\u80fd\u4f1a\u9047\u5230\u4e00\u4e9b\u7279\u6b8a\u60c5\u51b5\uff0c\u4f8b\u5982\u5782\u76f4\u7ebf\u6761\uff08\u659c\u7387\u4e3a\u65e0\u7a77\u5927\uff09\u6216\u91cd\u590d\u70b9\u3002\u8fd9\u4e9b\u60c5\u51b5\u9700\u8981\u7279\u522b\u5904\u7406\u3002<\/p>\n<\/p>\n<p><h4>1\u3001\u5782\u76f4\u7ebf\u6761<\/h4>\n<\/p>\n<p><p>\u5f53\u4e24\u4e2a\u70b9\u7684 x \u5750\u6807\u76f8\u540c\u65f6\uff0c\u659c\u7387\u4e3a\u65e0\u7a77\u5927\u3002\u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u7ebf\u6027\u65b9\u7a0b\u4e0d\u80fd\u7528 y = mx + c \u8868\u793a\uff0c\u800c\u662f\u7528 x = constant \u8868\u793a\u3002<\/p>\n<\/p>\n<p><h4>2\u3001\u91cd\u590d\u70b9<\/h4>\n<\/p>\n<p><p>\u5982\u679c\u6709\u91cd\u590d\u70b9\uff0c\u9700\u8981\u68c0\u67e5\u5e76\u6392\u9664\u8fd9\u4e9b\u70b9\uff0c\u4ee5\u907f\u514d\u8ba1\u7b97\u9519\u8bef\u3002<\/p>\n<\/p>\n<p><h4>3\u3001Python\u5b9e\u73b0<\/h4>\n<\/p>\n<p><pre><code class=\"language-python\">def line_equation_special(x1, y1, x2, y2):<\/p>\n<p>    if x1 == x2:<\/p>\n<p>        return None, x1  # \u5782\u76f4\u7ebf\u6761<\/p>\n<p>    else:<\/p>\n<p>        m = (y2 - y1) \/ (x2 - x1)<\/p>\n<p>        c = y1 - m * x1<\/p>\n<p>        return m, c<\/p>\n<p>def plot_line_through_points_special(x1, y1, x2, y2, x3, y3):<\/p>\n<p>    if x1 == x2 == x3:<\/p>\n<p>        plt.axvline(x=x1, label=f&#39;Line: x = {x1}&#39;, color=&#39;blue&#39;)<\/p>\n<p>    else:<\/p>\n<p>        m, c = line_equation_special(x1, y1, x2, y2)<\/p>\n<p>        x = np.linspace(min(x1, x2, x3), max(x1, x2, x3), 400)<\/p>\n<p>        if m is not None:<\/p>\n<p>            y = m * x + c<\/p>\n<p>            plt.plot(x, y, label=f&#39;Line: y = {m}x + {c}&#39;)<\/p>\n<p>        else:<\/p>\n<p>            plt.axvline(x=c, label=f&#39;Line: x = {c}&#39;, color=&#39;blue&#39;)<\/p>\n<p>    plt.scatter([x1, x2, x3], [y1, y2, y3], color=&#39;red&#39;)<\/p>\n<p>    plt.text(x1, y1, f&#39;({x1}, {y1})&#39;)<\/p>\n<p>    plt.text(x2, y2, f&#39;({x2}, {y2})&#39;)<\/p>\n<p>    plt.text(x3, y3, f&#39;({x3}, {y3})&#39;)<\/p>\n<p>    plt.title(&#39;Line through Three Points&#39;)<\/p>\n<p>    plt.xlabel(&#39;x&#39;)<\/p>\n<p>    plt.ylabel(&#39;y&#39;)<\/p>\n<p>    plt.legend()<\/p>\n<p>    plt.show()<\/p>\n<h2><strong>\u793a\u4f8b\u70b9<\/strong><\/h2>\n<p>x1, y1 = 1, 2<\/p>\n<p>x2, y2 = 1, 3<\/p>\n<p>x3, y3 = 1, 4<\/p>\n<p>plot_line_through_points_special(x1, y1, x2, y2, x3, y3)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u4e94\u3001\u603b\u7ed3<\/h3>\n<\/p>\n<p><p>\u901a\u8fc7\u672c\u6587\u7684\u8be6\u7ec6\u4ecb\u7ecd\uff0c\u6211\u4eec\u4e86\u89e3\u4e86\u5982\u4f55\u5728 Python \u4e2d\u7ed8\u5236\u8d2f\u7a7f\u4e09\u4e2a\u70b9\u7684\u7ebf\u6761\u3002\u4e3b\u8981\u6b65\u9aa4\u5305\u62ec<strong>\u9a8c\u8bc1\u70b9\u7684\u5171\u7ebf\u6027\u3001\u8ba1\u7b97\u7ebf\u6027\u65b9\u7a0b\u3001\u5904\u7406\u7279\u6b8a\u60c5\u51b5<\/strong>\uff0c\u4ee5\u53ca\u4f7f\u7528 Matplotlib \u8fdb\u884c\u7ed8\u56fe\u3002\u638c\u63e1\u8fd9\u4e9b\u77e5\u8bc6\u53ef\u4ee5\u5e2e\u52a9\u6211\u4eec\u5728\u6570\u636e\u53ef\u89c6\u5316\u548c\u56fe\u5f62\u5904\u7406\u65b9\u9762\u5b9e\u73b0\u66f4\u591a\u590d\u6742\u7684\u529f\u80fd\u3002\u901a\u8fc7\u4e0d\u65ad\u5b9e\u8df5\u548c\u5e94\u7528\uff0c\u76f8\u4fe1\u4f60\u4f1a\u9010\u6e10\u7cbe\u901a\u8fd9\u4e9b\u6280\u5de7\uff0c\u4e3a\u4f60\u7684\u9879\u76ee\u548c\u7814\u7a76\u63d0\u4f9b\u6709\u529b\u652f\u6301\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728Python\u4e2d\u7ed8\u5236\u4e00\u6761\u7ebf\u8fde\u63a5\u4e09\u4e2a\u6307\u5b9a\u7684\u70b9\uff1f<\/strong><br \/>\u5728Python\u4e2d\uff0c\u53ef\u4ee5\u4f7f\u7528Matplotlib\u5e93\u6765\u7ed8\u5236\u7ebf\u6761\u3002\u9996\u5148\uff0c\u9700\u8981\u5b89\u88c5Matplotlib\u5e93\uff0c\u7136\u540e\u521b\u5efa\u4e00\u4e2a\u5305\u542b\u4e09\u4e2a\u70b9\u7684\u5217\u8868\uff0c\u5e76\u4f7f\u7528<code>plot<\/code>\u51fd\u6570\u5c06\u5b83\u4eec\u8fde\u63a5\u8d77\u6765\u3002\u4f8b\u5982\uff0c\u4f7f\u7528<code>plt.plot()<\/code>\u51fd\u6570\u4f20\u5165X\u548cY\u5750\u6807\u5373\u53ef\u5b9e\u73b0\u3002<\/p>\n<p><strong>\u5728\u7ed8\u56fe\u65f6\u5982\u4f55\u8bbe\u7f6e\u5750\u6807\u8f74\u548c\u6807\u9898\uff1f<\/strong><br \/>\u53ef\u4ee5\u4f7f\u7528Matplotlib\u63d0\u4f9b\u7684<code>xlabel<\/code>\u548c<code>ylabel<\/code>\u51fd\u6570\u6765\u8bbe\u7f6e\u5750\u6807\u8f74\u7684\u6807\u7b7e\uff0c\u4f7f\u7528<code>title<\/code>\u51fd\u6570\u6765\u6dfb\u52a0\u6807\u9898\u3002\u8fd9\u4e9b\u8bbe\u7f6e\u53ef\u4ee5\u5e2e\u52a9\u89c2\u4f17\u66f4\u597d\u5730\u7406\u89e3\u56fe\u8868\u6240\u8868\u793a\u7684\u4fe1\u606f\uff0c\u63d0\u5347\u53ef\u8bfb\u6027\u3002<\/p>\n<p><strong>\u5982\u4f55\u5728\u56fe\u4e2d\u6807\u8bb0\u70b9\u7684\u4f4d\u7f6e\uff1f<\/strong><br \/>\u53ef\u4ee5\u4f7f\u7528<code>scatter<\/code>\u51fd\u6570\u5728\u56fe\u4e2d\u6807\u8bb0\u7279\u5b9a\u7684\u70b9\u3002\u901a\u8fc7\u4f20\u5165\u70b9\u7684X\u548cY\u5750\u6807\uff0c\u914d\u5408<code>text<\/code>\u51fd\u6570\u6765\u6dfb\u52a0\u6587\u672c\u6807\u7b7e\uff0c\u53ef\u4ee5\u6e05\u6670\u5730\u5c55\u793a\u6bcf\u4e2a\u70b9\u7684\u5177\u4f53\u4f4d\u7f6e\u548c\u540d\u79f0\u3002\u8fd9\u6709\u52a9\u4e8e\u89c2\u4f17\u8bc6\u522b\u56fe\u4e2d\u7684\u91cd\u8981\u6570\u636e\u70b9\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5728Python\u4e2d\uff0c\u753b\u4e00\u6761\u8d2f\u7a7f\u4e09\u4e2a\u70b9\u7684\u7ebf\u901a\u5e38\u6d89\u53ca\u4f7f\u7528\u6570\u5b66\u548c\u56fe\u5f62\u5e93\uff0c\u5982Matplotlib\u3002 \u4e3b\u8981\u6b65\u9aa4\u5305\u62ec\uff1a\u8ba1\u7b97\u7ebf [&hellip;]","protected":false},"author":3,"featured_media":1144607,"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\/1144600"}],"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=1144600"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1144600\/revisions"}],"predecessor-version":[{"id":1144608,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1144600\/revisions\/1144608"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1144607"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1144600"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1144600"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1144600"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}