December 3rd, 2012, 03:03 PM
Join Date: Dec 2012
Time spent in forums: 16 m 30 sec
Reputation Power: 0
Why is my "add_patch" script not working
# I am trying to plot an image with a tilted rectangle on it.
# I need a bunch of images with different rectangles. So I use "for" loop.
# The 1st image is fine.
# But the 2nd image have both the 1st and the 2nd rectangles on it.
# Could you help me figure out whats the problem?
My script is something like:
for i in range(len(ID)):
fig = plt.figure(1)
ax = plt.subplot(1,1,1)