#13891: Default parameters for Graph.plot() and Graph.show()
---------------------------------+------------------------------------------
       Reporter:  ncohen         |         Owner:  jason, ncohen, rlm           
         
           Type:  enhancement    |        Status:  needs_review                 
         
       Priority:  major          |     Milestone:  sage-5.7                     
         
      Component:  graph theory   |    Resolution:                               
         
       Keywords:                 |   Work issues:                               
         
Report Upstream:  N/A            |     Reviewers:  Punarbasu Purkayastha, 
Sébastien Labbé
        Authors:  Nathann Cohen  |     Merged in:                               
         
   Dependencies:  #13862         |      Stopgaps:                               
         
---------------------------------+------------------------------------------

Old description:

> Some cleaning there, and some doc, ... and a way for me to define a
> default size for Graph plots, even if I am not allowed to hardcode it in
> Sage because of the notebook.
>
> Here are the new lines in my init.sage file :
>
> {{{
> import sage.graphs.graph_plot
> sage.graphs.graph_plot.default_show_options['figsize'] = 15
> }}}
>
> Hell Yeahhhhhhhhhhhhhhhhhhh !! `:-P`
>
> Nathann
>
> ----
> Apply to devel/sage
> 1. [attachment:trac_13891.patch]
> 2. [attachment:trac_13891-second_pass.patch]
> 3. [attachment:trac_13891-third_pass.patch]

New description:

 Some cleaning there, and some doc, ... and a way for me to define a
 default size for Graph plots, even if I am not allowed to hardcode it in
 Sage because of the notebook.

 Here are the new lines in my init.sage file :

 {{{
 import sage.graphs.graph_plot
 sage.graphs.graph_plot.default_show_options['figsize'] = 15
 }}}

 Hell Yeahhhhhhhhhhhhhhhhhhh !! `:-P`

 Nathann

 ----
 Apply to devel/sage
 1. [attachment:trac_13891-all_in_one.patch]

--

Comment (by ppurka):

 Patchbot apply trac_13891-all_in_one.patch

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13891#comment:44>
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to