#8366: make contour plot labels and linestyles work when fill=True
---------------------------+------------------------------------------------
Reporter: jason | Owner: was
Type: enhancement | Status: needs_work
Priority: minor | Milestone: sage-4.3.4
Component: graphics | Keywords:
Author: Jason Grout | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
---------------------------+------------------------------------------------
Changes (by robert.marik):
* status: needs_review => needs_work
Comment:
Works as advertaised, but region_plot gives error after installing this
patch.
{{{
sage: x,y=var('x y')
sage: region_plot(cos(x^2+y^2) <= 0, (x, -3, 3), (y, -3, 3))
Traceback (click to the left of this block for traceback)
...
KeyError: 'linewidths'
}}}
did you try this?
{{{
./sage -t devel/sage/sage/plot/contour_plot.py
}}}
My patch fixes long lines (which make help for contour_plot too wide for
typical screen) and split contour_plot exmaples into groups (this allows
to try commands immediatelly when reading live reference manual).
One suggestion: could we set label_colors to something resonable (gray?
red? blue?) when both fill and labels are True, but label_color is not
specified?
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/8366#comment:2>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.