I have uploaded a patch to the trac, ticket 13732, which fixes this for all
the plot commands that seem to accept alpha. (To find them, I performed a grep
alpha sage/plot/*py and looked at those files.) The doctests in sage/plot
pass for me, though I had to make some changes to older doctests
With this change, I can sage PDF with alpha, and it probably fixes a lot
of other thing
Huh. See http://trac.sagemath.org/sage_trac/ticket/14074 for an example
where alpha works fine with saving as a pdf. Of course, you could always
put the alpha to float(.5) or something...
s, as
On Monday, November 26, 2012 2:07:34 PM UTC, john_perry_usm wrote:
Is it a good idea to patch the matplotlib package with a test of whether
an object is a sage object?
Definitely not!
If possible, matplotlib should rely on duck-typing:
try:
alpha = float(obj)
except ValueError:
Hello
Finally got round to it.
On Thursday, November 15, 2012 11:44:36 AM UTC-6, Volker Braun wrote:
I think I saw that before. Maybe converting coordinates to RDF works?
Please open a ticket if you can isolate a test case.
RDF doesn't work, either. float does.
I'm trying to write up a
Jason
On Thursday, November 15, 2012 12:01:02 PM UTC-6, Jason Grout wrote:
Can you get a small test case for us to play with?
sage: p = disk((0,0),5,(0,pi/4),color='red')
sage: p += disk((0,0),5,(pi/4,pi/2),color='red',alpha=0.5)
sage: p.save(test.pdf)
This fails for me. If I change the
Okay, does anyone know how I change files in the library in such a way that
mercurial actually notices?
I can modify the matplotlib backend for PDF's so that this works, but those
files don't show up in the source directory, so hg doesn't pick up on the
changes. How do I supply a patch for
On 2012-11-20, john_perry_usm john.pe...@usm.edu wrote:
--=_Part_212_31060160.1353448773382
Content-Type: text/plain; charset=ISO-8859-1
Okay, does anyone know how I change files in the library in such a way that
mercurial actually notices?
I can modify the matplotlib backend for PDF's
On 11/20/12 8:59 PM, Dima Pasechnik wrote:
On 2012-11-20, john_perry_usm john.pe...@usm.edu wrote:
--=_Part_212_31060160.1353448773382
Content-Type: text/plain; charset=ISO-8859-1
Okay, does anyone know how I change files in the library in such a way that
mercurial actually notices?
I can
I think I saw that before. Maybe converting coordinates to RDF works?
Please open a ticket if you can isolate a test case.
On Thursday, November 15, 2012 12:12:07 PM UTC-5, john_perry_usm wrote:
Hello
I have created a nice graphic with some alpha. I try to save it. As a Sage
object, I
I will try that, thanks. I'll also open a ticket in coming days.
john
--
You received this message because you are subscribed to the Google Groups
sage-support group.
To post to this group, send email to sage-support@googlegroups.com.
To unsubscribe from this group, send email to
10 matches
Mail list logo