Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import matplotlib.pyplot as plt
- import numpy as np
- #Show plot for edible mushrooms
- plt.spy(df_new[df_new['EDIBLE'] == 1], markersize=0.1)
- fig = plt.gcf()
- fig.set_size_inches(60, 180)
- plt.plot
- plt.show()
- #Show plot for poisonous mushrooms
- plt.spy(df_new[df_new['POISONOUS'] == 1], markersize=0.1)
- fig = plt.gcf()
- fig.set_size_inches(60, 180)
- plt.plot
- plt.show()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement