Fix _ScaledRotation invalidation and set mathtext thumbnail#31351
Fix _ScaledRotation invalidation and set mathtext thumbnail#31351manasvi-sahare wants to merge 1 commit intomatplotlib:mainfrom
Conversation
|
Thank you for opening your first PR into Matplotlib! If you have not heard from us in a week or so, please leave a new comment below and that should bring it to our attention. Most of our reviewers are volunteers and sometimes things fall through the cracks. We also ask that you please finish addressing any review comments on this PR and wait for it to be merged (or closed) before opening a new one, as it can be a valuable learning experience to go through the review process. You can also join us on gitter for real-time discussion. For details on testing, writing docs, and our review process, please see the developer guide. We strive to be a welcoming and open project. Please follow our Code of Conduct. |
I'm sorry but I do not think there is anything we can use here, so closing. |
This PR includes two changes:
_ScaledRotation.get_matrix()by resetting_invalidand_invertedafter computing the matrix, ensuring proper caching and avoiding unnecessary recomputation.# sphinx_gallery_thumbnail_number = 1to the Mathtext tutorial to set a meaningful thumbnail in the gallery.