py-autogui/utils/matplotlib.py
2023-09-14 02:40:30 +08:00

12 lines
206 B
Python

from matplotlib import pyplot as plt
from matplotlib import rcParams
rcParams['font.family'] = 'SimHei'
def debug(image):
plt.title("测试")
plt.imshow(image)
plt.axis("off")
plt.show()