On Apr 29, 2015, at 08:15 , Nathann Cohen wrote: > Hello everybody, > > In #18289 [2], Volker is improving the Notebook interface by making > some objects be automatically plotted by __repr__ [1] > > graphs.PetersenGraph() # this graph is plotted > > or > > P = posets.ChainPoset(10) # no plot > P # here, P is plotted > > So far he only implemented it for graphs (with <20 vertices), but more > objects should be added to the list. For instance: > > - Posets > - Finite State Machine > - Permutations (?) > - Crystals (?) > > Basically everything that has a .plot() command can appear there. I > expect that you would like some trees to be plotted too. Like > DyckWords, or something.
I'm not in favor of having plotting done by __repr__ automatically, for the reasons others have mentioned. -- Justin C. Walker Curmudgeon-at-large -- Network, n., Difference between work charged for and work done -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.