ax.set_aspect('equal') fig.set_size_inches([height, width],forward=True)#resize art.get_window_extent()# get sizes