Re: [sage-devel] Re: prime_pi plotting preposterousness

2012-07-18 Thread Dan Drake
On Wed, 18 Jul 2012 at 08:57AM -0500, Jason Grout wrote: > Gee, it'd be nice if there was a way to provide plugins for the plot > command. I could see, for example, prime_pi providing a "sample" > plugin that would provide a custom sampling routine, but otherwise > using the standard plotting func

Re: [sage-devel] Re: prime_pi plotting preposterousness

2012-07-18 Thread kcrisman
On Wednesday, July 18, 2012 9:41:40 AM UTC-4, Dan Drake wrote: > > On Wed, 18 Jul 2012 at 01:00AM -0500, Jason Grout wrote: > > IIRC, if A.plot exists, then plot(A, ...) will call A.plot(...). I > > think plot(prime_pi, ...) *is* using the custom plotting method > > always. The problem is tha

Re: [sage-devel] Re: prime_pi plotting preposterousness

2012-07-18 Thread Dan Drake
On Wed, 18 Jul 2012 at 01:00AM -0500, Jason Grout wrote: > IIRC, if A.plot exists, then plot(A, ...) will call A.plot(...). I > think plot(prime_pi, ...) *is* using the custom plotting method > always. The problem is that the prime_pi.plot method is very > limited, and doesn't recognize prime_pi.p