This issue is to keep track of work on improving type hints in matplotlib
Main task : TypedDicts for Artist properties
Let's do this separately, because it's a dedicated and complex enough effort: Basically what we want is a Typed Dict for the artist properties. Artist properties are essentially the things you can set_[propname] on any object. These are in many cases the accepted and passed though by kwargs, and therefore artist property Typed Dicts make sense.
You'll want to create a Typed Dict hierarchy following the Artist hierarchy, i.e. TextProperties inheriting from ArtistProperties.
Originally posted by @timhoffm in #32139 (comment)
for now this is our task, i'll be updating issue description as we proceed.
And another main reason for opening this is to have discussion, so please feel free to share your thoughts on this . Thank you 😊
This issue is to keep track of work on improving type hints in matplotlib
Main task :
TypedDictsfor Artist propertiesOriginally posted by @timhoffm in #32139 (comment)
for now this is our task, i'll be updating issue description as we proceed.
And another main reason for opening this is to have discussion, so please feel free to share your thoughts on this . Thank you 😊