Hi all,

A student of mine noticed the following and it looks like a bug to me
(at least with the documentation).

>From the notebook with 3.1.2 (sage prompts added for readability):

sage: plot?

File:        
/home/jason/sage/local/lib/python2.5/site-packages/sage/plot/plot.py
Type:        <type 'function'>
Definition:  plot(funcs, *args, **kwds)
Docstring: 

    Use plot by writing 
    
        plot(X, ...)
        
    where X is a SAGE object (or list of SAGE objects) that either is
    callable and returns numbers that can be coerced to floats, or has
    a plot method that returns a GraphicPrimitive object.
    
    Type plot.options for a dictionary of the default
    options for plots.  You can change this to change
    the defaults for all future plots.  Use plot.reset()
    to reset to the default options.

<SNIP>

sage: plot.options

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/jason/.sage/sage_notebook/worksheets/admin/32/code/44.py", line 
6, in <module>
    plot.options
  File 
"/home/jason/sage/local/lib/python2.5/site-packages/zope.interface-3.3.0-py2.5-linux-i686.egg/",
 line 1, in <module>
    
AttributeError: 'function' object has no attribute 'options'


sage: plot.reset() 

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/jason/.sage/sage_notebook/worksheets/admin/32/code/46.py", line 
6, in <module>
    plot.reset()
  File 
"/home/jason/sage/local/lib/python2.5/site-packages/zope.interface-3.3.0-py2.5-linux-i686.egg/",
 line 1, in <module>
    
AttributeError: 'function' object has no attribute 'reset'


Cheers,
Jason


--~--~---------~--~----~------------~-------~--~----~
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://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to