Guest User

Untitled

a guest
Dec 16th, 2018
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. import matplotlib.pyplot as plt
  2. from mod_patch import get_Patch
  3. fig, ax = plt.subplots(figsize=(8,8))
  4. c = get_Patch(plt.Circle, (0,0.5), 0.5, facecolor='green', edgecolor='orange', alpha=0.5, lw=15)
  5. ax.add_artist(c)
  6. r = get_Patch(plt.Rectangle, (0.5,0), 0.5, 0.5, facecolor='green', edgecolor='orange', alpha=0.5, lw=15)
  7. ax.add_artist(r)
  8. plt.show()
Add Comment
Please, Sign In to add comment