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
AttributeError: 'NoneType' object has no attribute 'canvas'
(when trying to propagate the change to the removed inset)
Compare with removal of normal shared axes (e.g., axs = subplots(2, sharey=True); axs[1].remove(); axs[0].set(ylim=(10, 20)) which works fine.
This is because add_child_axes makes the inset's remove_method be self.child_axes.remove, which skips the shared-grouper-teardown code present in Figure.delaxes.