We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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.
typing.TypedDict
TypedDict
It would be super useful for rcParams if one could e.g., type rcParams["font and get autocomplete suggestions for all the font keys.
rcParams
rcParams["font
This is what it an example looks like in VSCode:
No response
The text was updated successfully, but these errors were encountered:
Um, this is probably a good idea, give or take #25617, but for your specific use case there's maybe also https://github.com/yy0931/vscode-mplstyle
Sorry, something went wrong.
It seems there already are.
Off topic, you can also try https://github.com/yy0931/vscode-mplstyle
No branches or pull requests
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 aTypedDict
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., typercParams["font
and get autocomplete suggestions for all the font keys.This is what it an example looks like in VSCode:
Proposed solution
No response
The text was updated successfully, but these errors were encountered: