Opened 15 years ago

Closed 15 years ago

#1856 closed defect (fixed)

[with patch; positive review] 3d graphics -- bug in setting options via the show command

Reported by: William Stein Owned by: William Stein
Priority: major Milestone: sage-2.10.1
Component: graphics Keywords:
Cc: Merged in:
Authors: Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges

Description

Try this:

sage: sphere((0,0,0), figsize=2).show(viewer='tachyon', figsize=10)

A tiny picture of a sphere appears. It should be that the second figsize overwrites the first.

Attachments (2)

trac-1856.patch (5.1 KB) - added by William Stein 15 years ago.
1856.patch (5.4 KB) - added by Mike Hansen 15 years ago.

Download all attachments as: .zip

Change History (6)

comment:1 Changed 15 years ago by William Stein

Status: newassigned

Changed 15 years ago by William Stein

Attachment: trac-1856.patch added

comment:2 Changed 15 years ago by William Stein

Summary: 3d graphics -- bug in setting options via the show command[with patch; needs review] 3d graphics -- bug in setting options via the show command

This fixes the problem mentioned above in a simple clean way, adds the ability to globally override the defaults, and adds an unrelated doctest.

Changed 15 years ago by Mike Hansen

Attachment: 1856.patch added

comment:3 Changed 15 years ago by Mike Hansen

Summary: [with patch; needs review] 3d graphics -- bug in setting options via the show command[with patch; positive review] 3d graphics -- bug in setting options via the show command

The patch I posted applies (after #1854) and passes tests.

comment:4 Changed 15 years ago by Michael Abshoff

Resolution: fixed
Status: assignedclosed

Merged trac-1856.patch in Sage 2.10.1.alpha. mhansen's patch gave rejects.

Note: See TracTickets for help on using tickets.