annotate example/pyplot_simple.py @ 177:c2c86c37eadd

this now works on Mac
author Jeff Hammel <k0scist@gmail.com>
date Thu, 10 Mar 2016 13:05:24 -0800
parents dc0a620a0368
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
172
dc0a620a0368 add another example
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
1 import matplotlib.pyplot as plt
dc0a620a0368 add another example
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
2 plt.plot([1,2,3,4])
dc0a620a0368 add another example
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
3 plt.ylabel('some numbers')
dc0a620a0368 add another example
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
4 plt.show()