Skip to content

Instantly share code, notes, and snippets.

@ggouaillardet
Created May 31, 2020 14:28
Show Gist options
  • Select an option

  • Save ggouaillardet/f06b65b72f30758d69c6a31e44aa2c72 to your computer and use it in GitHub Desktop.

Select an option

Save ggouaillardet/f06b65b72f30758d69c6a31e44aa2c72 to your computer and use it in GitHub Desktop.
import matplotlib.pyplot as plt
import numpy as np
x = np.arange(10)
for i in range(1, 4):
plt.plot(x, i * x**2, label='Group %d' % i)
plt.legend(loc='best')
plt.show()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment