Guest User

Untitled

a guest
May 20th, 2018
129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. >>> import matplotlib.pyplot as plt
  2. >>> fig = plt.figure()
  3. >>> ax = fig.add_subplot(111)
  4. >>> ax.plot((1, 3, 1))
  5. [<matplotlib.lines.Line2D object at 0x0290B750>]
  6. >>> plt.show()
  7.  
  8. >>>
  9. >>> fig1 = plt.figure()
  10. >>> bx = fig1.add_subplot(111)
  11. >>> bx.plot((1, 3, 1))
  12. [<matplotlib.lines.Line2D object at 0x029E8210>]
  13. >>> plt.show()
  14.  
  15. easy_install ipython
  16.  
  17. ipython -pylab
  18.  
  19. In[1]: ...
  20.  
  21. plt.close()
Add Comment
Please, Sign In to add comment