#14741: Fix implicit_plot() so that we can save PDF's
----------------------------+-----------------------------------------------
Reporter: zimmerma | Owner: jason, was
Type: defect | Status: new
Priority: major | Milestone: sage-5.11
Component: graphics | Resolution:
Keywords: | Work issues:
Report Upstream: N/A | Reviewers:
Authors: | Merged in:
Dependencies: | Stopgaps:
----------------------------+-----------------------------------------------
Comment (by john_perry):
I plan to work on this the next few days.
> The plot code should either just convert all floating-point arguments to
Python float, or perhaps fix matplotlib. In fact, I'm leaning toward the
latter as it seems to be a recurring problem just in the PDF backend.
Thoughts?
Yes, this is why well-designed languages feature strong typing. ;-)
Speaking seriously, it looks to me as if the most successful approach
would be to patch `matplotlib()`, beginning in line 2079 of
`sage/plot/graphics.py`, to make sure the arguments we sent it are
`float`s rather than `MPFR` data types.
Or is this the wrong idea?
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/14741#comment:3>
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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/groups/opt_out.