I have create this simple env with conda
:
conda create -n test python=3.8.5 pandas scipy numpy matplotlib seaborn jupyterlab
The following code in jupyter lab
crashes the kernel :
import matplotlib.pyplot as plt
plt.subplot()
I don't face the problem on Linux
. The problem is when I try on Windows 10
.
There are no errors on the jupyter lab
console (where I started the server), and I have no idea where to investigate.
I had the same issue and after a fair amount of investigation and troubleshooting, the fix was pretty straight forward:
conda update -c anaconda numpy
conda upgrade -c conda-forge matplotlib
After that it ran fine and my visuals plotted without issue.