GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Do not trigger backend auto-resolution by shaperilio · Pull Request #26 · ipython/matplotlib-inline

Conversation

@shaperilio

@shaperilio shaperilio commented May 30, 2023

Copy link
Copy Markdown

Current matplotlib will selected a backend if none is already selected when calling get_backend. It should not be used if you just want to know what the backend is.

See #25.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@shaperilio
Do not trigger backend auto-resolution
0643a84
@shaperilio shaperilio mentioned this pull request May 30, 2023
Installed qt5 event loop hook. ipython/ipython#14006
Open
ccordoba12
ccordoba12 reviewed May 30, 2023
View reviewed changes
Comment thread matplotlib_inline/backend_inline.py
def _enable_matplotlib_integration():
"""Enable extra IPython matplotlib integration when we are loaded as the matplotlib backend."""
from matplotlib import get_backend
from matplotlib import _get_backend_or_none

@ccordoba12 ccordoba12 May 30, 2023

Copy link
Copy Markdown
Member

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.

The problem I see with this approach is that you're using a private function for it. So, if Matplotlib API changes in the future, this would break.

Pinging @tacaswell about it to see what he thinks.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@minrk

minrk commented Mar 3, 2025

Copy link
Copy Markdown
Member

fixed by #38

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@minrk minrk closed this Mar 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

1 more reviewer
@ccordoba12 ccordoba12 ccordoba12 left review comments
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@shaperilio @minrk @ccordoba12
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.