Removing a shared axes via ax.remove()
leads to an error.
#14911
Labels
Release critical
For bugs that make the library unusable (segfaults, incorrect plots, etc) and major regressions.
Milestone
Bug report
Bug summary
removing a shared axes via
ax.remove()
leads to an error.This bisects to "Fix locator/formatter setting when removing shared Axes" #13983 (in current master, targeted for 3.2) which initially headed out to make the situation of removing a shared axes better, fixing #12853, but apparently the test doesn't capture the below simple case.
Hence marking as release critical for 3.2, in order not to release this bug.
Code for reproduction
Actual outcome
Expected outcome
A plot with the first axes removed, as would be achieved with the same code running in 3.1
Matplotlib version
print(matplotlib.get_backend())
): Qt5AggThe text was updated successfully, but these errors were encountered: