Ask Your Question

luqiyi@gmail.com's profile - activity

2021-05-14 08:22:14 +0200 received badge  Popular Question (source)
2020-08-06 01:41:58 +0200 commented question plot3d displaying black graph in jupyter for both 9.0 and 9.1

Linux xxx4.15.0-112-generic #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

x, y, z = var('x,y,z') f = exp(-x2-y2) W = plot3d(f,(x,-2,2),(y,-2,2), frame=True, color='yellow', opacity=0.7, viewer='threejs') show(W, figsize=8)

same code worked on v8.1 fine.

2020-07-28 18:25:48 +0200 received badge  Student (source)
2020-07-28 18:20:58 +0200 asked a question plot3d from sage version 9 not working in jupyter

I installed sage 9.1, and also installed its kernel on jupyter. Everything else other than plot3d works fine. The behavior of 9.1 is same as 9.0, it shows a black background. If drag the mouse on it, it shows a empty frame on white background.

I tried all the options, with or without switch viewer="threejs".

2020-07-28 18:20:58 +0200 asked a question plot3d displaying black graph in jupyter for both 9.0 and 9.1

I installed sage 9.1, and also installed its kernel on Jupyter. Everything other than plot3d works fine.

For plot3d, the behavior of 9.1 is same as 9.0, it shows a black background. If drag the mouse on it, it shows an empty frame on white background.

For example:

sage: f = lambda x, y: exp(-x**2-y**2)
sage: W = plot3d(f, (-2, 2), (-2, 2))
sage: show(W, figsize=8)

I tried all the options, with or without switch viewer="threejs".