Yes, that's the problem, I didn't think of that... I often noticed that sagenb and jupyter notebook have still differences. Is there a way to get it in jupyter. The presentation in sagenb is really excellent in table.

Thanks

Henri


Le 27/03/2018 à 14:19, David Joyner a écrit :
On Tue, Mar 27, 2018 at 3:54 AM, HG <henri.gir...@gmail.com> wrote:
Hi,
I am trying this example : Gráfok - 01 -- Sage
But it's working on his pdf but not in my notebook (sage-8.1)
I guess it's an old function which is not working anymore ?
http://doc.sagemath.org/html/en/reference/graphs/sage/graphs/graph_database.html

G = GraphDatabase()
S = GraphQuery(G, display_cols=['graph6','aut_grp_size'],
num_vertices=4)
S.show(with_picture=True)
Any help to get it working ?
Using the CLI of Sage, I get this:

sage: G = GraphDatabase()
....: S = GraphQuery(G, display_cols=['graph6','aut_grp_size'],num_vertices=4)
....:

sage: S.show()

Graph6               Aut Grp Size
----------------------------------------
C?                   24
C@                   4
CB                   2
CF                   6
CJ                   6
CK                   8
CL                   2
CN                   2
C]                   8
C^                   4
C~                   24

sage: S.show?

Signature:      S.show(max_field_size=20, with_picture=False)
Docstring:
    Displays the results of a query in table format.

    INPUT:
    * "max_field_size" - width of fields in command prompt version
    * "with_picture" - whether or not to display results with a
      picture of the graph (available only in the notebook)





Were you using the notebook?




Regards
Henri

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

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

Reply via email to