Advertisement
Guest User

Untitled

a guest
Sep 23rd, 2019
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. import matplotlib.pyplot as plt
  2. import numpy as np
  3.  
  4. #Show plot for edible mushrooms
  5. plt.spy(df_new[df_new['EDIBLE'] == 1], markersize=0.1)
  6. fig = plt.gcf()
  7. fig.set_size_inches(60, 180)
  8. plt.plot
  9. plt.show()
  10.  
  11. #Show plot for poisonous mushrooms
  12. plt.spy(df_new[df_new['POISONOUS'] == 1], markersize=0.1)
  13. fig = plt.gcf()
  14. fig.set_size_inches(60, 180)
  15. plt.plot
  16. plt.show()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement