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

[Bug]: Using an ipython config ofInteractiveShellApp.matplotlib='inline' fails on macos formatplotlib>3.9.0 #28855

Open
@Simon-Stone

Description

@Simon-Stone

Bug summary

I am using a Jupyter notebook in VS Code Version: 1.93.1. on MacOS Ventura 13.4.1 and Python 3.12.5

Withmatplotlib<=3.9.0, I can plot visualizations inline within VS Code. The reported backend is by defaultinline and everything is fine.

Starting with version 3.9.1, the default backend apparently switched tomacosx. When I try to plot something now, a new Python window pops up, but no plot is created unless I addplt.show().

Is this the intended behavior? It breaks essentially all of my notebooks because I would have to go in and add%matplotlib inline to make things work again.

Code for reproduction

importmatplotlib.pyplotaspltimportmatplotlibprint(matplotlib.get_backend())plt.plot([0,1,2], [1,2,3])

Actual outcome

Withmatplotlib<=3.9.0:

image

Withmatplotlib>3.9.0:

image

Expected outcome

Default backend should beinline inmatplotlib>3.9.0.

Additional information

No response

Operating system

MacOS Ventura 13.4.1

Matplotlib Version

3.9.0, 3.9.1, 3.9.2

Matplotlib Backend

inline, macosx

Python version

3.12.5

Jupyter version

6.5.1

Installation

pip

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2025 Movatter.jp