Skip to content

Instantly share code, notes, and snippets.

@DoctorLoop
Last active August 4, 2020 11:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DoctorLoop/21e30bdf16d1f88830666793f0080c63 to your computer and use it in GitHub Desktop.
Save DoctorLoop/21e30bdf16d1f88830666793f0080c63 to your computer and use it in GitHub Desktop.
import matplotlib.pyplot as plt
plt.scatter(hardboiled['weight'],hardboiled['time'],color='g',marker="^",label="hard-boiled")
plt.scatter(softboiled['weight'],softboiled['time'],color='y',marker="o",label="soft-boiled")
plt.scatter(underdone['weight'],underdone['time'],color='r', marker="+",label="underdone")
plt.xlabel('weight (g)')
plt.ylabel("time (mins)")
plt.legend()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment