-
-
Save wupher/ce7890290ef0772fea474533ba8d4c77 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import matplotlib as mpl | |
import matplotlib.pyplot as plt | |
mpl.rcParams['font.family'] = 'Heiti TC' | |
%matplotlib inline | |
bins = range(min(data), max(data)+100, 100) | |
plt.hist(data, bins=bins) | |
plt.title("数据分布图") | |
plt.show() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment