import numpy as np
from matplotlib import pyplot as plt
list_g = df["x"].tolist()
#调大小
plt.figure(figsize=(14,7))
plt.hist(list_g, bins=200)
#x轴范围(600,830)
plt.xlim(100,1000)
plt.title('xxx')
plt.xlabel('x_label')
plt.ylabel('y_label')
plt.tight_layout()
plt.show()