Changes between Initial Version and Version 6 of Ticket #25095


Ignore:
Timestamp:
04/04/18 15:49:23 (4 years ago)
Author:
yzh
Comment:

New commits:

6d6a251make keyword alpha equivalent to opacity

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #25095

    • Property Status changed from new to needs_review
    • Property Authors changed from to Yuan Zhou
    • Property Cc mkoeppe slelievre added
    • Property Summary changed from polygon3d ignores the "opacity" argument to polygon3d ignores the "alpha" (and equivalent "opacity") argument
    • Property Branch changed from to u/yzh/polygon3d_ignores_the__opacity__argument
    • Property Keywords alpha opacity transparency 3d added
    • Property Commit changed from to 6d6a2511a09e63ba33de177fa4ea1826db114dc3
  • Ticket #25095 – Description

    initial v6  
    1 The methods `sage.plot.plot3d.shapes2.polygon3d` and `sage.plot.plot3d.shapes2.polygons3d` have the keyword argument "opacity". However it is not passed to the plot function. For example,
     1The methods `sage.plot.plot3d.shapes2.polygon3d` and `sage.plot.plot3d.shapes2.polygons3d` have the keyword argument "alpha" (as well as the equivalent, outdated "opacity" argument). However it is not passed to the plot function. For example,
     2{{{
     3polygon3d([[1, 2, 3], [0,1,0], [1,0,1], [3,0,0]], color=(0,1,0), alpha=0.5)
     4}}}
     5or
    26{{{
    37polygon3d([[1, 2, 3], [0,1,0], [1,0,1], [3,0,0]], color=(0,1,0), opacity=0.5)
    48}}}
    59is treated as opacity=1.
     10
     11Related tickets:
     12#21984  Update: The argument  "alpha" is equivalent to "opacity" in `point3d`, `line3d`, `sphere`, `polygon3d`, polygons3d`, `bezier3d`, `parametric_plot3d`, revolution_plot3d`.
     13#260, #9491, #15729, #21984, #23104.