-
-
Notifications
You must be signed in to change notification settings - Fork 8.2k
Open
Description
Problem
In Python 3.8, typing.TypedDict was added to represent dictionary objects with a specific set of keys: https://typing.readthedocs.io/en/latest/spec/typeddict.html#typeddict. Using a TypedDict allows code editors (in my case VSCode) to offer autocomplete suggestions for keys.
It would be super useful for rcParams if one could e.g., type rcParams["font and get autocomplete suggestions for all the font keys.
This is what it an example looks like in VSCode:

Proposed solution
No response