if path:
        print(('save to', path + sep + title + '.pdf'))
        plt.savefig(path + sep + title + '.pdf')
        plt.close()