Guest User

Untitled

a guest
Jan 22nd, 2019
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. from matplotlib.pyplot import figure, show
  2. from matplotlib import patches
  3. fig = figure()
  4. ax = fig.add_subplot(111)
  5. ell = patches.Ellipse((0.15, 0.7), .3, .1, angle = 25, facecolor = 'white', edgecolor = 'gray', linewidth = 2, transform=ax.transAxes)
  6. ax.add_artist(ell)
  7. ell = patches.Ellipse((0.30, 0.7), .3, .1, angle = -25, facecolor = 'white', edgecolor = 'gray', linewidth = 2, transform=ax.transAxes)
  8. ax.add_artist(ell)
  9. show()
Add Comment
Please, Sign In to add comment