Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I found a partial, but unsatisfactory, answer.

I tried the following

p = plot3d(x^2 + y^2, (x,-2,2), (y,-2,2)) p.show()

It still launched Safari, which displayed a blank screen.

But then I clicked the i with a circle in it on the lower right, selected "save as HTML" and then opened that HTML file using the Google Chrome browser. In that case, the surface was displayed.

But I would much prefer being able to view the surface using my default browser, which is Safari.

So is there some setting in Safari that I need to change?

I found a partial, but unsatisfactory, answer.

I tried the following

p = plot3d(x^2 + y^2, (x,-2,2), (y,-2,2)) p.show()

It still launched Safari, which displayed a blank screen.

But then I clicked the i with a circle in it on the lower right, selected "save as HTML" and then opened that HTML file using the Google Chrome browser. In that case, the surface was displayed.

But I would much prefer being able to view the surface using my default browser, which is Safari.

So is there some setting in Safari that I need to change?

Also, if I invoke sage --notebook then the results of plot3d will be displayed using Safari, but not when I invoke sage (without the --notebook).