Jupyter notebook: plot() fails to produce graph

asked 2021-03-02 05:44:48 +0200

bobmccrory gravatar image

Just installed Sage on my Windows 10 machine. When I try to run plot(sin, (0.0, 10.0)), or any other plot, I only get the error message: "The kernel appears to have died. It will restart automatically." What can I do?

Thanks for your help.

Bob

edit retag flag offensive close merge delete

Comments

Hy Bob

which version of SageMath ?. Is there any other information in the server terminal window ?

ortollj gravatar imageortollj ( 2021-03-03 07:44:06 +0200 )edit

Did you try in SageMath console ?.

Something strange for me, in SageMath 9.2 console after plot(sin, (0.0, 10.0)) ,the W10 ask me which viewer I choose, I don't choose one and close the W10 window with differents choices. then I re-run plot(sin, (0.0, 10.0)), and I see the plot in Photos W10 utility . on the other hand, plot3d is ok when I run the code below:

f = lambda x, y: exp(-x**2-y**2)
W = plot3d(f, (-2, 2), (-2, 2))
show(W, figsize=8)
ortollj gravatar imageortollj ( 2021-03-03 10:36:17 +0200 )edit

@bobmccrory -- To help debug, please launch "SageMath Shell", type cat cpuinfo, hit Enter, and paste the output here.

slelievre gravatar imageslelievre ( 2021-03-04 19:12:31 +0200 )edit