Use help
parameter for traits rather than setting __doc__
#2844
Labels
Area: Docs
Affects documentation
good first issue
Straightforward issues suitable for new and inexperienced contributors to the project
Type: Maintenance
Updates and clean ups (but not wrong)
Currently all the traits in the simplified plotting interface are documented by setting the
__doc__
attribute. Traits have ahelp
parameter in the constructor that we can use instead, and with traitlets 5.8.0, this now maps to the__doc__
attribute.We should update, though we should check on whether there are other impacts of this beyond just building our docs (e.g. in jupyter environments). If there are jupyter ramifications, we probably want to wait a bit before making 5.8.0 our minimum version.
The text was updated successfully, but these errors were encountered: