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
{{ message }}
Repository navigation
[Bug]: Axes.clear does not reset axislabel or ticklabel sizes #21239
The axislabel and ticklabels revert to the default size. (I think that's a saner behavior? Otherwise we should properly document what clear() resets and what it doesn't.)
If we are planning to change the existing behaviour, I think this needs a comprehensive decision of what ax.clear is supposed to mean, and some proper tests....
This issue has been marked "inactive" because it has been 365 days since the last comment. If this issue is still present in recent Matplotlib releases, or the feature request is still wanted, please leave a comment and this label will be removed. If there are no updates in another 30 days, this issue will be automatically closed, but you are free to re-open or create a new issue if needed. We value issue reports, and this procedure is meant to help us resurface and prioritize issues that have not been addressed yet, not make them disappear. Thanks for your help!
Activity
jklymak commentedon Oct 4, 2021
If we are planning to change the existing behaviour, I think this needs a comprehensive decision of what
ax.clearis supposed to mean, and some proper tests....github-actions commentedon Nov 5, 2025
This issue has been marked "inactive" because it has been 365 days since the last comment. If this issue is still present in recent Matplotlib releases, or the feature request is still wanted, please leave a comment and this label will be removed. If there are no updates in another 30 days, this issue will be automatically closed, but you are free to re-open or create a new issue if needed. We value issue reports, and this procedure is meant to help us resurface and prioritize issues that have not been addressed yet, not make them disappear. Thanks for your help!
anntzer commentedon Nov 5, 2025
Likely fixed by #21253.