Last active
November 6, 2017 10:16
-
-
Save yuliji/0c2d7313405f9478304377664563e9b5 to your computer and use it in GitHub Desktop.
python plot
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.pyplot as plt | |
fig, ax = plt.subplots(ncols=1, nrows=3, figsize=(10, 15)) | |
ax[0].hist(scores1, bins=100, range=(0, 100)) # bins is number of columns, range is upper and lower bound | |
ax[1].hist(scores2, bins=100, range=(0, 100)) # bins is number of columns, range is upper and lower bound | |
ax[2].hist(diff, bins=100, range=(-300, 300)) # bins is number of columns, range is upper and lower bound | |
fig.tight_layout() | |
plt.show() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment