From: tornaria <tornaria@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Closed]: New package: threejs-sage-r122
Date: Wed, 06 Apr 2022 15:00:32 +0200 [thread overview]
Message-ID: <20220406130032.8jNSRXUcVFfLOiJU4vih6LGQW0qaP00481qINrqpac0@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-36504@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 1510 bytes --]
There's a closed pull request on the void-packages repository
New package: threejs-sage-r122
https://github.com/void-linux/void-packages/pull/36504
Description:
#### Testing the changes
- I tested the changes in this PR: **YES**
This package was missing before, it is necessary for sagemath to show 3D plots.
Example:
```
sage: cube()
Launched html viewer for Graphics3d Object
```
should launch a browser with a 3d image of a cube that you can interact with (move, rotate, zoom).
Currently it shows a white page.
NOTE: this will require a configuration update to sagemath which I'll do soon as part of #36420. For the time being you can configure the location of threejs using an environment variable (after manually installing `threejs-sage`):
```
$ THREEJS_DIR=/usr/share/sagemath/threejs-sage sage
┌────────────────────────────────────────────────────────────────────┐
│ SageMath version 9.5, Release Date: 2022-01-30 │
│ Using Python 3.10.4. Type "help()" for help. │
└────────────────────────────────────────────────────────────────────┘
sage: cube()
Launched html viewer for Graphics3d Object
```
This also works for me in jupyter notebook.
prev parent reply other threads:[~2022-04-06 13:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-03 15:17 [PR PATCH] " tornaria
2022-04-06 13:00 ` tornaria
2022-04-06 13:00 ` tornaria [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220406130032.8jNSRXUcVFfLOiJU4vih6LGQW0qaP00481qINrqpac0@z \
--to=tornaria@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).