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

Clarify docstring of [un]install_repl_displayhook()#22911

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
tacaswell merged 1 commit intomatplotlib:mainfromtimhoffm:doc-repl-displayhook
Apr 28, 2022

Conversation

timhoffm
Copy link
Member

Still not clear to me: Does this have to be a public function? When
would a user call it explicitly?

@@ -153,7 +156,7 @@ def post_execute():

def uninstall_repl_displayhook():
"""
UninstalltheMatplotlibdisplay hook.
Disconnect fromthe display hook of the current shell.

.. warning::
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

While you are here, you can remove this warning entirely, I think: this system does not actually interact with sys.displayhook ever since#4506.

Copy link
MemberAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

done.

Still not clear to me: Does this have to be a public function? Whenwould a user call it explicitly?
@anntzer
Copy link
Contributor

I think it's worth letting@tacaswell have a look before merging, as he's probably the most knowledgeable on this topic.

@tacaswell
Copy link
Member

It is fun that we have bothdisplayhook andinputhook 👍🏻

@tacaswelltacaswell merged commite779b97 intomatplotlib:mainApr 28, 2022
@timhoffmtimhoffm deleted the doc-repl-displayhook branchApril 28, 2022 05:16
@oscargusoscargus added this to thev3.6.0 milestoneAug 1, 2022
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@anntzeranntzeranntzer approved these changes

Assignees
No one assigned
Projects
None yet
Milestone
v3.6.0
Development

Successfully merging this pull request may close these issues.

4 participants
@timhoffm@anntzer@tacaswell@oscargus

[8]ページ先頭

©2009-2025 Movatter.jp