Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow setting alpha (transparency/opacity) for contour_plot #9491

Open
jasongrout opened this issue Jul 13, 2010 · 7 comments
Open

Allow setting alpha (transparency/opacity) for contour_plot #9491

jasongrout opened this issue Jul 13, 2010 · 7 comments

Comments

@jasongrout
Copy link
Member

The object of this ticket is to allow an optional argument "alpha"
to set the transparency / opacity for contour_plot, like it exists for
other types of plots.

An initial patch enables an 'opacity' argument to the contour_plot function.
It should be renamed 'alpha' for consistency with its name elsewhere.

Doctests need to be added, and a few examples need to be written.

Related tickets and discussions:

CC: @slel

Component: graphics

Keywords: alpha, transparency, opacity, plot, contour_plot

Author: Jason Grout

Issue created by migration from https://trac.sagemath.org/ticket/9491

@jasongrout
Copy link
Member Author

Attachment: trac-9491-contour-alpha.patch.gz

@jasongrout
Copy link
Member Author

comment:1

This patch was done in a rush, so there may be bugs in it.

@jasongrout
Copy link
Member Author

comment:2

Comments from David Sanders on sage-support:

Firstly, with this code it seems not to be possible to make a
region_plot without specifying opacity -- it looks like a default
argument is missing somewhere.

@jasongrout
Copy link
Member Author

comment:3

Replying to @jasongrout:

Comments from David Sanders on sage-support:

Firstly, with this code it seems not to be possible to make a
region_plot without specifying opacity -- it looks like a default
argument is missing somewhere.

I think that is correct.

@jdemeyer jdemeyer modified the milestones: sage-5.11, sage-5.12 Aug 13, 2013
@sagetrac-vbraun-spam sagetrac-vbraun-spam mannequin modified the milestones: sage-6.1, sage-6.2 Jan 30, 2014
@sagetrac-vbraun-spam sagetrac-vbraun-spam mannequin modified the milestones: sage-6.2, sage-6.3 May 6, 2014
@sagetrac-vbraun-spam sagetrac-vbraun-spam mannequin modified the milestones: sage-6.3, sage-6.4 Aug 10, 2014
@slel

This comment has been minimized.

@slel slel changed the title contour plot does not handle transparency Allow setting alpha (transparency/opacity) for contour_plot Mar 16, 2018
@slel slel modified the milestones: sage-6.4, sage-8.2 Mar 16, 2018
@slel
Copy link
Member

slel commented Mar 16, 2018

Changed keywords from none to alpha, transparency, opacity, plot, contour_plot

@slel

This comment has been minimized.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants