igraph-help
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [igraph] motifs of size 4 tassonomy


From: Simone Gabbriellini
Subject: Re: [igraph] motifs of size 4 tassonomy
Date: Mon, 24 Jan 2011 15:51:07 +0100

Tamas,

thanks a lot! unfortunately, while trying to run your snippet, I get this error:

In [55]: for i in xrange(11):
   plot(igraph.Graph.Isoclass(4, i), "isoclass_%d.pdf" % i, bbox=(100, 
100),layout="circle")
   ....:    
   ....:    
ERROR: An unexpected error occurred while tokenizing input
The following traceback may be corrupted or invalid
The error message is: ('EOF in multi-line statement', (4599, 0))

---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)

/Users/ogabbrie/Desktop/PANMIND/models/ABMsimulator/<ipython console> in 
<module>()

/Library/Frameworks/Python.framework/Versions/6.2/lib/python2.6/site-packages/matplotlib/pyplot.pyc
 in plot(*args, **kwargs)
   2139         ax.hold(hold)
   2140     try:
-> 2141         ret = ax.plot(*args, **kwargs)
   2142         draw_if_interactive()
   2143     finally:

/Library/Frameworks/Python.framework/Versions/6.2/lib/python2.6/site-packages/matplotlib/axes.pyc
 in plot(self, *args, **kwargs)
   3430         lines = []
   3431 
-> 3432         for line in self._get_lines(*args, **kwargs):
   3433             self.add_line(line)
   3434             lines.append(line)

/Library/Frameworks/Python.framework/Versions/6.2/lib/python2.6/site-packages/matplotlib/axes.pyc
 in _grab_next_args(self, *args, **kwargs)
    309                 return
    310             if len(remaining) <= 3:
--> 311                 for seg in self._plot_args(remaining, kwargs):
    312                     yield seg
    313                 return

/Library/Frameworks/Python.framework/Versions/6.2/lib/python2.6/site-packages/matplotlib/axes.pyc
 in _plot_args(self, tup, kwargs)
    267         ret = []
    268         if len(tup) > 1 and is_string_like(tup[-1]):
--> 269             linestyle, marker, color = _process_plot_format(tup[-1])
    270             tup = tup[:-1]
    271         elif len(tup) == 3:

/Library/Frameworks/Python.framework/Versions/6.2/lib/python2.6/site-packages/matplotlib/axes.pyc
 in _process_plot_format(fmt)
     95         else:
     96             raise ValueError(
---> 97                 'Unrecognized character %c in format string' % c)
     98 
     99     if linestyle is None and marker is None:

ValueError: Unrecognized character i in format string

what do you think it could be?

thanks,
Simone





reply via email to

[Prev in Thread] Current Thread [Next in Thread]