{"id":1147877,"date":"2025-01-13T16:30:20","date_gmt":"2025-01-13T08:30:20","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1147877.html"},"modified":"2025-01-13T16:30:22","modified_gmt":"2025-01-13T08:30:22","slug":"python%e5%a6%82%e4%bd%95%e7%bb%98%e7%94%bb%e5%87%bd%e6%95%b0%e6%9b%b2%e7%ba%bf","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1147877.html","title":{"rendered":"python\u5982\u4f55\u7ed8\u753b\u51fd\u6570\u66f2\u7ebf"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25170035\/e0adf9a8-e556-41a0-af3d-5c8c8ee2d759.webp\" alt=\"python\u5982\u4f55\u7ed8\u753b\u51fd\u6570\u66f2\u7ebf\" \/><\/p>\n<p><p> Python\u7ed8\u753b\u51fd\u6570\u66f2\u7ebf\u7684\u65b9\u6cd5\u6709\u5f88\u591a\u79cd\uff0c<strong>\u4e3b\u8981\u4f7f\u7528\u7684\u5e93\u5305\u62ecMatplotlib\u3001Seaborn\u3001Plotly<\/strong>\u7b49\u3002\u5176\u4e2d\uff0c<strong>Matplotlib\u662f\u6700\u5e38\u7528\u7684\u5e93<\/strong>\uff0c\u56e0\u4e3a\u5b83\u529f\u80fd\u5f3a\u5927\u4e14\u6613\u4e8e\u4f7f\u7528\u3002\u901a\u8fc7Matplotlib\uff0c\u4f60\u53ef\u4ee5\u8f7b\u677e\u5730\u7ed8\u5236\u51fa\u5404\u79cd\u7c7b\u578b\u7684\u56fe\u8868\uff0c\u5305\u62ec\u51fd\u6570\u66f2\u7ebf\u3002\u5177\u4f53\u6b65\u9aa4\u5305\u62ec\uff1a<strong>\u5bfc\u5165\u5e93\u3001\u751f\u6210\u6570\u636e\u3001\u521b\u5efa\u56fe\u5f62\u5bf9\u8c61\u3001\u7ed8\u5236\u66f2\u7ebf<\/strong>\u7b49\u3002\u4e0b\u9762\u5c06\u8be6\u7ec6\u63cf\u8ff0\u5982\u4f55\u4f7f\u7528Matplotlib\u7ed8\u5236\u51fd\u6570\u66f2\u7ebf\u3002<\/p>\n<\/p>\n<p><h3>\u4e00\u3001\u5bfc\u5165\u5fc5\u8981\u7684\u5e93<\/h3>\n<\/p>\n<p><p>\u5728\u5f00\u59cb\u7ed8\u56fe\u4e4b\u524d\uff0c\u6211\u4eec\u9700\u8981\u5bfc\u5165\u5fc5\u8981\u7684\u5e93\u3002Matplotlib\u5e93\u7684<code>pyplot<\/code>\u6a21\u5757\u901a\u5e38\u7528\u4e8e\u521b\u5efa\u56fe\u8868\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><\/code><\/pre>\n<\/p>\n<p><h3>\u4e8c\u3001\u751f\u6210\u6570\u636e<\/h3>\n<\/p>\n<p><p>\u5728\u7ed8\u5236\u51fd\u6570\u66f2\u7ebf\u4e4b\u524d\uff0c\u6211\u4eec\u9700\u8981\u751f\u6210\u81ea\u53d8\u91cf\u548c\u56e0\u53d8\u91cf\u7684\u6570\u636e\u3002\u5047\u8bbe\u6211\u4eec\u8981\u7ed8\u5236\u4e00\u4e2a\u6b63\u5f26\u51fd\u6570\u7684\u66f2\u7ebf\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">x = np.linspace(0, 2 * np.pi, 100)  # \u751f\u6210\u4ece0\u52302\u03c0\u7684100\u4e2a\u70b9<\/p>\n<p>y = np.sin(x)                       # \u8ba1\u7b97\u8fd9\u4e9b\u70b9\u5bf9\u5e94\u7684\u6b63\u5f26\u503c<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u4e09\u3001\u521b\u5efa\u56fe\u5f62\u5bf9\u8c61\u5e76\u7ed8\u5236\u66f2\u7ebf<\/h3>\n<\/p>\n<p><p>\u63a5\u4e0b\u6765\uff0c\u521b\u5efa\u4e00\u4e2a\u56fe\u5f62\u5bf9\u8c61\u5e76\u5728\u5176\u4e0a\u7ed8\u5236\u66f2\u7ebf\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">plt.figure()          # \u521b\u5efa\u4e00\u4e2a\u65b0\u7684\u56fe\u5f62\u5bf9\u8c61<\/p>\n<p>plt.plot(x, y)        # \u7ed8\u5236\u6b63\u5f26\u51fd\u6570\u66f2\u7ebf<\/p>\n<p>plt.title(&#39;Sine Wave&#39;)  # \u8bbe\u7f6e\u56fe\u8868\u6807\u9898<\/p>\n<p>plt.xlabel(&#39;x&#39;)         # \u8bbe\u7f6ex\u8f74\u6807\u7b7e<\/p>\n<p>plt.ylabel(&#39;sin(x)&#39;)    # \u8bbe\u7f6ey\u8f74\u6807\u7b7e<\/p>\n<p>plt.grid(True)          # \u663e\u793a\u7f51\u683c\u7ebf<\/p>\n<p>plt.show()              # \u663e\u793a\u56fe\u8868<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u56db\u3001\u8be6\u7ec6\u793a\u4f8b<\/h3>\n<\/p>\n<p><p>\u4e3a\u4e86\u66f4\u8be6\u7ec6\u5730\u5c55\u793a\u5982\u4f55\u4f7f\u7528Matplotlib\u7ed8\u5236\u51fd\u6570\u66f2\u7ebf\uff0c\u4e0b\u9762\u5c06\u5c55\u793a\u4e00\u4e2a\u66f4\u590d\u6742\u7684\u793a\u4f8b\uff0c\u5305\u62ec\u591a\u4e2a\u51fd\u6570\u66f2\u7ebf\u4ee5\u53ca\u81ea\u5b9a\u4e49\u56fe\u8868\u7684\u5916\u89c2\u3002<\/p>\n<\/p>\n<p><h4>1. \u5bfc\u5165\u5e93<\/h4>\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>2. \u751f\u6210\u6570\u636e<\/h4>\n<\/p>\n<p><p>\u751f\u6210\u591a\u4e2a\u51fd\u6570\u7684\u6570\u636e\uff0c\u4f8b\u5982\u6b63\u5f26\u51fd\u6570\u548c\u4f59\u5f26\u51fd\u6570\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">x = np.linspace(0, 2 * np.pi, 100)  # \u751f\u6210\u4ece0\u52302\u03c0\u7684100\u4e2a\u70b9<\/p>\n<p>y1 = np.sin(x)                      # \u8ba1\u7b97\u6b63\u5f26\u503c<\/p>\n<p>y2 = np.cos(x)                      # \u8ba1\u7b97\u4f59\u5f26\u503c<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>3. \u521b\u5efa\u56fe\u5f62\u5bf9\u8c61\u5e76\u7ed8\u5236\u66f2\u7ebf<\/h4>\n<\/p>\n<p><p>\u5728\u540c\u4e00\u4e2a\u56fe\u8868\u4e0a\u7ed8\u5236\u591a\u4e2a\u51fd\u6570\u66f2\u7ebf\uff0c\u5e76\u81ea\u5b9a\u4e49\u56fe\u8868\u7684\u5916\u89c2\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">plt.figure(figsize=(10, 6))           # \u521b\u5efa\u4e00\u4e2a\u65b0\u7684\u56fe\u5f62\u5bf9\u8c61\uff0c\u5e76\u8bbe\u7f6e\u56fe\u8868\u5927\u5c0f<\/p>\n<p>plt.plot(x, y1, label=&#39;sin(x)&#39;, color=&#39;blue&#39;, linestyle=&#39;-&#39;, linewidth=2)  # \u7ed8\u5236\u6b63\u5f26\u51fd\u6570\u66f2\u7ebf<\/p>\n<p>plt.plot(x, y2, label=&#39;cos(x)&#39;, color=&#39;red&#39;, linestyle=&#39;--&#39;, linewidth=2)  # \u7ed8\u5236\u4f59\u5f26\u51fd\u6570\u66f2\u7ebf<\/p>\n<p>plt.title(&#39;Sine and Cosine Waves&#39;)   # \u8bbe\u7f6e\u56fe\u8868\u6807\u9898<\/p>\n<p>plt.xlabel(&#39;x&#39;)                       # \u8bbe\u7f6ex\u8f74\u6807\u7b7e<\/p>\n<p>plt.ylabel(&#39;Function Value&#39;)          # \u8bbe\u7f6ey\u8f74\u6807\u7b7e<\/p>\n<p>plt.legend()                          # \u663e\u793a\u56fe\u4f8b<\/p>\n<p>plt.grid(True)                        # \u663e\u793a\u7f51\u683c\u7ebf<\/p>\n<p>plt.show()                            # \u663e\u793a\u56fe\u8868<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u4e94\u3001\u4f7f\u7528Seaborn\u7ed8\u5236\u51fd\u6570\u66f2\u7ebf<\/h3>\n<\/p>\n<p><p>Seaborn\u662f\u4e00\u4e2a\u57fa\u4e8eMatplotlib\u7684\u9ad8\u7ea7\u7ed8\u56fe\u5e93\uff0c\u5b83\u4f7f\u5f97\u7ed8\u56fe\u66f4\u52a0\u7b80\u6d01\u548c\u7f8e\u89c2\u3002\u6211\u4eec\u4e5f\u53ef\u4ee5\u4f7f\u7528Seaborn\u6765\u7ed8\u5236\u51fd\u6570\u66f2\u7ebf\u3002<\/p>\n<\/p>\n<p><h4>1. \u5bfc\u5165\u5e93<\/h4>\n<\/p>\n<p><pre><code class=\"language-python\">import seaborn as sns<\/p>\n<p>import matplotlib.pyplot as plt<\/p>\n<p>import numpy as np<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>2. \u751f\u6210\u6570\u636e<\/h4>\n<\/p>\n<p><p>\u4e0e\u4e4b\u524d\u7c7b\u4f3c\uff0c\u6211\u4eec\u751f\u6210\u6b63\u5f26\u51fd\u6570\u7684\u6570\u636e\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">x = np.linspace(0, 2 * np.pi, 100)<\/p>\n<p>y = np.sin(x)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>3. \u521b\u5efa\u56fe\u5f62\u5bf9\u8c61\u5e76\u7ed8\u5236\u66f2\u7ebf<\/h4>\n<\/p>\n<p><p>\u4f7f\u7528Seaborn\u7684\u7ed8\u56fe\u51fd\u6570\u6765\u7ed8\u5236\u66f2\u7ebf\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">sns.set(style=&quot;darkgrid&quot;)  # \u8bbe\u7f6e\u56fe\u8868\u6837\u5f0f<\/p>\n<p>plt.figure(figsize=(10, 6))  # \u521b\u5efa\u4e00\u4e2a\u65b0\u7684\u56fe\u5f62\u5bf9\u8c61\uff0c\u5e76\u8bbe\u7f6e\u56fe\u8868\u5927\u5c0f<\/p>\n<p>sns.lineplot(x=x, y=y, label=&#39;sin(x)&#39;, color=&#39;blue&#39;)  # \u4f7f\u7528Seaborn\u7ed8\u5236\u6b63\u5f26\u51fd\u6570\u66f2\u7ebf<\/p>\n<p>plt.title(&#39;Sine Wave&#39;)  # \u8bbe\u7f6e\u56fe\u8868\u6807\u9898<\/p>\n<p>plt.xlabel(&#39;x&#39;)          # \u8bbe\u7f6ex\u8f74\u6807\u7b7e<\/p>\n<p>plt.ylabel(&#39;sin(x)&#39;)     # \u8bbe\u7f6ey\u8f74\u6807\u7b7e<\/p>\n<p>plt.legend()             # \u663e\u793a\u56fe\u4f8b<\/p>\n<p>plt.show()               # \u663e\u793a\u56fe\u8868<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u516d\u3001\u4f7f\u7528Plotly\u7ed8\u5236\u51fd\u6570\u66f2\u7ebf<\/h3>\n<\/p>\n<p><p>Plotly\u662f\u4e00\u4e2a\u5f3a\u5927\u7684\u7ed8\u56fe\u5e93\uff0c\u652f\u6301\u4ea4\u4e92\u5f0f\u56fe\u8868\u3002\u4f7f\u7528Plotly\u53ef\u4ee5\u8f7b\u677e\u521b\u5efa\u4ea4\u4e92\u5f0f\u7684\u51fd\u6570\u66f2\u7ebf\u56fe\u3002<\/p>\n<\/p>\n<p><h4>1. \u5bfc\u5165\u5e93<\/h4>\n<\/p>\n<p><pre><code class=\"language-python\">import plotly.graph_objects as go<\/p>\n<p>import numpy as np<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>2. \u751f\u6210\u6570\u636e<\/h4>\n<\/p>\n<p><p>\u751f\u6210\u6b63\u5f26\u51fd\u6570\u7684\u6570\u636e\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">x = np.linspace(0, 2 * np.pi, 100)<\/p>\n<p>y = np.sin(x)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>3. \u521b\u5efa\u56fe\u5f62\u5bf9\u8c61\u5e76\u7ed8\u5236\u66f2\u7ebf<\/h4>\n<\/p>\n<p><p>\u4f7f\u7528Plotly\u7684\u7ed8\u56fe\u51fd\u6570\u6765\u7ed8\u5236\u66f2\u7ebf\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">fig = go.Figure()  # \u521b\u5efa\u4e00\u4e2a\u65b0\u7684\u56fe\u5f62\u5bf9\u8c61<\/p>\n<p>fig.add_trace(go.Scatter(x=x, y=y, mode=&#39;lines&#39;, name=&#39;sin(x)&#39;, line=dict(color=&#39;blue&#39;)))  # \u6dfb\u52a0\u6b63\u5f26\u51fd\u6570\u66f2\u7ebf<\/p>\n<p>fig.update_layout(title=&#39;Sine Wave&#39;, xaxis_title=&#39;x&#39;, yaxis_title=&#39;sin(x)&#39;)  # \u66f4\u65b0\u56fe\u8868\u5e03\u5c40<\/p>\n<p>fig.show()  # \u663e\u793a\u56fe\u8868<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u4e03\u3001\u603b\u7ed3<\/h3>\n<\/p>\n<p><p>\u901a\u8fc7\u4e0a\u8ff0\u793a\u4f8b\uff0c\u53ef\u4ee5\u770b\u5230Python\u4e2d\u6709\u591a\u79cd\u65b9\u6cd5\u53ef\u4ee5\u7ed8\u5236\u51fd\u6570\u66f2\u7ebf\u3002<strong>Matplotlib\u662f\u6700\u5e38\u7528\u7684\u5e93<\/strong>\uff0c\u5b83\u529f\u80fd\u5f3a\u5927\u4e14\u6613\u4e8e\u4f7f\u7528\u3002<strong>Seaborn\u57fa\u4e8eMatplotlib\uff0c\u63d0\u4f9b\u4e86\u66f4\u52a0\u7b80\u6d01\u548c\u7f8e\u89c2\u7684\u7ed8\u56fe\u63a5\u53e3<\/strong>\u3002<strong>Plotly\u5219\u652f\u6301\u4ea4\u4e92\u5f0f\u56fe\u8868\uff0c\u975e\u5e38\u9002\u5408\u9700\u8981\u4ea4\u4e92\u529f\u80fd\u7684\u5e94\u7528\u573a\u666f<\/strong>\u3002\u6839\u636e\u5177\u4f53\u9700\u6c42\u9009\u62e9\u5408\u9002\u7684\u7ed8\u56fe\u5e93\uff0c\u53ef\u4ee5\u66f4\u597d\u5730\u6ee1\u8db3\u4e0d\u540c\u7684\u7ed8\u56fe\u9700\u6c42\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u4f7f\u7528Python\u7ed8\u5236\u51fd\u6570\u66f2\u7ebf\uff1f<\/strong><br \/>\u4f7f\u7528Python\u7ed8\u5236\u51fd\u6570\u66f2\u7ebf\u901a\u5e38\u4f1a\u7528\u5230Matplotlib\u5e93\u3002\u9996\u5148\uff0c\u786e\u4fdd\u5b89\u88c5\u4e86Matplotlib\u548cNumPy\u5e93\u3002\u63a5\u7740\uff0c\u53ef\u4ee5\u901a\u8fc7\u5b9a\u4e49\u51fd\u6570\u5e76\u751f\u6210\u76f8\u5e94\u7684x\u503c\u548cy\u503c\u6765\u7ed8\u5236\u66f2\u7ebf\u3002\u4ee5\u4e0b\u662f\u4e00\u4e2a\u7b80\u5355\u7684\u793a\u4f8b\u4ee3\u7801\uff1a  <\/p>\n<pre><code class=\"language-python\">import numpy as np\nimport matplotlib.pyplot as plt\n\n# \u5b9a\u4e49\u51fd\u6570\ndef f(x):\n    return x**2\n\n# \u751f\u6210x\u503c\nx = np.linspace(-10, 10, 100)\ny = f(x)\n\n# \u7ed8\u5236\u66f2\u7ebf\nplt.plot(x, y)\nplt.title(&#39;Function Curve: y = x^2&#39;)\nplt.xlabel(&#39;x&#39;)\nplt.ylabel(&#39;y&#39;)\nplt.grid()\nplt.show()\n<\/code><\/pre>\n<p>\u8fd0\u884c\u8fd9\u6bb5\u4ee3\u7801\u4f1a\u5728\u56fe\u5f62\u7a97\u53e3\u4e2d\u663e\u793ay=x\u00b2\u7684\u66f2\u7ebf\u3002<\/p>\n<p><strong>\u53ef\u4ee5\u4f7f\u7528\u54ea\u4e9b\u5e93\u6765\u7ed8\u5236\u51fd\u6570\u66f2\u7ebf\uff1f<\/strong><br \/>\u9664\u4e86Matplotlib\uff0cPython\u8fd8\u6709\u51e0\u4e2a\u5176\u4ed6\u5e93\u4e5f\u9002\u5408\u7ed8\u5236\u51fd\u6570\u66f2\u7ebf\u3002\u4f8b\u5982\uff0cSeaborn\u53ef\u4ee5\u7528\u4e8e\u66f4\u9ad8\u7ea7\u7684\u56fe\u5f62\u5c55\u793a\uff0cPlotly\u5219\u63d0\u4f9b\u4e86\u4ea4\u4e92\u5f0f\u56fe\u8868\u529f\u80fd\uff0c\u9002\u5408\u5728\u7ebf\u5e94\u7528\u3002\u6b64\u5916\uff0cSymPy\u4e5f\u53ef\u4ee5\u7528\u4e8e\u7b26\u53f7\u8ba1\u7b97\u548c\u7ed8\u56fe\uff0c\u9002\u5408\u9700\u8981\u89e3\u6790\u8868\u8fbe\u5f0f\u7684\u573a\u5408\u3002<\/p>\n<p><strong>\u5982\u4f55\u8c03\u6574\u7ed8\u56fe\u7684\u6837\u5f0f\u548c\u989c\u8272\uff1f<\/strong><br \/>\u5728Matplotlib\u4e2d\uff0c\u53ef\u4ee5\u901a\u8fc7\u8bbe\u7f6e\u53c2\u6570\u6765\u8c03\u6574\u66f2\u7ebf\u7684\u6837\u5f0f\u548c\u989c\u8272\u3002\u4f8b\u5982\uff0c\u53ef\u4ee5\u4f7f\u7528<code>plt.plot(x, y, color=&#39;red&#39;, linestyle=&#39;--&#39;, linewidth=2)<\/code>\u6765\u6539\u53d8\u66f2\u7ebf\u7684\u989c\u8272\u3001\u7ebf\u578b\u548c\u7ebf\u5bbd\u3002\u6b64\u5916\uff0cMatplotlib\u8fd8\u652f\u6301\u591a\u79cd\u56fe\u5f62\u6837\u5f0f\u548c\u4e3b\u9898\uff0c\u53ef\u4ee5\u901a\u8fc7<code>plt.style.use(&#39;style_name&#39;)<\/code>\u6765\u5e94\u7528\u8fd9\u4e9b\u98ce\u683c\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"Python\u7ed8\u753b\u51fd\u6570\u66f2\u7ebf\u7684\u65b9\u6cd5\u6709\u5f88\u591a\u79cd\uff0c\u4e3b\u8981\u4f7f\u7528\u7684\u5e93\u5305\u62ecMatplotlib\u3001Seaborn\u3001Plotly\u7b49\u3002 [&hellip;]","protected":false},"author":3,"featured_media":1147882,"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\/1147877"}],"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=1147877"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1147877\/revisions"}],"predecessor-version":[{"id":1147884,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1147877\/revisions\/1147884"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1147882"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1147877"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1147877"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1147877"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}