Skip to content

Instantly share code, notes, and snippets.

@ars096
Last active December 21, 2015 03:28
Show Gist options
  • Save ars096/6241944 to your computer and use it in GitHub Desktop.
Save ars096/6241944 to your computer and use it in GitHub Desktop.
import pylab
fig = pylab.figure()
ax = fig.add_subplot(111)
ax.plot([3,1,6,-1,3,2])
ax.text(0.1, 0.9, 'hello, world', transform=ax.transAxes)
# fig.savefig('gist6241944.png')
pylab.show()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment