Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

Merged
pelson merged 2 commits intomatplotlib:masterfromtacaswell:widget_doc
Jun 10, 2014

Conversation

tacaswell
Copy link
Member

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

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
Copy link
Member

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 ...

Copy link
Member

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
pelson added a commit that referenced this pull requestJun 10, 2014
DOC : added note about maintain ref to widgets
@pelsonpelson merged commit4c6b2cc intomatplotlib:masterJun 10, 2014
@tacaswelltacaswell deleted the widget_doc branchJune 10, 2014 12:57
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Projects
None yet
Milestone
v1.4.0
Development

Successfully merging this pull request may close these issues.

Sliders unresponsive when created inside a function
4 participants
@tacaswell@lebigot@pelson@QuLogic

[8]ページ先頭

©2009-2025 Movatter.jp