#18471: Pictures in documentation: graphics_array
---------------------------------+-----------------------------
       Reporter:  jmantysalo     |        Owner:
           Type:  enhancement    |       Status:  new
       Priority:  minor          |    Milestone:  sage-wishlist
      Component:  documentation  |   Resolution:
       Keywords:                 |    Merged in:
        Authors:                 |    Reviewers:
Report Upstream:  N/A            |  Work issues:
         Branch:                 |       Commit:
   Dependencies:                 |     Stopgaps:
---------------------------------+-----------------------------

Old description:

> `PLOT` part of docstrings has two problems.
>
> First is just `\n`:
>
> {{{
> g=text("Hello\nworld!")
> sphinx_plot(g)
> }}}
>
> gives an error. Another is `graphics_array`. One just can not say for
> example
>
> {{{
> P=Poset(...)
> g1=P.plot()
> g2=P.ordinal_product(P).plot
> g=graphics_array([g1, g2])
> sphinx_plot(g)
> }}}
>
> as `graphics_array` has no `.plot()` function. Maybe there is something
> that can be done for these.

New description:

 `PLOT` part of docstrings has a problem. One just can not say for example

 {{{
 P=Poset(...)
 g1=P.plot()
 g2=P.ordinal_product(P).plot
 g=graphics_array([g1, g2])
 sphinx_plot(g)
 }}}

 as `graphics_array` has no `.plot()` function. Maybe there is something
 that can be done for these.

--

Comment (by jmantysalo):

 Replying to [comment:1 aapitzsch]:
 > A point `(x,y)` is missing in `text()`. It should be like
 `text("Hello\nworld!", (1,1))`

 Duh. Thanks. Corrected the question.

--
Ticket URL: <http://trac.sagemath.org/ticket/18471#comment:2>
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