import matplotlib matplotlib.use('Agg') import matplotlib.pyplot as plt from matplotlib.image import BboxImage from matplotlib.transforms import Bbox, TransformedBbox def scatter_image(feature_x, feature_y, image_paths, title, save=None): """ Args: feature_x: x座標 feature_y: y座標 image_paths: """ fig = plt.figure() ax = fig.add_subplot(111) xlim = [feature_x.min()-5, feature_x.max()+5] ylim = [featu
