Summary
As discussed on today's call.
We need to codify what ax.clear and plt.cla are meant to actually clear on an axes, versus setting on the axes that should remain static.
For instance, it is pretty straight forward that clearing an axes should remove any data artists from the plot. However, what other properties should be reset. Labels? Tick styling, grids? Units on axes? Locators and formatters? The scale of the axises?
If anyone with edit access wants, they should start a list here, or if folks don't have edit access they can add list items on the comments.
Crossref: #23808
More reference from @timhoffm (#23808 (review)):
Proposed fix
No response
Summary
As discussed on today's call.
We need to codify what
ax.clearandplt.claare meant to actually clear on an axes, versus setting on the axes that should remain static.For instance, it is pretty straight forward that clearing an axes should remove any data artists from the plot. However, what other properties should be reset. Labels? Tick styling, grids? Units on axes? Locators and formatters? The scale of the axises?
If anyone with edit access wants, they should start a list here, or if folks don't have edit access they can add list items on the comments.
Crossref: #23808
More reference from @timhoffm (#23808 (review)):
Proposed fix
No response