Skip to content

Instantly share code, notes, and snippets.

@carlodri
Created June 7, 2017 10:45
Show Gist options
  • Select an option

  • Save carlodri/d0030ac40a8fbbc25480da5401f9c893 to your computer and use it in GitHub Desktop.

Select an option

Save carlodri/d0030ac40a8fbbc25480da5401f9c893 to your computer and use it in GitHub Desktop.
import matplotlib.pyplot as plt
fig = plt.figure()
ax = fig.add_subplot(111)
ax.plot([1, 2, 3])
ax.set_title('hi mom')
ax.grid(True)
ax.set_xlabel('time')
ax.set_ylabel('volts')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment