{"id":993931,"date":"2024-12-27T08:50:21","date_gmt":"2024-12-27T00:50:21","guid":{"rendered":""},"modified":"2024-12-27T08:50:23","modified_gmt":"2024-12-27T00:50:23","slug":"python%e5%a6%82%e4%bd%95%e8%ae%be%e7%bd%ae%e7%94%bb%e7%ac%94%e7%b2%97%e7%bb%86","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/993931.html","title":{"rendered":"python\u5982\u4f55\u8bbe\u7f6e\u753b\u7b14\u7c97\u7ec6"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25071126\/6959586b-7af2-468d-b3aa-64a3a63eada7.webp\" alt=\"python\u5982\u4f55\u8bbe\u7f6e\u753b\u7b14\u7c97\u7ec6\" \/><\/p>\n<p><p> <strong>\u5728Python\u4e2d\u8bbe\u7f6e\u753b\u7b14\u7c97\u7ec6\u4e3b\u8981\u53ef\u4ee5\u901a\u8fc7\u4f7f\u7528<code>turtle<\/code>\u6a21\u5757\u7684<code>pensize()<\/code>\u65b9\u6cd5\u3001<code>matplotlib<\/code>\u5e93\u7684<code>linewidth<\/code>\u53c2\u6570\u3001\u4ee5\u53ca<code>PIL<\/code>\u5e93\u4e2d\u7684<code>ImageDraw<\/code>\u6a21\u5757\u7684<code>width<\/code>\u53c2\u6570\u3002<\/strong><code>turtle<\/code>\u6a21\u5757\u9002\u5408\u7528\u4e8e\u7b80\u5355\u7684\u7ed8\u56fe\u548c\u6559\u5b66\uff0c<code>matplotlib<\/code>\u662f\u4e00\u4e2a\u5f3a\u5927\u7684\u6570\u636e\u53ef\u89c6\u5316\u5e93\uff0c\u800c<code>PIL<\/code>\u9002\u7528\u4e8e\u56fe\u50cf\u5904\u7406\u3002\u5728\u8fd9\u4e9b\u5de5\u5177\u4e2d\uff0c<code>pensize()<\/code>\u3001<code>linewidth<\/code>\u3001\u548c<code>width<\/code>\u53c2\u6570\u5206\u522b\u7528\u4e8e\u63a7\u5236\u753b\u7b14\u7684\u7c97\u7ec6\u3002\u4ee5\u4e0b\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u5982\u4f55\u4f7f\u7528\u8fd9\u4e9b\u5de5\u5177\u6765\u8bbe\u7f6e\u753b\u7b14\u7684\u7c97\u7ec6\u3002<\/p>\n<\/p>\n<p><h3>\u4e00\u3001\u4f7f\u7528 TURTLE \u6a21\u5757<\/h3>\n<\/p>\n<p><p><code>turtle<\/code>\u6a21\u5757\u662fPython\u5185\u7f6e\u7684\u4e00\u4e2a\u7b80\u5355\u56fe\u5f62\u7ed8\u56fe\u5e93\uff0c\u4e3b\u8981\u7528\u4e8e\u6559\u80b2\u548c\u5feb\u901f\u7ed8\u5236\u7b80\u5355\u56fe\u5f62\u3002<\/p>\n<\/p>\n<p><h4>1. \u57fa\u672c\u4f7f\u7528<\/h4>\n<\/p>\n<p><p><code>turtle<\/code>\u6a21\u5757\u63d0\u4f9b\u4e86<code>pensize()<\/code>\u65b9\u6cd5\u6765\u8bbe\u7f6e\u753b\u7b14\u7684\u7c97\u7ec6\u3002\u4e0b\u9762\u662f\u4e00\u4e2a\u7b80\u5355\u7684\u4f8b\u5b50\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import turtle<\/p>\n<h2><strong>\u521b\u5efa\u4e00\u4e2a\u753b\u5e03\u5bf9\u8c61<\/strong><\/h2>\n<p>t = turtle.Turtle()<\/p>\n<h2><strong>\u8bbe\u7f6e\u753b\u7b14\u7684\u7c97\u7ec6<\/strong><\/h2>\n<p>t.pensize(5)<\/p>\n<h2><strong>\u7ed8\u5236\u4e00\u6761\u76f4\u7ebf<\/strong><\/h2>\n<p>t.forward(100)<\/p>\n<h2><strong>\u5b8c\u6210\u7ed8\u56fe<\/strong><\/h2>\n<p>turtle.done()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u4f8b\u5b50\u4e2d\uff0c\u6211\u4eec\u9996\u5148\u5bfc\u5165<code>turtle<\/code>\u5e93\uff0c\u7136\u540e\u521b\u5efa\u4e86\u4e00\u4e2a<code>turtle.Turtle()<\/code>\u5bf9\u8c61\u3002\u63a5\u7740\uff0c\u901a\u8fc7<code>t.pensize(5)<\/code>\u8bbe\u7f6e\u753b\u7b14\u7684\u7c97\u7ec6\u4e3a5\u50cf\u7d20\u3002\u6700\u540e\uff0c\u6211\u4eec\u4f7f\u7528<code>t.forward(100)<\/code>\u7ed8\u5236\u4e86\u4e00\u6761\u957f\u5ea6\u4e3a100\u50cf\u7d20\u7684\u76f4\u7ebf\u3002<\/p>\n<\/p>\n<p><h4>2. \u5e94\u7528\u573a\u666f<\/h4>\n<\/p>\n<p><p><code>turtle<\/code>\u6a21\u5757\u4e3b\u8981\u7528\u4e8e\u6559\u5b66\u548c\u7b80\u5355\u7684\u56fe\u5f62\u7ed8\u5236\uff0c\u6bd4\u5982\u5728\u6559\u80b2\u73af\u5883\u4e2d\u6559\u6388\u7f16\u7a0b\u6982\u5ff5\u65f6\uff0c<code>turtle<\/code>\u53ef\u4ee5\u5e2e\u52a9\u5b66\u751f\u76f4\u89c2\u5730\u7406\u89e3\u7a0b\u5e8f\u7684\u6267\u884c\u8fc7\u7a0b\u3002<\/p>\n<\/p>\n<p><h3>\u4e8c\u3001\u4f7f\u7528 MATPLOTLIB \u5e93<\/h3>\n<\/p>\n<p><p><code>matplotlib<\/code>\u662fPython\u4e2d\u6700\u5e7f\u6cdb\u4f7f\u7528\u7684\u6570\u636e\u53ef\u89c6\u5316\u5e93\u4e4b\u4e00\u3002\u5b83\u63d0\u4f9b\u4e86\u4e30\u5bcc\u7684\u56fe\u5f62\u7ed8\u5236\u529f\u80fd\u3002<\/p>\n<\/p>\n<p><h4>1. \u57fa\u672c\u4f7f\u7528<\/h4>\n<\/p>\n<p><p>\u5728<code>matplotlib<\/code>\u4e2d\uff0c\u53ef\u4ee5\u901a\u8fc7<code>plot()<\/code>\u51fd\u6570\u7684<code>linewidth<\/code>\u53c2\u6570\u6765\u8bbe\u7f6e\u7ebf\u6761\u7684\u7c97\u7ec6\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import matplotlib.pyplot as plt<\/p>\n<h2><strong>\u521b\u5efa\u4e00\u4e2a\u7b80\u5355\u7684\u6298\u7ebf\u56fe<\/strong><\/h2>\n<p>plt.plot([1, 2, 3, 4], [1, 4, 9, 16], linewidth=2.5)<\/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\u4f8b\u5b50\u4e2d\uff0c<code>linewidth=2.5<\/code>\u6307\u5b9a\u4e86\u7ebf\u6761\u7684\u5bbd\u5ea6\u4e3a2.5\u4e2a\u5355\u4f4d\u3002<\/p>\n<\/p>\n<p><h4>2. \u9ad8\u7ea7\u7528\u6cd5<\/h4>\n<\/p>\n<p><p><code>matplotlib<\/code>\u8fd8\u63d0\u4f9b\u4e86\u5176\u4ed6\u65b9\u6cd5\u6765\u8bbe\u7f6e\u7ebf\u6761\u7684\u6837\u5f0f\u548c\u5bbd\u5ea6\u3002\u4f60\u53ef\u4ee5\u4f7f\u7528<code>set_linewidth()<\/code>\u65b9\u6cd5\u6765\u4fee\u6539\u73b0\u6709\u7ebf\u6761\u7684\u5bbd\u5ea6\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import matplotlib.pyplot as plt<\/p>\n<p>line, = plt.plot([1, 2, 3, 4], [1, 4, 9, 16])<\/p>\n<p>line.set_linewidth(3)<\/p>\n<p>plt.show()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>3. \u5e94\u7528\u573a\u666f<\/h4>\n<\/p>\n<p><p><code>matplotlib<\/code>\u9002\u7528\u4e8e\u6570\u636e\u53ef\u89c6\u5316\u3001\u79d1\u5b66\u8ba1\u7b97\u7ed3\u679c\u5c55\u793a\u3001\u4ee5\u53ca\u5404\u79cd\u56fe\u8868\u7684\u7ed8\u5236\u3002\u5b83\u662f\u6570\u636e\u5206\u6790\u5e08\u548c\u79d1\u5b66\u5bb6\u5e38\u7528\u7684\u5de5\u5177\u3002<\/p>\n<\/p>\n<p><h3>\u4e09\u3001\u4f7f\u7528 PIL \u5e93<\/h3>\n<\/p>\n<p><p>PIL\uff08Python Imaging Library\uff09\u662f\u4e00\u4e2a\u5f3a\u5927\u7684\u56fe\u50cf\u5904\u7406\u5e93\uff0c\u901a\u5e38\u7528\u4e8e\u56fe\u50cf\u521b\u5efa\u548c\u7f16\u8f91\u3002<\/p>\n<\/p>\n<p><h4>1. \u57fa\u672c\u4f7f\u7528<\/h4>\n<\/p>\n<p><p>\u5728PIL\u4e2d\uff0c\u4f7f\u7528<code>ImageDraw<\/code>\u6a21\u5757\u7684<code>line()<\/code>\u65b9\u6cd5\u53ef\u4ee5\u7ed8\u5236\u7ebf\u6761\uff0c\u5e76\u901a\u8fc7<code>width<\/code>\u53c2\u6570\u8bbe\u7f6e\u7ebf\u6761\u7684\u7c97\u7ec6\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">from PIL import Image, ImageDraw<\/p>\n<h2><strong>\u521b\u5efa\u4e00\u4e2a\u767d\u8272\u80cc\u666f\u7684\u56fe\u50cf<\/strong><\/h2>\n<p>image = Image.new(&quot;RGB&quot;, (200, 200), &quot;white&quot;)<\/p>\n<p>draw = ImageDraw.Draw(image)<\/p>\n<h2><strong>\u753b\u4e00\u6761\u5bbd\u5ea6\u4e3a5\u50cf\u7d20\u7684\u7ebf\u6761<\/strong><\/h2>\n<p>draw.line((0, 0, 200, 200), fill=&quot;black&quot;, width=5)<\/p>\n<h2><strong>\u4fdd\u5b58\u56fe\u50cf<\/strong><\/h2>\n<p>image.save(&quot;line.png&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u4f8b\u5b50\u4e2d\uff0c\u6211\u4eec\u521b\u5efa\u4e86\u4e00\u4e2a200&#215;200\u50cf\u7d20\u7684\u767d\u8272\u80cc\u666f\u56fe\u50cf\uff0c\u7136\u540e\u7528<code>draw.line()<\/code>\u65b9\u6cd5\u7ed8\u5236\u4e86\u4e00\u6761\u4ece\u5de6\u4e0a\u89d2\u5230\u53f3\u4e0b\u89d2\u7684\u9ed1\u8272\u76f4\u7ebf\u3002<\/p>\n<\/p>\n<p><h4>2. \u5e94\u7528\u573a\u666f<\/h4>\n<\/p>\n<p><p>PIL\u9002\u7528\u4e8e\u56fe\u50cf\u5904\u7406\u4efb\u52a1\uff0c\u6bd4\u5982\u521b\u5efa\u56fe\u50cf\u3001\u4fee\u6539\u73b0\u6709\u56fe\u50cf\u3001\u4ee5\u53ca\u5728\u56fe\u50cf\u4e0a\u7ed8\u5236\u6587\u672c\u548c\u56fe\u5f62\u3002<\/p>\n<\/p>\n<p><h3>\u56db\u3001\u5176\u4ed6\u76f8\u5173\u5de5\u5177\u548c\u6280\u5de7<\/h3>\n<\/p>\n<p><p>\u9664\u4e86\u4e0a\u8ff0\u5e38\u7528\u7684\u5e93\uff0c\u8fd8\u6709\u4e00\u4e9b\u5176\u4ed6\u5de5\u5177\u548c\u6280\u5de7\u53ef\u4ee5\u5e2e\u52a9\u4f60\u5728Python\u4e2d\u8bbe\u7f6e\u753b\u7b14\u7c97\u7ec6\u3002<\/p>\n<\/p>\n<p><h4>1. \u4f7f\u7528 OPENCV<\/h4>\n<\/p>\n<p><p><code>OpenCV<\/code>\u662f\u4e00\u4e2a\u5f3a\u5927\u7684\u8ba1\u7b97\u673a\u89c6\u89c9\u5e93\uff0c\u4e5f\u53ef\u4ee5\u7528\u4e8e\u7ed8\u5236\u56fe\u5f62\u3002\u53ef\u4ee5\u901a\u8fc7<code>cv2.line()<\/code>\u51fd\u6570\u7684<code>thickness<\/code>\u53c2\u6570\u8bbe\u7f6e\u7ebf\u6761\u7684\u7c97\u7ec6\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import cv2<\/p>\n<p>import numpy as np<\/p>\n<h2><strong>\u521b\u5efa\u4e00\u4e2a\u9ed1\u8272\u80cc\u666f\u7684\u56fe\u50cf<\/strong><\/h2>\n<p>image = np.zeros((200, 200, 3), dtype=np.uint8)<\/p>\n<h2><strong>\u753b\u4e00\u6761\u5bbd\u5ea6\u4e3a5\u50cf\u7d20\u7684\u7ebf\u6761<\/strong><\/h2>\n<p>cv2.line(image, (0, 0), (200, 200), (255, 255, 255), thickness=5)<\/p>\n<h2><strong>\u663e\u793a\u56fe\u50cf<\/strong><\/h2>\n<p>cv2.imshow(&quot;Line&quot;, image)<\/p>\n<p>cv2.w<a href=\"https:\/\/docs.pingcode.com\/blog\/59162.html\" target=\"_blank\">AI<\/a>tKey(0)<\/p>\n<p>cv2.destroyAllWindows()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>2. \u4f7f\u7528 SVG \u6587\u4ef6\u548c\u5de5\u5177<\/h4>\n<\/p>\n<p><p>\u5982\u679c\u4f60\u6b63\u5728\u5904\u7406\u77e2\u91cf\u56fe\u5f62\uff0cSVG\u6587\u4ef6\u683c\u5f0f\u53ef\u4ee5\u5e2e\u52a9\u4f60\u8bbe\u7f6e\u7ebf\u6761\u7684\u7c97\u7ec6\u3002\u901a\u8fc7\u76f4\u63a5\u7f16\u8f91SVG\u6587\u4ef6\u4e2d\u7684<code>stroke-width<\/code>\u5c5e\u6027\uff0c\u53ef\u4ee5\u63a7\u5236\u7ebf\u6761\u7684\u5bbd\u5ea6\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-xml\">&lt;line x1=&quot;0&quot; y1=&quot;0&quot; x2=&quot;200&quot; y2=&quot;200&quot; style=&quot;stroke:rgb(0,0,0);stroke-width:5&quot; \/&gt;<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u4e94\u3001\u603b\u7ed3<\/h3>\n<\/p>\n<p><p>\u5728Python\u4e2d\u8bbe\u7f6e\u753b\u7b14\u7684\u7c97\u7ec6\u6709\u591a\u79cd\u65b9\u6cd5\uff0c\u5177\u4f53\u9009\u62e9\u54ea\u79cd\u65b9\u6cd5\u53d6\u51b3\u4e8e\u4f60\u7684\u9700\u6c42\u548c\u4f7f\u7528\u573a\u666f\u3002<strong><code>turtle<\/code>\u9002\u7528\u4e8e\u6559\u5b66\u548c\u7b80\u5355\u7ed8\u56fe\uff0c<code>matplotlib<\/code>\u9002\u5408\u6570\u636e\u53ef\u89c6\u5316\uff0c<code>PIL<\/code>\u7528\u4e8e\u56fe\u50cf\u5904\u7406\uff0c\u800c<code>OpenCV<\/code>\u5219\u662f\u8ba1\u7b97\u673a\u89c6\u89c9\u4efb\u52a1\u7684\u9996\u9009\u3002<\/strong>\u4e86\u89e3\u8fd9\u4e9b\u5de5\u5177\u7684\u7528\u6cd5\u5c06\u5e2e\u52a9\u4f60\u66f4\u597d\u5730\u5b8c\u6210\u7ed8\u56fe\u548c\u56fe\u50cf\u5904\u7406\u4efb\u52a1\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728Python\u4e2d\u4f7f\u7528\u4e0d\u540c\u7684\u56fe\u5f62\u5e93\u8bbe\u7f6e\u753b\u7b14\u7684\u7c97\u7ec6\uff1f<\/strong><br \/>\u5728Python\u4e2d\uff0c\u6709\u591a\u4e2a\u56fe\u5f62\u5e93\u53ef\u4f9b\u9009\u62e9\uff0c\u4f8b\u5982Tkinter\u3001Pygame\u548cMatplotlib\u7b49\u3002\u6bcf\u4e2a\u5e93\u90fd\u6709\u5176\u72ec\u7279\u7684\u65b9\u6cd5\u6765\u8bbe\u7f6e\u753b\u7b14\u7684\u7c97\u7ec6\u3002\u4f8b\u5982\uff0c\u5728Tkinter\u4e2d\uff0c\u53ef\u4ee5\u901a\u8fc7\u8bbe\u7f6e<code>width<\/code>\u53c2\u6570\u6765\u6307\u5b9a\u753b\u7b14\u7684\u7c97\u7ec6\uff0c\u800c\u5728Pygame\u4e2d\uff0c\u5219\u53ef\u4ee5\u901a\u8fc7<code>pygame.draw.line()<\/code>\u51fd\u6570\u7684<code>width<\/code>\u53c2\u6570\u6765\u5b9e\u73b0\u3002\u4e86\u89e3\u6240\u7528\u5e93\u7684\u6587\u6863\u662f\u83b7\u53d6\u6b63\u786e\u7528\u6cd5\u7684\u597d\u65b9\u6cd5\u3002<\/p>\n<p><strong>\u5728\u4f7f\u7528Matplotlib\u7ed8\u56fe\u65f6\uff0c\u5982\u4f55\u8c03\u6574\u7ebf\u6761\u7684\u7c97\u7ec6\uff1f<\/strong><br \/>Matplotlib\u63d0\u4f9b\u4e86\u65b9\u4fbf\u7684\u65b9\u5f0f\u6765\u8c03\u6574\u7ebf\u6761\u7c97\u7ec6\u3002\u5728\u7ed8\u5236\u56fe\u5f62\u65f6\uff0c\u53ef\u4ee5\u5728<code>plot()<\/code>\u51fd\u6570\u4e2d\u4f7f\u7528<code>linewidth<\/code>\u53c2\u6570\u6765\u8bbe\u7f6e\u7ebf\u6761\u7684\u5bbd\u5ea6\u3002\u4e00\u4e2a\u793a\u4f8b\u4ee3\u7801\u662f<code>plt.plot(x, y, linewidth=2)<\/code>\uff0c\u5176\u4e2d<code>2<\/code>\u8868\u793a\u7ebf\u6761\u7684\u7c97\u7ec6\u3002\u60a8\u53ef\u4ee5\u6839\u636e\u9700\u8981\u81ea\u884c\u8c03\u6574\u8be5\u503c\uff0c\u4ee5\u8fbe\u5230\u6240\u9700\u6548\u679c\u3002<\/p>\n<p><strong>\u753b\u7b14\u7c97\u7ec6\u5bf9\u56fe\u5f62\u6548\u679c\u6709\u4f55\u5f71\u54cd\uff1f<\/strong><br \/>\u753b\u7b14\u7684\u7c97\u7ec6\u5728\u89c6\u89c9\u6548\u679c\u4e0a\u6709\u7740\u663e\u8457\u5f71\u54cd\u3002\u8f83\u7c97\u7684\u753b\u7b14\u901a\u5e38\u7528\u4e8e\u7a81\u51fa\u67d0\u4e9b\u5143\u7d20\uff0c\u4f7f\u5176\u5728\u89c6\u89c9\u4e0a\u66f4\u52a0\u9192\u76ee\uff0c\u800c\u8f83\u7ec6\u7684\u753b\u7b14\u53ef\u4ee5\u7528\u6765\u8868\u73b0\u7ec6\u817b\u7684\u7ec6\u8282\u3002\u9009\u62e9\u5408\u9002\u7684\u753b\u7b14\u7c97\u7ec6\u53ef\u4ee5\u6709\u6548\u63d0\u5347\u56fe\u5f62\u7684\u7f8e\u89c2\u5ea6\u548c\u53ef\u8bfb\u6027\u3002\u5bf9\u4e8e\u6570\u636e\u53ef\u89c6\u5316\u800c\u8a00\uff0c\u5408\u9002\u7684\u7ebf\u6761\u7c97\u7ec6\u6709\u52a9\u4e8e\u89c2\u4f17\u5feb\u901f\u6355\u6349\u4fe1\u606f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5728Python\u4e2d\u8bbe\u7f6e\u753b\u7b14\u7c97\u7ec6\u4e3b\u8981\u53ef\u4ee5\u901a\u8fc7\u4f7f\u7528turtle\u6a21\u5757\u7684pensize()\u65b9\u6cd5\u3001matplotlib\u5e93\u7684 [&hellip;]","protected":false},"author":3,"featured_media":993935,"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\/993931"}],"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=993931"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/993931\/revisions"}],"predecessor-version":[{"id":993936,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/993931\/revisions\/993936"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/993935"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=993931"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=993931"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=993931"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}