{"id":940313,"date":"2024-12-26T20:57:36","date_gmt":"2024-12-26T12:57:36","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/940313.html"},"modified":"2024-12-26T20:57:38","modified_gmt":"2024-12-26T12:57:38","slug":"python%e5%a6%82%e4%bd%95%e5%a1%ab%e8%89%b2","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/940313.html","title":{"rendered":"python\u5982\u4f55\u586b\u8272"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25075004\/68f158fd-dbf7-475d-a819-d9959d937260.webp\" alt=\"python\u5982\u4f55\u586b\u8272\" \/><\/p>\n<p><p> <strong>\u5728Python\u4e2d\u586b\u8272\u53ef\u4ee5\u901a\u8fc7\u4f7f\u7528\u591a\u4e2a\u56fe\u5f62\u5e93\uff0c\u5982matplotlib\u3001PIL\uff08Pillow\uff09\u548cOpenCV\u7b49\u3002Matplotlib\u662f\u6700\u5e38\u7528\u7684\u7528\u4e8e\u6570\u636e\u53ef\u89c6\u5316\u7684\u5e93\uff0c\u5b83\u63d0\u4f9b\u4e86\u4e30\u5bcc\u7684\u586b\u8272\u529f\u80fd\u3002\u4f60\u53ef\u4ee5\u4f7f\u7528fill_between()\u51fd\u6570\u6765\u586b\u5145\u4e24\u4e2a\u66f2\u7ebf\u4e4b\u95f4\u7684\u533a\u57df\uff0c\u4f7f\u7528bar()\u51fd\u6570\u4e3a\u6761\u5f62\u56fe\u7684\u6761\u5f62\u586b\u8272\uff0c\u6216\u4f7f\u7528scatter()\u51fd\u6570\u4e3a\u6563\u70b9\u56fe\u7684\u70b9\u586b\u8272\u3002<\/strong> \u5176\u4e2d\uff0c\u4f7f\u7528fill_between()\u51fd\u6570\u6765\u586b\u5145\u4e24\u4e2a\u66f2\u7ebf\u4e4b\u95f4\u7684\u533a\u57df\u662f\u975e\u5e38\u5e38\u89c1\u7684\u64cd\u4f5c\u3002\u63a5\u4e0b\u6765\uff0c\u6211\u4eec\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u5982\u4f55\u4f7f\u7528\u8fd9\u4e9b\u65b9\u6cd5\u6765\u586b\u8272\u3002<\/p>\n<\/p>\n<p><p>\u4e00\u3001MATPLOTLIB\u4e2d\u7684\u586b\u8272\u65b9\u6cd5<\/p>\n<\/p>\n<p><p>Matplotlib \u662f Python \u4e2d\u6700\u6d41\u884c\u7684\u6570\u636e\u53ef\u89c6\u5316\u5e93\u4e4b\u4e00\uff0c\u63d0\u4f9b\u4e86\u591a\u79cd\u586b\u8272\u65b9\u6cd5\u3002<\/p>\n<\/p>\n<ol>\n<li>\u586b\u5145\u66f2\u7ebf\u4e4b\u95f4\u7684\u533a\u57df<\/li>\n<\/ol>\n<p><p>\u5728Matplotlib\u4e2d\uff0c\u53ef\u4ee5\u4f7f\u7528 <code>fill_between()<\/code> \u51fd\u6570\u6765\u586b\u5145\u4e24\u6761\u66f2\u7ebf\u4e4b\u95f4\u7684\u533a\u57df\u3002\u8fd9\u5bf9\u4e8e\u5c55\u793a\u4e24\u4e2a\u6570\u636e\u96c6\u4e4b\u95f4\u7684\u5dee\u5f02\u6216\u4e0d\u786e\u5b9a\u6027\u533a\u57df\u975e\u5e38\u6709\u7528\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>x = np.linspace(0, 10, 100)<\/p>\n<p>y1 = np.sin(x)<\/p>\n<p>y2 = np.cos(x)<\/p>\n<p>plt.fill_between(x, y1, y2, color=&#39;lightblue&#39;, alpha=0.5)<\/p>\n<p>plt.plot(x, y1, label=&#39;sin(x)&#39;)<\/p>\n<p>plt.plot(x, y2, label=&#39;cos(x)&#39;)<\/p>\n<p>plt.legend()<\/p>\n<p>plt.show()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u793a\u4f8b\u4e2d\uff0c\u6211\u4eec\u586b\u5145\u4e86 <code>sin(x)<\/code> \u548c <code>cos(x)<\/code> \u66f2\u7ebf\u4e4b\u95f4\u7684\u533a\u57df\uff0c\u5e76\u4f7f\u7528 <code>lightblue<\/code> \u4f5c\u4e3a\u586b\u5145\u989c\u8272\u3002<\/p>\n<\/p>\n<ol start=\"2\">\n<li>\u4e3a\u6761\u5f62\u56fe\u586b\u8272<\/li>\n<\/ol>\n<p><p>\u5728\u7ed8\u5236\u6761\u5f62\u56fe\u65f6\uff0c\u53ef\u4ee5\u4f7f\u7528 <code>bar()<\/code> \u51fd\u6570\u7684 <code>color<\/code> \u53c2\u6570\u4e3a\u6bcf\u4e2a\u6761\u5f62\u6307\u5b9a\u989c\u8272\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">labels = [&#39;A&#39;, &#39;B&#39;, &#39;C&#39;, &#39;D&#39;]<\/p>\n<p>values = [3, 7, 2, 5]<\/p>\n<p>plt.bar(labels, values, color=[&#39;red&#39;, &#39;blue&#39;, &#39;green&#39;, &#39;purple&#39;])<\/p>\n<p>plt.show()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u91cc\uff0c\u6211\u4eec\u4e3a\u6bcf\u4e2a\u6761\u5f62\u6307\u5b9a\u4e86\u4e0d\u540c\u7684\u989c\u8272\u3002<\/p>\n<\/p>\n<ol start=\"3\">\n<li>\u4e3a\u6563\u70b9\u56fe\u586b\u8272<\/li>\n<\/ol>\n<p><p>\u5728\u6563\u70b9\u56fe\u4e2d\uff0c\u53ef\u4ee5\u4f7f\u7528 <code>scatter()<\/code> \u51fd\u6570\u7684 <code>c<\/code> \u53c2\u6570\u4e3a\u6bcf\u4e2a\u70b9\u6307\u5b9a\u989c\u8272\u3002\u989c\u8272\u53ef\u4ee5\u6839\u636e\u6570\u636e\u7684\u67d0\u4e2a\u7279\u5f81\u53d8\u5316\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">x = np.random.rand(50)<\/p>\n<p>y = np.random.rand(50)<\/p>\n<p>colors = np.random.rand(50)<\/p>\n<p>plt.scatter(x, y, c=colors, cmap=&#39;viridis&#39;, alpha=0.6)<\/p>\n<p>plt.colorbar()<\/p>\n<p>plt.show()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u793a\u4f8b\u4e2d\uff0c\u70b9\u7684\u989c\u8272\u6839\u636e <code>colors<\/code> \u6570\u7ec4\u7684\u503c\u53d8\u5316\uff0c\u5e76\u4f7f\u7528\u4e86 <code>viridis<\/code> \u8272\u56fe\u3002<\/p>\n<\/p>\n<p><p>\u4e8c\u3001PIL\uff08Pillow\uff09\u4e2d\u7684\u586b\u8272\u65b9\u6cd5<\/p>\n<\/p>\n<p><p>Pillow \u662f Python \u4e2d\u7684\u4e00\u4e2a\u56fe\u50cf\u5904\u7406\u5e93\uff0c\u53ef\u4ee5\u7528\u6765\u521b\u5efa\u548c\u7f16\u8f91\u56fe\u50cf\u3002<\/p>\n<\/p>\n<ol>\n<li>\u521b\u5efa\u586b\u8272\u56fe\u50cf<\/li>\n<\/ol>\n<p><p>\u4f60\u53ef\u4ee5\u4f7f\u7528 Pillow \u5e93\u4e2d\u7684 <code>Image<\/code> \u6a21\u5757\u521b\u5efa\u4e00\u4e2a\u7eaf\u8272\u56fe\u50cf\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">from PIL import Image<\/p>\n<h2><strong>\u521b\u5efa\u4e00\u4e2a 100x100 \u7684\u7ea2\u8272\u56fe\u50cf<\/strong><\/h2>\n<p>img = Image.new(&#39;RGB&#39;, (100, 100), color=&#39;red&#39;)<\/p>\n<p>img.show()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<ol start=\"2\">\n<li>\u5728\u56fe\u50cf\u4e0a\u7ed8\u5236\u586b\u8272\u5f62\u72b6<\/li>\n<\/ol>\n<p><p>Pillow \u7684 <code>ImageDraw<\/code> \u6a21\u5757\u53ef\u4ee5\u7528\u6765\u5728\u56fe\u50cf\u4e0a\u7ed8\u5236\u5f62\u72b6\uff0c\u5e76\u4e3a\u8fd9\u4e9b\u5f62\u72b6\u586b\u8272\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">from PIL import Image, ImageDraw<\/p>\n<p>img = Image.new(&#39;RGB&#39;, (200, 200), color=&#39;white&#39;)<\/p>\n<p>draw = ImageDraw.Draw(img)<\/p>\n<h2><strong>\u7ed8\u5236\u4e00\u4e2a\u586b\u5145\u7684\u84dd\u8272\u77e9\u5f62<\/strong><\/h2>\n<p>draw.rectangle([50, 50, 150, 150], fill=&#39;blue&#39;, outline=&#39;black&#39;)<\/p>\n<p>img.show()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u4e09\u3001OPENCV\u4e2d\u7684\u586b\u8272\u65b9\u6cd5<\/p>\n<\/p>\n<p><p>OpenCV \u662f\u4e00\u4e2a\u5f3a\u5927\u7684\u8ba1\u7b97\u673a\u89c6\u89c9\u5e93\uff0c\u4e5f\u652f\u6301\u56fe\u50cf\u7684\u586b\u8272\u64cd\u4f5c\u3002<\/p>\n<\/p>\n<ol>\n<li>\u4f7f\u7528 OpenCV \u521b\u5efa\u586b\u8272\u56fe\u50cf<\/li>\n<\/ol>\n<p><pre><code class=\"language-python\">import cv2<\/p>\n<p>import numpy as np<\/p>\n<h2><strong>\u521b\u5efa\u4e00\u4e2a 100x100 \u7684\u7ea2\u8272\u56fe\u50cf<\/strong><\/h2>\n<p>img = np.zeros((100, 100, 3), dtype=np.uint8)<\/p>\n<p>img[:] = (0, 0, 255)  # BGR \u683c\u5f0f\uff0c\u7ea2\u8272<\/p>\n<p>cv2.imshow(&#39;Red Image&#39;, img)<\/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<ol start=\"2\">\n<li>\u5728\u56fe\u50cf\u4e0a\u7ed8\u5236\u586b\u8272\u5f62\u72b6<\/li>\n<\/ol>\n<p><p>OpenCV \u63d0\u4f9b\u4e86\u591a\u79cd\u7ed8\u56fe\u51fd\u6570\uff0c\u53ef\u4ee5\u7528\u6765\u7ed8\u5236\u548c\u586b\u5145\u5f62\u72b6\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import cv2<\/p>\n<p>import numpy as np<\/p>\n<p>img = np.zeros((200, 200, 3), dtype=np.uint8)<\/p>\n<h2><strong>\u7ed8\u5236\u4e00\u4e2a\u586b\u5145\u7684\u84dd\u8272\u77e9\u5f62<\/strong><\/h2>\n<p>cv2.rectangle(img, (50, 50), (150, 150), (255, 0, 0), thickness=-1)  # BGR \u683c\u5f0f\uff0c\u84dd\u8272<\/p>\n<p>cv2.imshow(&#39;Rectangle&#39;, img)<\/p>\n<p>cv2.waitKey(0)<\/p>\n<p>cv2.destroyAllWindows()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u56db\u3001\u4f7f\u7528SEABORN\u8fdb\u884c\u9ad8\u7ea7\u586b\u8272<\/p>\n<\/p>\n<p><p>Seaborn \u662f\u57fa\u4e8e Matplotlib \u7684\u4e00\u4e2a\u9ad8\u7ea7\u6570\u636e\u53ef\u89c6\u5316\u5e93\uff0c\u63d0\u4f9b\u4e86\u66f4\u4e3a\u7f8e\u89c2\u548c\u9ad8\u7ea7\u7684\u586b\u8272\u9009\u9879\u3002<\/p>\n<\/p>\n<ol>\n<li>\u4f7f\u7528 Seaborn \u7ed8\u5236\u5e26\u586b\u8272\u7684\u7edf\u8ba1\u56fe\u8868<\/li>\n<\/ol>\n<p><p>Seaborn \u53ef\u4ee5\u8f7b\u677e\u7ed8\u5236\u5e26\u586b\u8272\u7684\u7edf\u8ba1\u56fe\u8868\uff0c\u5982\u6838\u5bc6\u5ea6\u4f30\u8ba1\u56fe\u548c\u76f4\u65b9\u56fe\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import seaborn as sns<\/p>\n<p>import numpy as np<\/p>\n<p>data = np.random.randn(1000)<\/p>\n<p>sns.histplot(data, kde=True, color=&#39;skyblue&#39;, fill=True)<\/p>\n<p>plt.show()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<ol start=\"2\">\n<li>\u4f7f\u7528 Seaborn \u7ed8\u5236\u5e26\u586b\u8272\u7684\u5206\u7c7b\u56fe\u8868<\/li>\n<\/ol>\n<p><p>Seaborn \u8fd8\u63d0\u4f9b\u4e86\u7528\u4e8e\u5206\u7c7b\u6570\u636e\u7684\u586b\u8272\u9009\u9879\uff0c\u5982\u5e26\u586b\u8272\u7684\u7bb1\u7ebf\u56fe\u548c\u5c0f\u63d0\u7434\u56fe\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import seaborn as sns<\/p>\n<p>import pandas as pd<\/p>\n<h2><strong>\u521b\u5efa\u793a\u4f8b\u6570\u636e<\/strong><\/h2>\n<p>data = pd.DataFrame({<\/p>\n<p>    &#39;Category&#39;: [&#39;A&#39;, &#39;B&#39;, &#39;A&#39;, &#39;B&#39;],<\/p>\n<p>    &#39;Value&#39;: [1, 2, 3, 4]<\/p>\n<p>})<\/p>\n<p>sns.boxplot(x=&#39;Category&#39;, y=&#39;Value&#39;, data=data, palette=&#39;pastel&#39;)<\/p>\n<p>plt.show()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u4e94\u3001\u603b\u7ed3\u4e0e\u5efa\u8bae<\/p>\n<\/p>\n<p><p>\u5728Python\u4e2d\u586b\u8272\u6709\u591a\u79cd\u65b9\u6cd5\uff0c\u6bcf\u79cd\u65b9\u6cd5\u90fd\u6709\u5176\u72ec\u7279\u7684\u4f18\u52bf\u548c\u9002\u7528\u573a\u666f\uff1a<\/p>\n<\/p>\n<ul>\n<li><strong>Matplotlib<\/strong>\uff1a\u9002\u5408\u7528\u4e8e\u6570\u636e\u53ef\u89c6\u5316\uff0c\u63d0\u4f9b\u4e86\u4e30\u5bcc\u7684\u586b\u8272\u529f\u80fd\uff0c\u9002\u7528\u4e8e\u586b\u5145\u66f2\u7ebf\u3001\u6761\u5f62\u56fe\u3001\u6563\u70b9\u56fe\u7b49\u3002<\/li>\n<li><strong>Pillow<\/strong>\uff1a\u9002\u5408\u7528\u4e8e\u56fe\u50cf\u5904\u7406\uff0c\u63d0\u4f9b\u4e86\u521b\u5efa\u548c\u7f16\u8f91\u56fe\u50cf\u7684\u529f\u80fd\uff0c\u9002\u7528\u4e8e\u9759\u6001\u56fe\u50cf\u7684\u586b\u8272\u3002<\/li>\n<li><strong>OpenCV<\/strong>\uff1a\u9002\u5408\u7528\u4e8e\u8ba1\u7b97\u673a\u89c6\u89c9\u4efb\u52a1\uff0c\u63d0\u4f9b\u4e86\u9ad8\u6548\u7684\u56fe\u50cf\u5904\u7406\u80fd\u529b\uff0c\u9002\u7528\u4e8e\u89c6\u9891\u548c\u52a8\u6001\u56fe\u50cf\u7684\u586b\u8272\u3002<\/li>\n<li><strong>Seaborn<\/strong>\uff1a\u57fa\u4e8eMatplotlib\uff0c\u9002\u5408\u7528\u4e8e\u9ad8\u7ea7\u6570\u636e\u53ef\u89c6\u5316\uff0c\u63d0\u4f9b\u4e86\u66f4\u4e3a\u7f8e\u89c2\u7684\u56fe\u8868\u548c\u586b\u8272\u9009\u9879\u3002<\/li>\n<\/ul>\n<p><p>\u6839\u636e\u4f60\u7684\u5177\u4f53\u9700\u6c42\u9009\u62e9\u5408\u9002\u7684\u5e93\u548c\u65b9\u6cd5\uff0c\u4ee5\u5b9e\u73b0\u6700\u4f73\u7684\u586b\u8272\u6548\u679c\u3002\u5728\u5b9e\u9645\u5e94\u7528\u4e2d\uff0c\u53ef\u4ee5\u6839\u636e\u9700\u8981\u7ec4\u5408\u4f7f\u7528\u8fd9\u4e9b\u5e93\uff0c\u4ee5\u5b9e\u73b0\u66f4\u4e3a\u590d\u6742\u548c\u7cbe\u7f8e\u7684\u56fe\u5f62\u548c\u56fe\u50cf\u6548\u679c\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728Python\u4e2d\u4f7f\u7528\u5e93\u8fdb\u884c\u586b\u8272\u64cd\u4f5c\uff1f<\/strong><br \/>\u5728Python\u4e2d\uff0c\u6709\u51e0\u4e2a\u6d41\u884c\u7684\u5e93\u53ef\u4ee5\u7528\u6765\u8fdb\u884c\u586b\u8272\u64cd\u4f5c\uff0c\u6700\u5e38\u7528\u7684\u662fMatplotlib\u548cPygame\u3002\u4f7f\u7528Matplotlib\uff0c\u60a8\u53ef\u4ee5\u901a\u8fc7\u8bbe\u7f6e\u989c\u8272\u53c2\u6570\u5728\u56fe\u5f62\u4e2d\u586b\u5145\u533a\u57df\uff1b\u800c\u5728Pygame\u4e2d\uff0c\u60a8\u53ef\u4ee5\u901a\u8fc7\u6307\u5b9aRGB\u503c\u6765\u4e3a\u56fe\u50cf\u7684\u8868\u9762\u586b\u5145\u989c\u8272\u3002\u5177\u4f53\u7684\u4ee3\u7801\u793a\u4f8b\u548c\u4f7f\u7528\u65b9\u6cd5\u53ef\u4ee5\u5728\u5404\u81ea\u7684\u6587\u6863\u4e2d\u627e\u5230\u3002<\/p>\n<p><strong>Python\u4e2d\u586b\u8272\u7684\u5e94\u7528\u573a\u666f\u6709\u54ea\u4e9b\uff1f<\/strong><br \/>\u586b\u8272\u5728\u6570\u636e\u53ef\u89c6\u5316\u3001\u6e38\u620f\u5f00\u53d1\u548c\u56fe\u5f62\u8bbe\u8ba1\u4e2d\u90fd\u6709\u5e7f\u6cdb\u7684\u5e94\u7528\u3002\u6bd4\u5982\uff0c\u5728\u6570\u636e\u53ef\u89c6\u5316\u4e2d\uff0c\u586b\u8272\u53ef\u4ee5\u5e2e\u52a9\u7a81\u51fa\u663e\u793a\u4e0d\u540c\u7684\u6570\u636e\u96c6\uff0c\u4f7f\u5f97\u56fe\u8868\u66f4\u52a0\u6613\u4e8e\u7406\u89e3\uff1b\u5728\u6e38\u620f\u5f00\u53d1\u4e2d\uff0c\u586b\u8272\u7528\u4e8e\u89d2\u8272\u548c\u573a\u666f\u7684\u6e32\u67d3\uff0c\u589e\u5f3a\u6e38\u620f\u4f53\u9a8c\uff1b\u5728\u56fe\u5f62\u8bbe\u8ba1\u4e2d\uff0c\u586b\u8272\u5219\u7528\u4e8e\u521b\u5efa\u89c6\u89c9\u5438\u5f15\u529b\u7684\u8bbe\u8ba1\u4f5c\u54c1\u3002<\/p>\n<p><strong>\u6211\u9700\u8981\u4e86\u89e3\u54ea\u4e9b\u57fa\u7840\u77e5\u8bc6\u624d\u80fd\u5728Python\u4e2d\u8fdb\u884c\u586b\u8272\uff1f<\/strong><br \/>\u8981\u5728Python\u4e2d\u8fdb\u884c\u586b\u8272\uff0c\u638c\u63e1\u57fa\u672c\u7684\u56fe\u5f62\u7f16\u7a0b\u77e5\u8bc6\u662f\u975e\u5e38\u91cd\u8981\u7684\u3002\u60a8\u9700\u8981\u4e86\u89e3\u989c\u8272\u6a21\u578b\uff08\u5982RGB\u3001HEX\uff09\u3001\u56fe\u5f62\u5e93\u7684\u4f7f\u7528\uff08\u5982Matplotlib\u3001Pygame\u3001Turtle\u7b49\uff09\uff0c\u4ee5\u53ca\u5982\u4f55\u7ed8\u5236\u57fa\u672c\u5f62\u72b6\u3002\u6b64\u5916\uff0c\u4e86\u89e3\u4e8b\u4ef6\u5904\u7406\u548c\u7528\u6237\u4ea4\u4e92\u4e5f\u80fd\u5e2e\u52a9\u60a8\u5b9e\u73b0\u66f4\u590d\u6742\u7684\u586b\u8272\u6548\u679c\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5728Python\u4e2d\u586b\u8272\u53ef\u4ee5\u901a\u8fc7\u4f7f\u7528\u591a\u4e2a\u56fe\u5f62\u5e93\uff0c\u5982matplotlib\u3001PIL\uff08Pillow\uff09\u548cOpenCV\u7b49\u3002M [&hellip;]","protected":false},"author":3,"featured_media":940318,"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\/940313"}],"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=940313"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/940313\/revisions"}],"predecessor-version":[{"id":940321,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/940313\/revisions\/940321"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/940318"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=940313"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=940313"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=940313"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}