[sage-support] Re: plot returns an error when given a callable class

2013-12-18 Thread P Purkayastha
For now, perhaps the workaround is to use plot(lambda x: h(x)).show(xmin=0, xmax=1) Note that xmin, xmax work properly only with show when xmax < xmin. ymin, ymax work with both plot() and show() and is used to "zoom in" on the rendered graph. This is ticket http://trac.sagemath.org/ticket/13

[sage-support] Re: plot returns an error when given a callable class

2013-12-18 Thread Alden
Given what the patch is supposed to do, it seems like it should fix it. However, when I try to install the patch, I get the error "abort: failed to synchronize metadata for "sage/plot/plot.py". Anyway, not a huge deal, so I guess I should just wait until the patch is integrated in sage 6.1. O

[sage-support] Re: plot returns an error when given a callable class

2013-12-17 Thread P Purkayastha
Does the patch here help: http://trac.sagemath.org/ticket/15030 ? On 12/18/2013 06:48 AM, Alden wrote: I wrote a class with a __call__ method, and I want to plot an instance of it using plot() in the sage notebook. I run the commands: import circle_homeo import cyclic_order h = circle_homeo.PS