This repository has been archived by the owner on Jan 30, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Trac #21840: Options dismissed when saving a Graphics3d object to a P…
…NG file When saving a 3D object to a PNG file, the options passed to `save` are not taken into account: {{{ sage: g = sphere() sage: g.save("sphere.png", aspect_ratio=[1, 1, 0.5], viewer='tachyon') }}} None of the above options is effective: the output file is generated with Jmol (instead of Tachyon), with an aspect ratio of [1,1,1]. Actually, the options are not passed to `save_image` (which is invoked by `save`): {{{ sage: g.save_image("sphere.png", aspect_ratio=[1, 1, 0.5], viewer='tachyon') }}} produces the expected result. This ticket corrects this and updates the documentation of `Graphics3d.save` URL: https://trac.sagemath.org/21840 Reported by: egourgoulhon Ticket author(s): Eric Gourgoulhon Reviewer(s): Travis Scrimshaw
- Loading branch information