Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import matplotlib.pyplot as plt
- x = [5,7,8,7,2,17,2,9,4,11,12,9,6]
- y = [99,86,87,88,111,86,103,87,94,78,77,85,86]
- plt.scatter(x,y)
- plt.show()
- ## NEXT CELL
- from matplotlib import pyplot as plt
- import numpy as np
- a = np.array([22,87,5,43,56,73,55,54,11,20,51,5,79,31,27])
- fig,ax = plt.subplots(figsize=(10,7))
- ax.hist(a, bins = [0,25,50,75,100])
- plt.show()
Advertisement
Add Comment
Please, Sign In to add comment