#18289: Make graph display configurable
-------------------------------------+-------------------------------------
       Reporter:  vbraun             |        Owner:
           Type:  defect             |       Status:  needs_review
       Priority:  major              |    Milestone:  sage-6.7
      Component:  graph theory       |   Resolution:
       Keywords:                     |    Merged in:
        Authors:  Volker Braun       |    Reviewers:  Nathann Cohen
Report Upstream:  N/A                |  Work issues:
         Branch:                     |       Commit:
  u/vbraun/graph_preference          |  4e6fd6bf921744ee94eef610ab3069b55e0d7e41
   Dependencies:                     |     Stopgaps:
-------------------------------------+-------------------------------------

Comment (by vbraun):

 Replying to [comment:103 ncohen]:
 > Should the name of the parameter capture it? Right now it can be set to
 'always'. It is the value that `plot_graphs` takes that should carry the
 meaning of "if it is small".

 Preferences have a default behavior. In this case the default is to let
 the object decide, which is useful for most user interfaces. The
 commandline is a special case in that it is a non-graphical UI.

 > What about renaming the parameter to `graphical_rich_repr`

 No ;-) For starters, that sounds like it would apply to plots.

 I think the case where you want to display plain text + graphics is
 precisely where you don't want the graphics if it cannot be displayed
 inline. So rename `plot_graphs` to `supplemental_graphics`, and enhance
 the rich output system to have a flag for replacing text vs. supplementing
 text (ideally in another ticket)

 > > Plotting graphs was the default in SageNB, its
 > > also the default in Mathematica
 > > (​https://reference.wolfram.com/language/ref/Graph.html).
 >
 > Well, this branch is not about SageNB but about the notebook, and the
 notebook behaves like Sage does on this respect.

 THE notebook is still SageNB, which is the default for `sage --notebook`.
 The IPython notebook is still work in progress, in part because the rich
 output system is not finished. Any previous behavior of the IPython
 notebook is a bug unless noted otherwise. The IPython notebook is finished
 when it becomes the default.

 > [1] By the way what is this?
 > http://www.sagemath.org/doc/reference/quivers/index.html
 >
 
http://www.sagemath.org/doc/reference/combinat/sage/combinat/cluster_algebra_quiver/quiver.html

 Thats what I meant. Simon also has a ticket with more quiver stuff
 somewhere on trac.

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