Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork7.9k
DOC : added note about maintain ref to widgets#3132
New issue
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
Added note to widget doc-strings that the user must maintain a referenceto the widgets to keep them responsive (if they get gc'd the call backsgo away).Some random conversion to numpybocClosesmatplotlib#3105
"""Widget that is connected to a single | ||
:class:`~matplotlib.axes.Axes`. | ||
To guarantee that the widgets stay responsive maintain a reference |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Add a comma:
widgets stay responsive, maintain a reference ...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
And maybe turn the whole sentence into:
To guarantee that a widget remains responsive and not garbage-collected, a reference to the object should be maintained by the user.
- corrected docstring in Slider.__init__ - feedback on previous commit
DOC : added note about maintain ref to widgets
Added note to widget doc-strings that the user must maintain a reference
to the widgets to keep them responsive (if they get gc'd the call backs
go away).
Some random conversion to numpyboc
Closes#3105