{"id":1182352,"date":"2025-01-15T19:02:14","date_gmt":"2025-01-15T11:02:14","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1182352.html"},"modified":"2025-01-15T19:02:17","modified_gmt":"2025-01-15T11:02:17","slug":"%e5%a6%82%e4%bd%95%e8%b0%83%e6%95%b4python%e5%ad%97%e7%9a%84%e5%a4%a7%e5%b0%8f-2","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1182352.html","title":{"rendered":"\u5982\u4f55\u8c03\u6574python\u5b57\u7684\u5927\u5c0f"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25130352\/c85af534-4ae8-4d55-8e42-98894298325e.webp\" alt=\"\u5982\u4f55\u8c03\u6574python\u5b57\u7684\u5927\u5c0f\" \/><\/p>\n<p><p> <strong>\u5728Python\u4e2d\u8c03\u6574\u5b57\u7684\u5927\u5c0f\u53ef\u4ee5\u901a\u8fc7\u4f7f\u7528\u4e0d\u540c\u7684\u5e93\u548c\u65b9\u6cd5\uff0c\u5982Matplotlib\u3001Tkinter\u3001Pygame\u3001PIL\u7b49\u3002<\/strong> \u5176\u4e2d\uff0cMatplotlib\u662f\u4e00\u4e2a\u975e\u5e38\u6d41\u884c\u7684\u6570\u636e\u53ef\u89c6\u5316\u5e93\uff0cTkinter\u662fPython\u7684\u6807\u51c6GUI\u5e93\uff0cPygame\u7528\u4e8e\u6e38\u620f\u5f00\u53d1\uff0c\u800cPIL\uff08Pillow\uff09\u7528\u4e8e\u56fe\u50cf\u5904\u7406\u3002\u672c\u6587\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u5982\u4f55\u5728\u8fd9\u4e9b\u5e93\u4e2d\u8c03\u6574\u5b57\u7684\u5927\u5c0f\uff0c\u5e76\u901a\u8fc7\u793a\u4f8b\u4ee3\u7801\u5c55\u793a\u5177\u4f53\u7684\u64cd\u4f5c\u65b9\u6cd5\u3002<\/p>\n<\/p>\n<p><h3>\u4e00\u3001MATPLOTLIB<\/h3>\n<\/p>\n<p><p>Matplotlib\u662f\u4e00\u4e2a\u7528\u4e8e\u521b\u5efa\u9759\u6001\u3001\u52a8\u6001\u548c\u4ea4\u4e92\u5f0f\u56fe\u5f62\u7684Python 2D\u7ed8\u56fe\u5e93\u3002\u5b83\u5e7f\u6cdb\u7528\u4e8e\u79d1\u5b66\u8ba1\u7b97\u3001\u6570\u636e\u5206\u6790\u548c\u53ef\u89c6\u5316\u3002\u5728Matplotlib\u4e2d\u8c03\u6574\u5b57\u7684\u5927\u5c0f\u975e\u5e38\u7b80\u5355\uff0c\u901a\u8fc7\u8bbe\u7f6e\u5b57\u4f53\u5927\u5c0f\u53c2\u6570\u5373\u53ef\u3002<\/p>\n<\/p>\n<p><h4>1. \u8bbe\u7f6e\u5168\u5c40\u5b57\u4f53\u5927\u5c0f<\/h4>\n<\/p>\n<p><p>\u8981\u8bbe\u7f6e\u5168\u5c40\u5b57\u4f53\u5927\u5c0f\uff0c\u53ef\u4ee5\u4f7f\u7528<code>rcParams<\/code>\u5b57\u5178\u3002<code>rcParams<\/code>\u662fMatplotlib\u7684\u914d\u7f6e\u53c2\u6570\u5b57\u5178\uff0c\u901a\u8fc7\u4fee\u6539\u5b83\u53ef\u4ee5\u5168\u5c40\u8bbe\u7f6e\u5b57\u4f53\u5927\u5c0f\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import matplotlib.pyplot as plt<\/p>\n<p>plt.rcParams[&#39;font.size&#39;] = 14  # \u8bbe\u7f6e\u5168\u5c40\u5b57\u4f53\u5927\u5c0f\u4e3a14<\/p>\n<p>plt.plot([1, 2, 3], [4, 5, 6])<\/p>\n<p>plt.title(&#39;Title&#39;)<\/p>\n<p>plt.xlabel(&#39;X-axis&#39;)<\/p>\n<p>plt.ylabel(&#39;Y-axis&#39;)<\/p>\n<p>plt.show()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>2. \u8bbe\u7f6e\u5c40\u90e8\u5b57\u4f53\u5927\u5c0f<\/h4>\n<\/p>\n<p><p>\u53ef\u4ee5\u901a\u8fc7\u5728\u5404\u4e2a\u7ed8\u56fe\u51fd\u6570\u4e2d\u4f7f\u7528<code>fontsize<\/code>\u53c2\u6570\u6765\u8bbe\u7f6e\u5c40\u90e8\u5b57\u4f53\u5927\u5c0f\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import matplotlib.pyplot as plt<\/p>\n<p>plt.plot([1, 2, 3], [4, 5, 6])<\/p>\n<p>plt.title(&#39;Title&#39;, fontsize=20)  # \u8bbe\u7f6e\u6807\u9898\u5b57\u4f53\u5927\u5c0f\u4e3a20<\/p>\n<p>plt.xlabel(&#39;X-axis&#39;, fontsize=15)  # \u8bbe\u7f6eX\u8f74\u6807\u7b7e\u5b57\u4f53\u5927\u5c0f\u4e3a15<\/p>\n<p>plt.ylabel(&#39;Y-axis&#39;, fontsize=15)  # \u8bbe\u7f6eY\u8f74\u6807\u7b7e\u5b57\u4f53\u5927\u5c0f\u4e3a15<\/p>\n<p>plt.show()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>3. \u4f7f\u7528\u81ea\u5b9a\u4e49\u5b57\u4f53<\/h4>\n<\/p>\n<p><p>\u9664\u4e86\u8c03\u6574\u5b57\u4f53\u5927\u5c0f\uff0c\u8fd8\u53ef\u4ee5\u4f7f\u7528\u81ea\u5b9a\u4e49\u5b57\u4f53\u3002\u9700\u8981\u5728\u7cfb\u7edf\u4e2d\u5b89\u88c5\u76f8\u5e94\u7684\u5b57\u4f53\u6587\u4ef6\uff0c\u7136\u540e\u5728Matplotlib\u4e2d\u8bbe\u7f6e\u5b57\u4f53\u5c5e\u6027\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import matplotlib.pyplot as plt<\/p>\n<p>from matplotlib import font_manager<\/p>\n<p>font_path = &#39;\/path\/to\/your\/font.ttf&#39;  # \u5b57\u4f53\u6587\u4ef6\u8def\u5f84<\/p>\n<p>font_prop = font_manager.FontProperties(fname=font_path, size=14)<\/p>\n<p>plt.plot([1, 2, 3], [4, 5, 6])<\/p>\n<p>plt.title(&#39;Title&#39;, fontproperties=font_prop)<\/p>\n<p>plt.xlabel(&#39;X-axis&#39;, fontproperties=font_prop)<\/p>\n<p>plt.ylabel(&#39;Y-axis&#39;, fontproperties=font_prop)<\/p>\n<p>plt.show()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u4e8c\u3001TKINTER<\/h3>\n<\/p>\n<p><p>Tkinter\u662fPython\u7684\u6807\u51c6GUI\u5e93\uff0c\u7528\u4e8e\u521b\u5efa\u56fe\u5f62\u7528\u6237\u754c\u9762\u3002\u5728Tkinter\u4e2d\u8c03\u6574\u5b57\u7684\u5927\u5c0f\u4e3b\u8981\u901a\u8fc7<code>font<\/code>\u6a21\u5757\u6765\u5b8c\u6210\u3002<\/p>\n<\/p>\n<p><h4>1. \u8bbe\u7f6e\u5168\u5c40\u5b57\u4f53\u5927\u5c0f<\/h4>\n<\/p>\n<p><p>\u53ef\u4ee5\u4f7f\u7528<code>tkinter.font<\/code>\u6a21\u5757\u4e2d\u7684<code>Font<\/code>\u7c7b\u521b\u5efa\u4e00\u4e2a\u5b57\u4f53\u5bf9\u8c61\uff0c\u5e76\u5c06\u5176\u5e94\u7528\u5230\u6240\u6709\u63a7\u4ef6\u4e0a\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import tkinter as tk<\/p>\n<p>import tkinter.font as font<\/p>\n<p>root = tk.Tk()<\/p>\n<p>myFont = font.Font(size=20)  # \u521b\u5efa\u4e00\u4e2a\u5b57\u4f53\u5bf9\u8c61\uff0c\u5b57\u4f53\u5927\u5c0f\u4e3a20<\/p>\n<p>label = tk.Label(root, text=&quot;Hello, Tkinter!&quot;, font=myFont)<\/p>\n<p>label.pack()<\/p>\n<p>button = tk.Button(root, text=&quot;Click Me&quot;, font=myFont)<\/p>\n<p>button.pack()<\/p>\n<p>root.m<a href=\"https:\/\/docs.pingcode.com\/blog\/59162.html\" target=\"_blank\">AI<\/a>nloop()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>2. \u8bbe\u7f6e\u5c40\u90e8\u5b57\u4f53\u5927\u5c0f<\/h4>\n<\/p>\n<p><p>\u53ef\u4ee5\u76f4\u63a5\u5728\u63a7\u4ef6\u7684<code>font<\/code>\u5c5e\u6027\u4e2d\u8bbe\u7f6e\u5b57\u4f53\u5927\u5c0f\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import tkinter as tk<\/p>\n<p>root = tk.Tk()<\/p>\n<p>label = tk.Label(root, text=&quot;Hello, Tkinter!&quot;, font=(&quot;Helvetica&quot;, 20))<\/p>\n<p>label.pack()<\/p>\n<p>button = tk.Button(root, text=&quot;Click Me&quot;, font=(&quot;Helvetica&quot;, 20))<\/p>\n<p>button.pack()<\/p>\n<p>root.mainloop()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u4e09\u3001PYGAME<\/h3>\n<\/p>\n<p><p>Pygame\u662f\u4e00\u4e2a\u7528\u4e8e\u5f00\u53d12D\u6e38\u620f\u7684Python\u5e93\u3002\u5728Pygame\u4e2d\u8c03\u6574\u5b57\u7684\u5927\u5c0f\u53ef\u4ee5\u901a\u8fc7<code>pygame.font<\/code>\u6a21\u5757\u6765\u5b8c\u6210\u3002<\/p>\n<\/p>\n<p><h4>1. \u521d\u59cb\u5316\u5b57\u4f53\u6a21\u5757<\/h4>\n<\/p>\n<p><p>\u5728\u4f7f\u7528\u5b57\u4f53\u4e4b\u524d\uff0c\u9700\u8981\u5148\u521d\u59cb\u5316Pygame\u7684\u5b57\u4f53\u6a21\u5757\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import pygame<\/p>\n<p>pygame.init()<\/p>\n<p>pygame.font.init()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>2. \u521b\u5efa\u5b57\u4f53\u5bf9\u8c61<\/h4>\n<\/p>\n<p><p>\u4f7f\u7528<code>pygame.font.Font<\/code>\u7c7b\u521b\u5efa\u4e00\u4e2a\u5b57\u4f53\u5bf9\u8c61\uff0c\u5e76\u6307\u5b9a\u5b57\u4f53\u6587\u4ef6\u548c\u5b57\u4f53\u5927\u5c0f\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import pygame<\/p>\n<p>pygame.init()<\/p>\n<p>pygame.font.init()<\/p>\n<p>screen = pygame.display.set_mode((640, 480))<\/p>\n<p>font = pygame.font.Font(None, 36)  # \u4f7f\u7528\u9ed8\u8ba4\u5b57\u4f53\uff0c\u5b57\u4f53\u5927\u5c0f\u4e3a36<\/p>\n<p>text = font.render(&#39;Hello, Pygame!&#39;, True, (255, 255, 255))  # \u6e32\u67d3\u6587\u672c<\/p>\n<p>screen.blit(text, (100, 100))  # \u5728\u5c4f\u5e55\u4e0a\u7ed8\u5236\u6587\u672c<\/p>\n<p>pygame.display.flip()<\/p>\n<p>pygame.time.wait(3000)<\/p>\n<p>pygame.quit()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>3. \u4f7f\u7528\u81ea\u5b9a\u4e49\u5b57\u4f53<\/h4>\n<\/p>\n<p><p>\u53ef\u4ee5\u4f7f\u7528\u81ea\u5b9a\u4e49\u5b57\u4f53\u6587\u4ef6\u6765\u521b\u5efa\u5b57\u4f53\u5bf9\u8c61\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import pygame<\/p>\n<p>pygame.init()<\/p>\n<p>pygame.font.init()<\/p>\n<p>font_path = &#39;\/path\/to\/your\/font.ttf&#39;<\/p>\n<p>font = pygame.font.Font(font_path, 36)  # \u4f7f\u7528\u81ea\u5b9a\u4e49\u5b57\u4f53\uff0c\u5b57\u4f53\u5927\u5c0f\u4e3a36<\/p>\n<p>screen = pygame.display.set_mode((640, 480))<\/p>\n<p>text = font.render(&#39;Hello, Pygame!&#39;, True, (255, 255, 255))  # \u6e32\u67d3\u6587\u672c<\/p>\n<p>screen.blit(text, (100, 100))  # \u5728\u5c4f\u5e55\u4e0a\u7ed8\u5236\u6587\u672c<\/p>\n<p>pygame.display.flip()<\/p>\n<p>pygame.time.wait(3000)<\/p>\n<p>pygame.quit()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u56db\u3001PIL\uff08PILLOW\uff09<\/h3>\n<\/p>\n<p><p>PIL\uff08Pillow\uff09\u662fPython\u56fe\u50cf\u5904\u7406\u5e93\uff0c\u53ef\u4ee5\u7528\u4e8e\u521b\u5efa\u548c\u4fee\u6539\u56fe\u50cf\u3002\u5728PIL\u4e2d\u8c03\u6574\u5b57\u7684\u5927\u5c0f\u4e3b\u8981\u901a\u8fc7<code>ImageFont<\/code>\u6a21\u5757\u6765\u5b8c\u6210\u3002<\/p>\n<\/p>\n<p><h4>1. \u521b\u5efa\u5b57\u4f53\u5bf9\u8c61<\/h4>\n<\/p>\n<p><p>\u4f7f\u7528<code>ImageFont.truetype<\/code>\u65b9\u6cd5\u521b\u5efa\u4e00\u4e2a\u5b57\u4f53\u5bf9\u8c61\uff0c\u5e76\u6307\u5b9a\u5b57\u4f53\u6587\u4ef6\u548c\u5b57\u4f53\u5927\u5c0f\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">from PIL import Image, ImageDraw, ImageFont<\/p>\n<p>image = Image.new(&#39;RGB&#39;, (200, 100), (255, 255, 255))<\/p>\n<p>draw = ImageDraw.Draw(image)<\/p>\n<p>font = ImageFont.truetype(&#39;\/path\/to\/your\/font.ttf&#39;, 36)  # \u4f7f\u7528\u81ea\u5b9a\u4e49\u5b57\u4f53\uff0c\u5b57\u4f53\u5927\u5c0f\u4e3a36<\/p>\n<p>draw.text((10, 10), &#39;Hello, PIL!&#39;, font=font, fill=(0, 0, 0))<\/p>\n<p>image.show()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>2. \u4f7f\u7528\u9ed8\u8ba4\u5b57\u4f53<\/h4>\n<\/p>\n<p><p>\u5982\u679c\u4e0d\u9700\u8981\u4f7f\u7528\u81ea\u5b9a\u4e49\u5b57\u4f53\uff0c\u53ef\u4ee5\u4f7f\u7528PIL\u63d0\u4f9b\u7684\u9ed8\u8ba4\u5b57\u4f53\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">from PIL import Image, ImageDraw, ImageFont<\/p>\n<p>image = Image.new(&#39;RGB&#39;, (200, 100), (255, 255, 255))<\/p>\n<p>draw = ImageDraw.Draw(image)<\/p>\n<p>font = ImageFont.load_default()  # \u4f7f\u7528\u9ed8\u8ba4\u5b57\u4f53<\/p>\n<p>draw.text((10, 10), &#39;Hello, PIL!&#39;, font=font, fill=(0, 0, 0))<\/p>\n<p>image.show()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u901a\u8fc7\u4e0a\u9762\u7684\u4ecb\u7ecd\uff0c\u6211\u4eec\u53ef\u4ee5\u770b\u5230\u5728Python\u4e2d\u8c03\u6574\u5b57\u7684\u5927\u5c0f\u6709\u591a\u79cd\u65b9\u6cd5\uff0c\u53ef\u4ee5\u6839\u636e\u5177\u4f53\u9700\u6c42\u9009\u62e9\u5408\u9002\u7684\u5e93\u548c\u65b9\u6cd5\u8fdb\u884c\u64cd\u4f5c\u3002\u65e0\u8bba\u662f\u6570\u636e\u53ef\u89c6\u5316\u3001GUI\u5f00\u53d1\u3001\u6e38\u620f\u5f00\u53d1\u8fd8\u662f\u56fe\u50cf\u5904\u7406\uff0c\u90fd\u53ef\u4ee5\u65b9\u4fbf\u5730\u8c03\u6574\u5b57\u7684\u5927\u5c0f\uff0c\u4f7f\u5f97\u6587\u672c\u663e\u793a\u66f4\u52a0\u7f8e\u89c2\u548c\u6e05\u6670\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728Python\u4e2d\u52a8\u6001\u8c03\u6574\u5b57\u4f53\u5927\u5c0f\uff1f<\/strong><br \/>\u5728Python\u4e2d\uff0c\u53ef\u4ee5\u901a\u8fc7\u4f7f\u7528\u56fe\u5f62\u7528\u6237\u754c\u9762\u5e93\uff08\u5982Tkinter\u3001PyQt\u6216Pygame\uff09\u6765\u52a8\u6001\u8c03\u6574\u5b57\u4f53\u5927\u5c0f\u3002\u4f8b\u5982\uff0c\u5728Tkinter\u4e2d\uff0c\u53ef\u4ee5\u4f7f\u7528<code>font<\/code>\u6a21\u5757\u6765\u521b\u5efa\u53ef\u8c03\u6574\u5927\u5c0f\u7684\u5b57\u4f53\u5bf9\u8c61\uff0c\u5e76\u901a\u8fc7\u66f4\u65b0\u8be5\u5bf9\u8c61\u6765\u5b9e\u73b0\u52a8\u6001\u8c03\u6574\u3002\u7528\u6237\u53ef\u4ee5\u5728\u7a0b\u5e8f\u4e2d\u6dfb\u52a0\u6ed1\u5757\u6216\u8f93\u5165\u6846\uff0c\u8ba9\u7528\u6237\u8f93\u5165\u6240\u9700\u7684\u5b57\u4f53\u5927\u5c0f\uff0c\u4ece\u800c\u5b9e\u73b0\u5b9e\u65f6\u8c03\u6574\u3002<\/p>\n<p><strong>\u4f7f\u7528Python\u7ed8\u56fe\u5e93\u65f6\uff0c\u5982\u4f55\u6539\u53d8\u6587\u5b57\u7684\u5927\u5c0f\uff1f<\/strong><br \/>\u5728\u4f7f\u7528\u7ed8\u56fe\u5e93\u5982Matplotlib\u65f6\uff0c\u8c03\u6574\u6587\u5b57\u5927\u5c0f\u975e\u5e38\u7b80\u5355\u3002\u5728\u7ed8\u5236\u6587\u672c\u65f6\uff0c\u53ef\u4ee5\u901a\u8fc7<code>fontsize<\/code>\u53c2\u6570\u6765\u8bbe\u7f6e\u5b57\u4f53\u5927\u5c0f\u3002\u4f8b\u5982\uff0c\u4f7f\u7528<code>plt.text(x, y, &#39;Hello&#39;, fontsize=20)<\/code>\u6765\u6307\u5b9a\u6587\u5b57\u5927\u5c0f\u4e3a20\u3002\u5bf9\u4e8e\u6574\u4e2a\u56fe\u5f62\u7684\u5b57\u4f53\u5927\u5c0f\uff0c\u4e5f\u53ef\u4ee5\u901a\u8fc7<code>plt.rcParams[&#39;font.size&#39;] = 14<\/code>\u6765\u5168\u5c40\u8bbe\u7f6e\u3002<\/p>\n<p><strong>\u5728\u7f51\u9875\u5e94\u7528\u4e2d\uff0c\u5982\u4f55\u5229\u7528Python\u8c03\u6574\u5b57\u4f53\u5927\u5c0f\uff1f<\/strong><br \/>\u5982\u679c\u4f60\u6b63\u5728\u4f7f\u7528Flask\u6216Django\u7b49\u6846\u67b6\u6784\u5efa\u7f51\u9875\u5e94\u7528\uff0c\u53ef\u4ee5\u901a\u8fc7\u524d\u7aef\u7684CSS\u6765\u63a7\u5236\u5b57\u4f53\u5927\u5c0f\u3002\u901a\u8fc7\u5c06\u5b57\u4f53\u5927\u5c0f\u8bbe\u7f6e\u4e3aCSS\u5c5e\u6027\uff0c\u4f8b\u5982<code>font-size: 16px;<\/code>\uff0c\u5e76\u7ed3\u5408Python\u540e\u7aef\u63d0\u4f9b\u7684\u6570\u636e\u6765\u52a8\u6001\u6e32\u67d3\u9875\u9762\uff0c\u7528\u6237\u53ef\u4ee5\u901a\u8fc7\u9009\u62e9\u4e0d\u540c\u7684\u9009\u9879\u6765\u6539\u53d8\u5b57\u4f53\u5927\u5c0f\u3002\u6b64\u5916\uff0cJavaScript\u4e5f\u53ef\u4ee5\u4e0ePython\u540e\u7aef\u4ea4\u4e92\uff0c\u5b9e\u65f6\u66f4\u65b0\u9875\u9762\u7684\u5b57\u4f53\u5927\u5c0f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5728Python\u4e2d\u8c03\u6574\u5b57\u7684\u5927\u5c0f\u53ef\u4ee5\u901a\u8fc7\u4f7f\u7528\u4e0d\u540c\u7684\u5e93\u548c\u65b9\u6cd5\uff0c\u5982Matplotlib\u3001Tkinter\u3001Pygame\u3001 [&hellip;]","protected":false},"author":3,"featured_media":1182366,"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\/1182352"}],"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=1182352"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1182352\/revisions"}],"predecessor-version":[{"id":1182368,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1182352\/revisions\/1182368"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1182366"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1182352"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1182352"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1182352"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}