{"id":1183621,"date":"2025-01-15T19:16:45","date_gmt":"2025-01-15T11:16:45","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1183621.html"},"modified":"2025-01-15T19:16:48","modified_gmt":"2025-01-15T11:16:48","slug":"%e5%a6%82%e4%bd%95%e5%af%bc%e5%87%bapython%e4%b8%ad%e7%9a%84%e5%9b%be%e7%89%87","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1183621.html","title":{"rendered":"\u5982\u4f55\u5bfc\u51fapython\u4e2d\u7684\u56fe\u7247"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25133332\/0e6c0886-8673-45a1-9d60-c55d55882685.webp\" alt=\"\u5982\u4f55\u5bfc\u51fapython\u4e2d\u7684\u56fe\u7247\" \/><\/p>\n<p><p> <strong>\u5982\u4f55\u5bfc\u51fapython\u4e2d\u7684\u56fe\u7247\uff0c\u53ef\u4ee5\u4f7f\u7528\u591a\u79cd\u65b9\u6cd5\uff0c\u5305\u62ecMatplotlib\u3001Pillow\u3001Seaborn\u7b49\u5e93\u3002<\/strong> \u5176\u4e2d\uff0c<strong>Matplotlib<\/strong> \u662f\u6700\u5e38\u7528\u7684\u5e93\u4e4b\u4e00\u3002<strong>Matplotlib\u7684savefig\u51fd\u6570<\/strong> \u53ef\u4ee5\u5c06\u56fe\u5f62\u4fdd\u5b58\u4e3a\u5404\u79cd\u683c\u5f0f\u7684\u56fe\u7247\u6587\u4ef6\uff0c\u5305\u62ecPNG\u3001JPG\u3001SVG\u3001PDF\u7b49\u3002\u63a5\u4e0b\u6765\uff0c\u6211\u4eec\u8be6\u7ec6\u4ecb\u7ecd\u5982\u4f55\u4f7f\u7528Matplotlib\u5bfc\u51fa\u56fe\u7247\u3002<\/p>\n<\/p>\n<p><h3>\u4e00\u3001\u4f7f\u7528Matplotlib\u5bfc\u51fa\u56fe\u7247<\/h3>\n<\/p>\n<p><h4>1. \u57fa\u672c\u4f7f\u7528<\/h4>\n<\/p>\n<p><p>Matplotlib \u662f\u4e00\u4e2a\u5e7f\u6cdb\u4f7f\u7528\u7684\u7ed8\u56fe\u5e93\uff0c\u80fd\u591f\u521b\u5efa\u5404\u79cd\u9ad8\u8d28\u91cf\u7684\u56fe\u5f62\u3002\u4ee5\u4e0b\u662f\u4e00\u4e2a\u7b80\u5355\u7684\u793a\u4f8b\uff0c\u5c55\u793a\u5982\u4f55\u4f7f\u7528 Matplotlib \u7ed8\u5236\u5e76\u5bfc\u51fa\u56fe\u7247\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import matplotlib.pyplot as plt<\/p>\n<h2><strong>\u521b\u5efa\u6570\u636e<\/strong><\/h2>\n<p>x = [1, 2, 3, 4, 5]<\/p>\n<p>y = [10, 20, 25, 30, 40]<\/p>\n<h2><strong>\u521b\u5efa\u56fe\u5f62<\/strong><\/h2>\n<p>plt.plot(x, y)<\/p>\n<h2><strong>\u4fdd\u5b58\u56fe\u5f62<\/strong><\/h2>\n<p>plt.savefig(&#39;example_plot.png&#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\u4e0a\u8ff0\u4ee3\u7801\u4e2d\uff0c<code>plt.savefig(&#39;example_plot.png&#39;)<\/code> \u5c06\u56fe\u5f62\u4fdd\u5b58\u4e3a PNG \u683c\u5f0f\u7684\u6587\u4ef6\u3002\u60a8\u53ef\u4ee5\u901a\u8fc7\u66f4\u6539\u6587\u4ef6\u6269\u5c55\u540d\u6765\u4fdd\u5b58\u4e0d\u540c\u683c\u5f0f\u7684\u6587\u4ef6\uff08\u4f8b\u5982 <code>.jpg<\/code>, <code>.svg<\/code> \u7b49\uff09\u3002<\/p>\n<\/p>\n<p><h4>2. \u8bbe\u7f6e\u56fe\u5f62\u5c5e\u6027<\/h4>\n<\/p>\n<p><p>\u5728\u4fdd\u5b58\u56fe\u5f62\u4e4b\u524d\uff0c\u60a8\u53ef\u80fd\u9700\u8981\u8c03\u6574\u56fe\u5f62\u7684\u5c5e\u6027\uff0c\u4f8b\u5982\u56fe\u5f62\u7684\u5927\u5c0f\u3001\u5206\u8fa8\u7387\u7b49\u3002\u53ef\u4ee5\u4f7f\u7528 <code>figsize<\/code> \u548c <code>dpi<\/code> \u53c2\u6570\u6765\u8bbe\u7f6e\u8fd9\u4e9b\u5c5e\u6027\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import matplotlib.pyplot as plt<\/p>\n<h2><strong>\u521b\u5efa\u6570\u636e<\/strong><\/h2>\n<p>x = [1, 2, 3, 4, 5]<\/p>\n<p>y = [10, 20, 25, 30, 40]<\/p>\n<h2><strong>\u521b\u5efa\u56fe\u5f62<\/strong><\/h2>\n<p>plt.figure(figsize=(10, 6), dpi=80)<\/p>\n<p>plt.plot(x, y)<\/p>\n<h2><strong>\u4fdd\u5b58\u56fe\u5f62<\/strong><\/h2>\n<p>plt.savefig(&#39;example_plot.png&#39;, bbox_inches=&#39;tight&#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\u4e0a\u8ff0\u4ee3\u7801\u4e2d\uff0c<code>figsize<\/code> \u8bbe\u7f6e\u56fe\u5f62\u7684\u5927\u5c0f\uff08\u5bbd\u3001\u9ad8\uff09\uff0c<code>dpi<\/code> \u8bbe\u7f6e\u56fe\u5f62\u7684\u5206\u8fa8\u7387\u3002<code>bbox_inches=&#39;tight&#39;<\/code> \u53c2\u6570\u7528\u4e8e\u53bb\u9664\u56fe\u5f62\u5468\u56f4\u7684\u7a7a\u767d\u8fb9\u8ddd\u3002<\/p>\n<\/p>\n<p><h3>\u4e8c\u3001\u4f7f\u7528Pillow\u5bfc\u51fa\u56fe\u7247<\/h3>\n<\/p>\n<p><h4>1. \u57fa\u672c\u4f7f\u7528<\/h4>\n<\/p>\n<p><p>Pillow\uff08PIL\uff09\u662fPython\u7684\u56fe\u50cf\u5904\u7406\u5e93\uff0c\u53ef\u4ee5\u7528\u6765\u521b\u5efa\u548c\u4fee\u6539\u56fe\u7247\u3002\u4ee5\u4e0b\u662f\u4e00\u4e2a\u793a\u4f8b\uff0c\u5c55\u793a\u5982\u4f55\u4f7f\u7528 Pillow \u521b\u5efa\u5e76\u4fdd\u5b58\u56fe\u7247\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">from PIL import Image, ImageDraw<\/p>\n<h2><strong>\u521b\u5efa\u7a7a\u767d\u56fe\u50cf<\/strong><\/h2>\n<p>image = Image.new(&#39;RGB&#39;, (200, 200), color=&#39;white&#39;)<\/p>\n<h2><strong>\u521b\u5efa\u7ed8\u56fe\u5bf9\u8c61<\/strong><\/h2>\n<p>draw = ImageDraw.Draw(image)<\/p>\n<h2><strong>\u7ed8\u5236\u77e9\u5f62<\/strong><\/h2>\n<p>draw.rectangle([50, 50, 150, 150], outline=&#39;black&#39;, fill=&#39;blue&#39;)<\/p>\n<h2><strong>\u4fdd\u5b58\u56fe\u50cf<\/strong><\/h2>\n<p>image.save(&#39;example_image.png&#39;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u4e0a\u8ff0\u4ee3\u7801\u4e2d\uff0c<code>Image.new<\/code> \u521b\u5efa\u4e00\u4e2a\u65b0\u7684\u56fe\u50cf\uff0c<code>ImageDraw.Draw<\/code> \u521b\u5efa\u4e00\u4e2a\u7ed8\u56fe\u5bf9\u8c61\uff0c\u7136\u540e\u4f7f\u7528 <code>draw.rectangle<\/code> \u7ed8\u5236\u4e00\u4e2a\u77e9\u5f62\uff0c\u6700\u540e\u4f7f\u7528 <code>image.save<\/code> \u4fdd\u5b58\u56fe\u50cf\u3002<\/p>\n<\/p>\n<p><h4>2. \u4fee\u6539\u56fe\u50cf<\/h4>\n<\/p>\n<p><p>Pillow \u8fd8\u63d0\u4f9b\u4e86\u8bb8\u591a\u65b9\u6cd5\u6765\u4fee\u6539\u56fe\u50cf\uff0c\u4f8b\u5982\u8c03\u6574\u5927\u5c0f\u3001\u65cb\u8f6c\u3001\u88c1\u526a\u7b49\u3002\u4ee5\u4e0b\u662f\u4e00\u4e9b\u793a\u4f8b\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">from PIL import Image<\/p>\n<h2><strong>\u6253\u5f00\u56fe\u50cf<\/strong><\/h2>\n<p>image = Image.open(&#39;example_image.png&#39;)<\/p>\n<h2><strong>\u8c03\u6574\u5927\u5c0f<\/strong><\/h2>\n<p>resized_image = image.resize((100, 100))<\/p>\n<p>resized_image.save(&#39;resized_image.png&#39;)<\/p>\n<h2><strong>\u65cb\u8f6c\u56fe\u50cf<\/strong><\/h2>\n<p>rotated_image = image.rotate(45)<\/p>\n<p>rotated_image.save(&#39;rotated_image.png&#39;)<\/p>\n<h2><strong>\u88c1\u526a\u56fe\u50cf<\/strong><\/h2>\n<p>cropped_image = image.crop((50, 50, 150, 150))<\/p>\n<p>cropped_image.save(&#39;cropped_image.png&#39;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u4e0a\u8ff0\u4ee3\u7801\u4e2d\uff0c<code>image.resize<\/code> \u8c03\u6574\u56fe\u50cf\u5927\u5c0f\uff0c<code>image.rotate<\/code> \u65cb\u8f6c\u56fe\u50cf\uff0c<code>image.crop<\/code> \u88c1\u526a\u56fe\u50cf\u3002\u6bcf\u4e2a\u64cd\u4f5c\u540e\u90fd\u4fdd\u5b58\u4e3a\u4e00\u4e2a\u65b0\u7684\u56fe\u50cf\u6587\u4ef6\u3002<\/p>\n<\/p>\n<p><h3>\u4e09\u3001\u4f7f\u7528Seaborn\u5bfc\u51fa\u56fe\u7247<\/h3>\n<\/p>\n<p><h4>1. \u57fa\u672c\u4f7f\u7528<\/h4>\n<\/p>\n<p><p>Seaborn \u662f\u57fa\u4e8e Matplotlib \u7684\u9ad8\u7ea7\u7ed8\u56fe\u5e93\uff0c\u9002\u7528\u4e8e\u6570\u636e\u53ef\u89c6\u5316\u3002\u4ee5\u4e0b\u662f\u4e00\u4e2a\u7b80\u5355\u7684\u793a\u4f8b\uff0c\u5c55\u793a\u5982\u4f55\u4f7f\u7528 Seaborn \u521b\u5efa\u5e76\u5bfc\u51fa\u56fe\u7247\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import seaborn as sns<\/p>\n<p>import matplotlib.pyplot as plt<\/p>\n<h2><strong>\u52a0\u8f7d\u793a\u4f8b\u6570\u636e\u96c6<\/strong><\/h2>\n<p>tips = sns.load_dataset(&#39;tips&#39;)<\/p>\n<h2><strong>\u521b\u5efa\u56fe\u5f62<\/strong><\/h2>\n<p>sns_plot = sns.scatterplot(x=&#39;total_bill&#39;, y=&#39;tip&#39;, data=tips)<\/p>\n<h2><strong>\u4fdd\u5b58\u56fe\u5f62<\/strong><\/h2>\n<p>sns_plot.figure.savefig(&#39;seaborn_plot.png&#39;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u4e0a\u8ff0\u4ee3\u7801\u4e2d\uff0c<code>sns.scatterplot<\/code> \u521b\u5efa\u4e00\u4e2a\u6563\u70b9\u56fe\uff0c<code>sns_plot.figure.savefig<\/code> \u5c06\u56fe\u5f62\u4fdd\u5b58\u4e3a PNG \u683c\u5f0f\u7684\u6587\u4ef6\u3002<\/p>\n<\/p>\n<p><h4>2. \u8bbe\u7f6e\u56fe\u5f62\u5c5e\u6027<\/h4>\n<\/p>\n<p><p>\u4e0e Matplotlib \u7c7b\u4f3c\uff0c\u60a8\u53ef\u4ee5\u4f7f\u7528 Seaborn \u8c03\u6574\u56fe\u5f62\u7684\u5927\u5c0f\u3001\u5206\u8fa8\u7387\u7b49\u5c5e\u6027\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import seaborn as sns<\/p>\n<p>import matplotlib.pyplot as plt<\/p>\n<h2><strong>\u52a0\u8f7d\u793a\u4f8b\u6570\u636e\u96c6<\/strong><\/h2>\n<p>tips = sns.load_dataset(&#39;tips&#39;)<\/p>\n<h2><strong>\u521b\u5efa\u56fe\u5f62<\/strong><\/h2>\n<p>plt.figure(figsize=(10, 6), dpi=80)<\/p>\n<p>sns_plot = sns.scatterplot(x=&#39;total_bill&#39;, y=&#39;tip&#39;, data=tips)<\/p>\n<h2><strong>\u4fdd\u5b58\u56fe\u5f62<\/strong><\/h2>\n<p>sns_plot.figure.savefig(&#39;seaborn_plot.png&#39;, bbox_inches=&#39;tight&#39;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u4e0a\u8ff0\u4ee3\u7801\u4e2d\uff0c<code>plt.figure<\/code> \u8bbe\u7f6e\u56fe\u5f62\u7684\u5927\u5c0f\u548c\u5206\u8fa8\u7387\uff0c<code>bbox_inches=&#39;tight&#39;<\/code> \u53bb\u9664\u56fe\u5f62\u5468\u56f4\u7684\u7a7a\u767d\u8fb9\u8ddd\u3002<\/p>\n<\/p>\n<p><h3>\u56db\u3001\u603b\u7ed3<\/h3>\n<\/p>\n<p><p>\u901a\u8fc7\u4e0a\u8ff0\u4ecb\u7ecd\uff0c\u6211\u4eec\u53ef\u4ee5\u770b\u5230\u5728Python\u4e2d\u5bfc\u51fa\u56fe\u7247\u7684\u65b9\u6cd5\u6709\u5f88\u591a\u79cd\u3002<strong>Matplotlib<\/strong> \u662f\u6700\u5e38\u7528\u7684\u7ed8\u56fe\u5e93\uff0c\u53ef\u4ee5\u521b\u5efa\u5404\u79cd\u9ad8\u8d28\u91cf\u7684\u56fe\u5f62\u5e76\u4fdd\u5b58\u4e3a\u4e0d\u540c\u683c\u5f0f\u7684\u56fe\u7247\u6587\u4ef6\uff1b<strong>Pillow<\/strong> \u662f\u4e00\u4e2a\u5f3a\u5927\u7684\u56fe\u50cf\u5904\u7406\u5e93\uff0c\u53ef\u4ee5\u521b\u5efa\u548c\u4fee\u6539\u56fe\u7247\uff1b<strong>Seaborn<\/strong> \u662f\u4e00\u4e2a\u9ad8\u7ea7\u7ed8\u56fe\u5e93\uff0c\u9002\u7528\u4e8e\u6570\u636e\u53ef\u89c6\u5316\u3002\u6839\u636e\u60a8\u7684\u9700\u6c42\u9009\u62e9\u5408\u9002\u7684\u5de5\u5177\uff0c\u53ef\u4ee5\u4f7f\u60a8\u7684\u56fe\u50cf\u5904\u7406\u5de5\u4f5c\u66f4\u52a0\u9ad8\u6548\u548c\u65b9\u4fbf\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5bfc\u51faPython\u4e2d\u7684\u56fe\u7247\u9700\u8981\u54ea\u4e9b\u5e93\uff1f<\/strong><br \/>\u5728Python\u4e2d\uff0c\u5e38\u7528\u7684\u5e93\u6709PIL\uff08Pillow\uff09\u3001Matplotlib\u548cOpenCV\u7b49\u3002PIL\u662f\u5904\u7406\u56fe\u50cf\u7684\u57fa\u672c\u5e93\uff0c\u800cMatplotlib\u4e0d\u4ec5\u53ef\u4ee5\u7ed8\u5236\u56fe\u5f62\uff0c\u8fd8\u80fd\u8f7b\u677e\u5bfc\u51fa\u56fe\u50cf\u3002OpenCV\u5219\u9002\u5408\u8fdb\u884c\u66f4\u590d\u6742\u7684\u56fe\u50cf\u5904\u7406\u3002\u6839\u636e\u9700\u6c42\u9009\u62e9\u5408\u9002\u7684\u5e93\uff0c\u53ef\u4ee5\u6709\u6548\u5730\u5b9e\u73b0\u56fe\u7247\u5bfc\u51fa\u3002<\/p>\n<p><strong>\u53ef\u4ee5\u5bfc\u51fa\u54ea\u4e9b\u683c\u5f0f\u7684\u56fe\u7247\uff1f<\/strong><br \/>Python\u652f\u6301\u591a\u79cd\u56fe\u7247\u683c\u5f0f\u7684\u5bfc\u51fa\uff0c\u5305\u62ec\u4f46\u4e0d\u9650\u4e8eJPEG\u3001PNG\u3001BMP\u3001GIF\u548cTIFF\u7b49\u3002\u9009\u62e9\u5408\u9002\u7684\u683c\u5f0f\u53ef\u4ee5\u4f9d\u636e\u56fe\u7247\u7684\u7528\u9014\uff0c\u6bd4\u5982PNG\u9002\u5408\u9700\u8981\u900f\u660e\u80cc\u666f\u7684\u56fe\u50cf\uff0c\u800cJPEG\u5219\u9002\u5408\u5b58\u50a8\u7167\u7247\uff0c\u56e0\u5176\u538b\u7f29\u6548\u7387\u9ad8\u3002<\/p>\n<p><strong>\u5982\u4f55\u786e\u4fdd\u5bfc\u51fa\u7684\u56fe\u7247\u8d28\u91cf\uff1f<\/strong><br \/>\u5bfc\u51fa\u56fe\u7247\u65f6\uff0c\u8981\u6ce8\u610f\u8bbe\u7f6e\u5408\u9002\u7684\u5206\u8fa8\u7387\u548c\u538b\u7f29\u6bd4\u4f8b\u3002\u4f8b\u5982\uff0c\u5728\u4f7f\u7528Matplotlib\u5bfc\u51fa\u65f6\uff0c\u53ef\u4ee5\u901a\u8fc7\u8c03\u6574dpi\uff08\u6bcf\u82f1\u5bf8\u70b9\u6570\uff09\u53c2\u6570\u6765\u63d0\u9ad8\u56fe\u7247\u7684\u6e05\u6670\u5ea6\u3002\u6b64\u5916\uff0c\u9009\u62e9\u5408\u9002\u7684\u683c\u5f0f\u4e5f\u4f1a\u5f71\u54cd\u8d28\u91cf\uff0c\u4f7f\u7528\u65e0\u635f\u683c\u5f0f\uff08\u5982PNG\uff09\u53ef\u4ee5\u4fdd\u6301\u56fe\u50cf\u7684\u539f\u59cb\u8d28\u91cf\u3002<\/p>\n<p><strong>\u5728\u5bfc\u51fa\u56fe\u7247\u65f6\u5982\u4f55\u5904\u7406\u900f\u660e\u5ea6\uff1f<\/strong><br \/>\u82e5\u9700\u8981\u5bfc\u51fa\u5e26\u6709\u900f\u660e\u80cc\u666f\u7684\u56fe\u7247\uff0c\u5efa\u8bae\u4f7f\u7528PNG\u683c\u5f0f\u3002\u5728\u4f7f\u7528PIL\u5e93\u65f6\uff0c\u53ef\u4ee5\u5728\u521b\u5efa\u56fe\u50cf\u65f6\u8bbe\u7f6e\u900f\u660e\u5ea6\u901a\u9053\uff0c\u786e\u4fdd\u5bfc\u51fa\u65f6\u4e0d\u4f1a\u4e22\u5931\u900f\u660e\u4fe1\u606f\u3002\u786e\u4fdd\u4fdd\u5b58\u65f6\u4f7f\u7528\u652f\u6301\u900f\u660e\u5ea6\u7684\u683c\u5f0f\uff0c\u4ee5\u4fbf\u5728\u540e\u7eed\u4f7f\u7528\u4e2d\u4fdd\u6301\u56fe\u50cf\u6548\u679c\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5982\u4f55\u5bfc\u51fapython\u4e2d\u7684\u56fe\u7247\uff0c\u53ef\u4ee5\u4f7f\u7528\u591a\u79cd\u65b9\u6cd5\uff0c\u5305\u62ecMatplotlib\u3001Pillow\u3001Seaborn\u7b49\u5e93\u3002 [&hellip;]","protected":false},"author":3,"featured_media":1183627,"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\/1183621"}],"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=1183621"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1183621\/revisions"}],"predecessor-version":[{"id":1183628,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1183621\/revisions\/1183628"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1183627"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1183621"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1183621"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1183621"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}