There was an error while loading. Please reload this page.
1 parent 394d7ea commit 4ea04b4Copy full SHA for 4ea04b4
1 file changed
matplotlib_inline/backend_inline.py
@@ -212,8 +212,11 @@ def _enable_matplotlib_integration():
212
213
import matplotlib
214
215
- if matplotlib.__version_info__ >= (3, 10):
+ version = matplotlib.__version_info__
216
+ if version >= (3, 10):
217
backend = matplotlib.get_backend(auto_select=False)
218
+ elif version >= (3, 5):
219
+ backend = matplotlib.get_backend()
220
else:
221
backend = matplotlib.rcParams._get("backend")
222
0 commit comments