Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def plotImage(xData, yData, im):
- for x, y in zip(xData, yData):
- bb = Bbox.from_bounds(x,y,10,10)
- bb2 = TransformedBbox(bb,ax.transData)
- bbox_image = BboxImage(bb2,
- norm = None,
- origin=None,
- clip_on=False)
- bbox_image.set_data(im)
- ax.add_artist(bbox_image)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement