max_err_data = pointData[pointData>max_value_point]
fig = plt.figure(figsize=(10, 6))
ax1 = fig.add_subplot(2, 1, 1)

#密度图
max_select_data.plot(kind='kde', grid=True, style='-k', title='NB001_max_part_density')
plt.axvline(max_value_point, color='r', linestyle="--", alpha=0.8)
plt.show()

密度图