import matplotlib
import matplotlib.pyplot as plt
import numpy as np
matplotlib.rcParams['font.family'] = 'SimHei'
matplotlib.rcParams['font.sans-serif'] = ['SimHei'] # 为了正确显示中文字体,将字体更改为黑体‘SimHei’
data_labels = np.array(['Comments rated 1', 'Comments rated 2', 'Comments rated 3', 'Comments rated 4', 'Comments rated 5'])
n = 6
radar_labels = np.array([' failed', 'problem', 'powerful',
'love ',
Python绘制雷达图
最新推荐文章于 2025-03-17 18:07:07 发布