#4672: [with patch, needs review] plot functions do not work with ?? because 
they
are wrapped in @options
----------------------------+--------------------------
       Reporter:  jason     |        Owner:  mhansen
           Type:  defect    |       Status:  closed
       Priority:  major     |    Milestone:  sage-3.2.2
      Component:  graphics  |   Resolution:  fixed
       Keywords:            |    Merged in:
        Authors:            |    Reviewers:
Report Upstream:  N/A       |  Work issues:
         Branch:            |       Commit:
   Dependencies:            |     Stopgaps:
----------------------------+--------------------------
Changes (by chapoton):

 * upstream:   => N/A


Old description:

> {{{
> sage: bar_chart??
> Type:           function
> Base Class:     <type 'function'>
> String Form:    <function bar_chart at 0x88b4b1c>
> Namespace:      Interactive
> File:           /home/jason/sage/local/lib/python2.5/site-
> packages/sage/plot/misc.py
> Definition:     bar_chart(*args, **kwds)
> Source:
>         @wraps(func)
>         def wrapper(*args, **kwds):
>             options = copy(wrapper.options)
>             if self.original_opts:
>                 options['__original_opts'] = kwds
>             options.update(kwds)
>             return func(*args, **options)
> }}}

New description:

 {{{
 sage: bar_chart??
 Type:function
 Base Class:<type 'function'>
 String Form:<function bar_chart at 0x88b4b1c>
 Namespace:Interactive
 File:/home/jason/sage/local/lib/python2.5/site-packages/sage/plot/misc.py
 Definition:bar_chart(*args, **kwds)
 Source:
         @wraps(func)
         def wrapper(*args, **kwds):
             options = copy(wrapper.options)
             if self.original_opts:
                 options['__original_opts'] = kwds
             options.update(kwds)
             return func(*args, **options)
 }}}

--

--
Ticket URL: <http://trac.sagemath.org/ticket/4672#comment:8>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to