Fidel, Nice catch! This bug has been posted and resolved on http://trac.sagemath.org/sage_trac/ticket/6117. The show() method now accepts 'talk' as a keyword.
-Emily On May 11, 11:25 am, Fidel <fidel.barr...@gmail.com> wrote: > Hello, > > I'm working in sage 3.4.2. > > I was going through the code in graphs/schnyder.py, the _realizer() > method has a problem in line 400, which is > > realizer.show(talk=True, edge_labels=True) > > where realizer is a DiGraph defined in line 356 > > realizer = DiGraph(implementation='networkx') > > This is what I get from sage when using the show() method with talk as > an argument > > sage: G=DiGraph({1:[2]});G.show(talk=True) > --------------------------------------------------------------------------- > TypeError Traceback (most recent call > last) > > /home/fidel/.sage/temp/ayotl/10153/ > _home_fidel_Programming_Research_oss_functions_sage_8.py > in <module>() > > /opt/sage-3.4.1/local/lib/python2.5/site-packages/sage/graphs/ > graph.pyc in > show(self, **kwds) > 6762 if kwds.has_key(kwd): > 6763 plot_kwds[kwd] = kwds.pop(kwd) > -> 6764 self.plot(**plot_kwds).show(**kwds) > 6765 > 6766 def plot3d(self, bgcolor=(1,1,1), vertex_colors=None, > vertex_size=0.06, > > TypeError: show() got an unexpected keyword argument 'talk' > > whereas > > sage: G.plot(talk=True) > > works just fine. Should the show() method support the talk option or > should line 400 be replaced by > > realizer.plot(talk=True, edge_labels=True) > > Thanks for your attention. > > Greetings,Fidel --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to sage-devel-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---