You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adding an artist through Axes.add_artist() does not update the data limits of the plot, so autoscale does not work.
ax=gca()
circ=Circle((0,0), 5)
ax.add_patch(circ) #autoscale works for this#ax.add_artist(circ) #autoscale does not work for thisax.relim() # not strictly necessaryax.autoscale(True)
plt.show()