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
Removing an ax created with twinx/twiny and then adding a new one with a plot, or just setting xlim/ylim for it triggers the crash (twinx -> xlim, twiny -> ylim).
importmatplotlibmatplotlib.use('TkAgg') # same with 'agg'importmatplotlib.pyplotaspltfig=plt.figure()
ax1=fig.add_subplot(111)
ax2=ax1.twinx()
ax2.remove()
ax3=fig.add_subplot(111)
ax3.set_xlim([1, 5])
plt.show()
Removing an ax created with twinx/twiny and then adding a new one with a plot, or just setting xlim/ylim for it triggers the crash (twinx -> xlim, twiny -> ylim).
The text was updated successfully, but these errors were encountered: