Skip to content

Conversation

@rossbar
Copy link
Collaborator

@rossbar rossbar commented Nov 26, 2025

My understanding is that explicit figure/axis creation is the recommended pattern for pyplot on the basis of "explicit-over-implicit". Since one of the goals of numpy-tutorials is to highlight best-practices for scientific programming, I figured it'd be worthwhile to attempt to emphasize the OO pattern as opposed to the implicit fig/ax creation from plt.imshow, plt.plot, etc.

I don't have strong feelings though - I'm curious to what degree (if any) mpl folks would view this as an improvement @ksunden.

@rossbar rossbar added maintenance content Issues relevant to tutorial content labels Nov 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

content Issues relevant to tutorial content maintenance

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant