question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Kernel restart when creating plots with Matplotlib

See original GitHub issue

Issue Report Checklist

  • Searched the issues page for similar reports
  • Read the relevant sections of the Spyder Troubleshooting Guide and followed its advice
  • Reproduced the issue after updating with conda update spyder (or pip, if not using Anaconda)
  • Could not reproduce inside jupyter qtconsole (if console-related)
  • Tried basic troubleshooting (if a bug/error)
    • Restarted Spyder
    • Reset preferences with spyder --reset
    • Reinstalled the latest version of Anaconda
    • Tried the other applicable steps from the Troubleshooting Guide
  • Completed the Problem Description, Steps to Reproduce and Version sections below

Problem Description

What steps reproduce the problem?

What is the expected output? What do you see instead?

Paste Traceback/Error Below (if applicable)


PASTE TRACEBACK HERE

Versions

  • Spyder version:
  • Python version:
  • Qt version:
  • PyQt version:
  • Operating System name/version:

Dependencies

PASTE DEPENDENCIES HERE

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:25 (8 by maintainers)

github_iconTop GitHub Comments

22reactions
Eheran1commented, Nov 1, 2021

freetype downgrade from 2.11.0 to 2.10.4 solved the issue. To do this: conda install freetype=2.10.4

4reactions
Hawxxercommented, Oct 31, 2021

Same behaviour for jupyterlab, freetype 2.10.4 works, 2.11.0 not. Don’t know how to test ipython directly

Read more comments on GitHub >

github_iconTop Results From Across the Web

Kernel restart when setting x_lim matplotlib - Stack Overflow
I am drawing a scatter plot using Matplotlib on IPython notebook. When I limit my x axis from 0 to 6e7 I get...
Read more >
The kernel appears to have died. It will restart automatically ...
The kernel appears to have died. It will restart automatically. [ MATPLOTLIB ]. 23K views 1 year ago.
Read more >
Kernel Dying in Jupyter Notebook with Matplotlib - Reddit
"The kernel appears to have died. It will restart automatically." While the stackoverflow thread has a different problem, I suspect that mine ...
Read more >
Interactive figures — Matplotlib 3.6.2 documentation
The pyplot module provides functions for explicitly creating figures that include ... Return whether plots are updated after every plotting command.
Read more >
After conda update, python kernel crashes when matplotlib is ...
env conda create -n test python=3.8.5 pandas scipy numpy matplotlib seaborn ... but after the updates, plotting with matplotlib crashes the python kernel....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found