Description
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
With matplotlib<=3.9.0
, I can plot visualizations inline within VS Code. The reported backend is by default inline
and everything is fine.
Starting with version 3.9.1, the default backend apparently switched to macosx
. When I try to plot something now, a new Python window pops up, but no plot is created unless I add plt.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
import matplotlib.pyplot as plt
import matplotlib
print(matplotlib.get_backend())
plt.plot([0, 1, 2], [1, 2, 3])
Actual outcome
With matplotlib<=3.9.0
:

With matplotlib>3.9.0
:

Expected outcome
Default backend should be inline
in matplotlib>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