Created
May 9, 2017 08:56
-
-
Save shgidi/3faab5b5ae6934c505865565d5bfc8d1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
plt.imshow(np.array(Image.open(g[0]))[y-30:y+30,x-30:x+30]) | |
currentAxis = plt.gca() | |
coords=[10,10],20,20 | |
currentAxis.add_patch(plt.Rectangle(*coords, fill=False, edgecolor=color, linewidth=2)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment