[SciPy-dev] Re: plot_func

Alan G Isaac aisaac at american.edu
Tue Aug 3 11:29:40 CDT 2004


On Sun, 1 Aug 2004 Alan G Isaac apparently wrote:
> I noticed that pyPlot.py has:
>     def plot_func(self,func):
>         self._init_plot()
>         if(type(func) == StringType):
>             self._send('plot '+ func)
>         else:
>             print 'error: requires a function as a string'
> but gplt.plot_func is not available.




OK, I've confirmed that if I make an instance of
scipy.gplt.pyPlot.Plot
then the plot_func method works fine for this instance.

I don't know enough about Python to guess why gplt is
not giving us access to this.  Can anyone help?

Thank you,
Alan Isaac






More information about the Scipy-dev mailing list