HTML Viewer for Graphics3d Object does not display

asked 2023-08-26 09:45:17 +0200

WB6YOK gravatar image

updated 2023-08-27 17:40:13 +0200

slelievre gravatar image

Just installed SageMath from source.

Environment is

Distributor ID: Ubuntu
Description:    Ubuntu 23.04
Release:        23.04
Codename:       lunar

running under Windows Linux System.

sage: x, y = var('x,y')
sage: plot3d(x^2 + y^2, (x,-2,2), (y,-2,2))
Launched html viewer for Graphics3d Object

does not show any type of a three-dimensional plot. Two-dimensional plots work.


Chuck... WB6YOK

edit retag flag offensive close merge delete


This could be due to the snap version of Firefox shipped with Ubuntu 23.04, which forbids to read the temporary files generated by the threejs viewer. On my computer (Ubuntu 22.04), I had no other solution but reinstalling Firefox as a deb package, following these instructions. Then, SageMath 3D display was OK.

eric_g gravatar imageeric_g ( 2023-08-26 15:46:46 +0200 )edit

This might be the same problem as reported in

See if the answers there help.

slelievre gravatar imageslelievre ( 2023-08-27 17:47:41 +0200 )edit