I also hit this bug while doing this (taken from the "piecewise"
documentation):

f1 = lambda x:-1
f2 = lambda x:2
f = Piecewise([[(0,pi/2),f1],[(pi/2,pi),f2]])
P = f.plot_fourier_series_partial_sum(15,pi,-5,5)   # long time

Best,
--
 Hector


On Jan 7, 4:33 pm, "David Joyner" <[EMAIL PROTECTED]> wrote:
> Done:http://sagetrac.org/sage_trac/ticket/1718
>
> On Jan 7, 2008 5:07 PM, William Stein <[EMAIL PROTECTED]> wrote:
>
>
>
> > On Jan 7, 2008 1:08 PM, David Joyner <[EMAIL PROTECTED]> wrote:
>
> > > Hi:
>
> > > sage: parametric_plot([t, t + RR(pi)], -2, 2, rgbcolor=(1,0,0))
>
> > > works but not this:
>
> > > sage: parametric_plot([t, t + pi], -2, 2, rgbcolor=(1,0,0))
> > > ---------------------------------------------------------------------------
> > > <type 'exceptions.AttributeError'>        Traceback (most recent call 
> > > last)
>
> > > ....
>
> > > <type 'exceptions.AttributeError'>: 'Pi' object has no attribute
> > > 'number_of_arguments'
> > > Is this a bug? If so, should I create a trac ticket?
>
> > YES!!
>
> > William
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/
-~----------~----~----~----~------~----~------~--~---

Reply via email to