On Sat, Feb 05, 2011 at 08:05:34PM +0000, Nicolas M. Thiery wrote: > On Thu, Feb 03, 2011 at 05:38:19PM -0800, Daniel Bump wrote: > > Then things sort of work to the extent that Anne's patch can be > > tried out. However color_by_label doesn't seem to work. For example, > > Nicolas suggested: > > > > sage: K = KirillovReshetikhinCrystal(['A',3,1], 1,1) > > sage: G = K.digraph() > > sage: G.set_latex_options(color_by_label = {0:"black", 1:"red", 2:"blue", > > 3:"green"}) > > sage: view(G, pdflatex=True, tightpage=True) > > > > This doesn't seem to work. > > Huh, strange. It indeed works for 4.6.1 but not 4.6.2. Some of the > logic must have been changed by Rob's patch. I'll investigate that.
Just a triviality in fact: the color_by_label option was not declared. So now the patch is rebased for 4.6.2, and the above commands do work for me here. Please try out! I need to run the tests, and then can probably post the patch for review tonight. Cheers, Nicolas Btw: please include the error message next time! -- Nicolas M. ThiƩry "Isil" <nthi...@users.sf.net> http://Nicolas.Thiery.name/ -- You received this message because you are subscribed to the Google Groups "sage-combinat-devel" group. To post to this group, send email to sage-combinat-devel@googlegroups.com. To unsubscribe from this group, send email to sage-combinat-devel+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sage-combinat-devel?hl=en.