Thanks all for the comments. In the end I choose this temporary fix
plot3d(sin(pi
* sqrt(x**2 + y**2)) / sqrt(x**2 + y**2), (x, -5, 5), (y, -5, 5),
viewer='threejs', online=True). I prefer to stick to jupyterlab hub and
using conda to manage it so I didn’t try symlink those from sage in the
Mon 2018-11-19 05:50:09 UTC+1, Antonio Rojas:
>
> The three.js version shipped by Arch is too new and not
> supported by Sage. Either use jsmol (which is still the default),
> or use the online version of three.js (viewer='threejs', online=True)
> (with sagemath 8.4-4, in previous versions the
El domingo, 18 de noviembre de 2018, 4:24:58 (UTC+1), Kolen Cheung escribió:
>
> Currently it's like this: on an ArchLinux machine, install sage through
> pacman, and install the sagemath kernel to my jupyterlab hub. And then
> through the jupyterlab-hub I remote it and use the sagemath kernel
If I am not wrong it works from a terminal and also if one uses either sage
-m jupyter or sage -n jupyterlab.
It is possible to use it directly from jupyter or jupyter lab if the
sagemath kernel is availabe to jupyter, e.g. at
/usr/local/share/jupyter/kernels or .local/share/jupyter/kernels,
If I am not wrong it works from a terminal and also if one uses either sage
-m jupyter or sage -n jupyterlab.
It is possible to use it directly from jupyter or jupyter lab if the
sagemath kernel is availabe to jupyter, e.g. at
/usr/local/share/jupyter/kernels or .local/share/jupyter/kernels,
I tried to install threejs by jupyter labextension install jupyter-threejs
but it still doesn’t work. I tried on both jupyter and jupyterlab. I didn’t
tried symlinking the directories you mentioned though, because I don’t want
to mess up the virtual environments created by conda (my
It depends a little bit on how you install the sage kernel into your
jupyter notebook server, but chances are you have to do some extra work to
install some notebook extensions.
In the sage install, in "/local/share" there are 3 subdirs
"jsmol, "mathjax", "threejs". These need to be findable
sage: y = var('y')
sage: plot3d(x * y, (x, -1, 1), (y, -1, 1), viewer='threejs')
Launched html viewer for Graphics3d Object
I didn’t see anything since I’m remote ssh. I tried both ssh -X and ssh -Y
but they doesn’t work.
I don’t have a local machine that has a working sage yet. So can’t test
I have the command line tool. I use `brew cask install sage` and it finishes
download without proceeding. It is possible the formula in caskroom need to be
updated though.
But the problem is that I can't get it work even on the Linux installation
where everything else' fine so far, except
On Saturday, November 17, 2018 at 7:24:58 PM UTC-8, Kolen Cheung wrote:
>
> I couldn't install sage on macOS Mojave, I'm guessing it isn't compatible
> with Mojave yet.
>
My message said that I had installed it on OS X 10.14.1, which is Mojave.
You need to have Xcode installed with the
I couldn't install sage on macOS Mojave, I'm guessing it isn't compatible
with Mojave yet.
Currently it's like this: on an ArchLinux machine, install sage through
pacman, and install the sagemath kernel to my jupyterlab hub. And then
through the jupyterlab-hub I remote it and use the sagemath
This is on OS X? How did you install Sage? (It works for me with Sage built
from scratch on both OS X 10.13.6 and OS X 10.14.1.)
John
On Saturday, November 17, 2018 at 5:32:34 PM UTC-8, Kolen Cheung wrote:
>
> I tried both
>
> plot3d(sin(pi * sqrt(x**2 + y**2)) / sqrt(x**2 + y**2), (x, -5,
I tried both
plot3d(sin(pi * sqrt(x**2 + y**2)) / sqrt(x**2 + y**2), (x, -5, 5), (y, -5, 5),
viewer='threejs')
...
p1 = sphere(color='red', opacity='.5')
p2 = sphere((-1,-1,1), color='cyan', opacity='.3')
p3 = sphere((1,-1,-1), color='yellow', opacity='.7')
show(p1 + p2 + p3, viewer='threejs')
On Sat, Nov 17, 2018 at 11:34 PM Kolen Cheung wrote:
>
> Hi,
>
> I'm running SageMath 8.4 kernel in jupyterlab and also jupyter notebook. But
> running `plot3d(x * y, (x, -1, 1), (y, -1, 1))` gives me a blank space. Is
> there a command I first need to run before it shows? I tried `%matplotlib
14 matches
Mail list logo