for i, t in enumerate(trajectory, start=1):
    xi, yi, deg = t
im = imshow_affine(ax, car, interpolation='none', extent=[0, width, 0,
    height], clip_on=True, alpha=0.8 * i / len(trajectory))
center_x, center_y = width // 2, height // 2
im_trans = mtransforms.Affine2D().rotate_deg_around(center_x, center_y, deg
    ).translate(xi, yi) + ax.transData
im.set_transform(im_trans)
ax.set_xlim(-0.5, 1.5)
ax.set_ylim(-0.5, 1.7)
plt.show()
Overlay rotated Images on plot with Matplotlib