S
subhabangalore
Dear Group,
I am trying to enumerate few interesting errors on pylab/matplotlib.
If any of the learned members can kindly let me know how should I address them.
I am trying to enumerate them as follows.
i) >>> import numpy
Traceback (most recent call last):
File "C:\Python26\lib\lib-tk\Tkinter.py", line 1410, in __call__
return self.func(*args)
File "C:\Python26\Lib\site-packages\matplotlib\backends\backend_tkagg.py", line 236, in resize
self.show()
File "C:\Python26\Lib\site-packages\matplotlib\backends\backend_tkagg.py", line 239, in draw
FigureCanvasAgg.draw(self)
File "C:\Python26\Lib\site-packages\matplotlib\backends\backend_agg.py", line 421, in draw
self.figure.draw(self.renderer)
File "C:\Python26\Lib\site-packages\matplotlib\artist.py", line 55, in draw_wrapper
draw(artist, renderer, *args, **kwargs)
File "C:\Python26\Lib\site-packages\matplotlib\figure.py", line 898, in draw
func(*args)
File "C:\Python26\Lib\site-packages\matplotlib\artist.py", line 55, in draw_wrapper
draw(artist, renderer, *args, **kwargs)
File "C:\Python26\Lib\site-packages\matplotlib\axes.py", line 1997, in draw
a.draw(renderer)
File "C:\Python26\Lib\site-packages\matplotlib\artist.py", line 55, in draw_wrapper
draw(artist, renderer, *args, **kwargs)
File "C:\Python26\Lib\site-packages\matplotlib\axis.py", line 1045, in draw
tick.draw(renderer)
File "C:\Python26\Lib\site-packages\matplotlib\artist.py", line 55, in draw_wrapper
draw(artist, renderer, *args, **kwargs)
File "C:\Python26\Lib\site-packages\matplotlib\axis.py", line 239, in draw
self.label1.draw(renderer)
File "C:\Python26\Lib\site-packages\matplotlib\artist.py", line 55, in draw_wrapper
draw(artist, renderer, *args, **kwargs)
File "C:\Python26\Lib\site-packages\matplotlib\text.py", line 591, in draw
ismath=ismath)
File "C:\Python26\Lib\site-packages\matplotlib\backends\backend_agg.py", line 167, in draw_text
font.draw_glyphs_to_bitmap(antialiased=rcParams['text.antialiased'])
TypeError: draw_glyphs_to_bitmap() takes no keyword arguments
ii) Python 2.6.1 (r261:67517, Dec 4 2008, 16:51:00) [MSC v.1500 32 bit (Intel)] on win32
Type "copyright", "credits" or "license()" for more information.
****************************************************************
Personal firewall software may warn about the connection IDLE
makes to its subprocess using this computer's internal loopback
interface. This connection is not visible on any external
interface and no data is sent to or received from the Internet.
****************************************************************
IDLE 2.6.1
Traceback (most recent call last):
File "<pyshell#8>", line 1, in <module>
G.draw()
AttributeError: 'Graph' object has no attribute 'draw'Exception in Tkinter callback
Traceback (most recent call last):
File "C:\Python26\lib\lib-tk\Tkinter.py", line 1410, in __call__
return self.func(*args)
File "C:\Python26\Lib\site-packages\matplotlib\backends\backend_tkagg.py", line 236, in resize
self.show()
File "C:\Python26\Lib\site-packages\matplotlib\backends\backend_tkagg.py", line 239, in draw
FigureCanvasAgg.draw(self)
File "C:\Python26\Lib\site-packages\matplotlib\backends\backend_agg.py", line 421, in draw
self.figure.draw(self.renderer)
File "C:\Python26\Lib\site-packages\matplotlib\artist.py", line 55, in draw_wrapper
draw(artist, renderer, *args, **kwargs)
File "C:\Python26\Lib\site-packages\matplotlib\figure.py", line 898, in draw
func(*args)
File "C:\Python26\Lib\site-packages\matplotlib\artist.py", line 55, in draw_wrapper
draw(artist, renderer, *args, **kwargs)
File "C:\Python26\Lib\site-packages\matplotlib\axes.py", line 1997, in draw
a.draw(renderer)
File "C:\Python26\Lib\site-packages\matplotlib\artist.py", line 55, in draw_wrapper
draw(artist, renderer, *args, **kwargs)
File "C:\Python26\Lib\site-packages\matplotlib\text.py", line 591, in draw
ismath=ismath)
File "C:\Python26\Lib\site-packages\matplotlib\backends\backend_agg.py", line 167, in draw_text
font.draw_glyphs_to_bitmap(antialiased=rcParams['text.antialiased'])
TypeError: draw_glyphs_to_bitmap() takes no keyword arguments
Regards,
Subhabrata.
I am trying to enumerate few interesting errors on pylab/matplotlib.
If any of the learned members can kindly let me know how should I address them.
I am trying to enumerate them as follows.
i) >>> import numpy
Exception in Tkinter callbackimport pylab
t = numpy.arange(0.0, 1.0+0.01, 0.01)
s = numpy.cos(2*2*numpy.pi*t)
pylab.plot(t, s)[ said:pylab.show()
Traceback (most recent call last):
File "C:\Python26\lib\lib-tk\Tkinter.py", line 1410, in __call__
return self.func(*args)
File "C:\Python26\Lib\site-packages\matplotlib\backends\backend_tkagg.py", line 236, in resize
self.show()
File "C:\Python26\Lib\site-packages\matplotlib\backends\backend_tkagg.py", line 239, in draw
FigureCanvasAgg.draw(self)
File "C:\Python26\Lib\site-packages\matplotlib\backends\backend_agg.py", line 421, in draw
self.figure.draw(self.renderer)
File "C:\Python26\Lib\site-packages\matplotlib\artist.py", line 55, in draw_wrapper
draw(artist, renderer, *args, **kwargs)
File "C:\Python26\Lib\site-packages\matplotlib\figure.py", line 898, in draw
func(*args)
File "C:\Python26\Lib\site-packages\matplotlib\artist.py", line 55, in draw_wrapper
draw(artist, renderer, *args, **kwargs)
File "C:\Python26\Lib\site-packages\matplotlib\axes.py", line 1997, in draw
a.draw(renderer)
File "C:\Python26\Lib\site-packages\matplotlib\artist.py", line 55, in draw_wrapper
draw(artist, renderer, *args, **kwargs)
File "C:\Python26\Lib\site-packages\matplotlib\axis.py", line 1045, in draw
tick.draw(renderer)
File "C:\Python26\Lib\site-packages\matplotlib\artist.py", line 55, in draw_wrapper
draw(artist, renderer, *args, **kwargs)
File "C:\Python26\Lib\site-packages\matplotlib\axis.py", line 239, in draw
self.label1.draw(renderer)
File "C:\Python26\Lib\site-packages\matplotlib\artist.py", line 55, in draw_wrapper
draw(artist, renderer, *args, **kwargs)
File "C:\Python26\Lib\site-packages\matplotlib\text.py", line 591, in draw
ismath=ismath)
File "C:\Python26\Lib\site-packages\matplotlib\backends\backend_agg.py", line 167, in draw_text
font.draw_glyphs_to_bitmap(antialiased=rcParams['text.antialiased'])
TypeError: draw_glyphs_to_bitmap() takes no keyword arguments
ii) Python 2.6.1 (r261:67517, Dec 4 2008, 16:51:00) [MSC v.1500 32 bit (Intel)] on win32
Type "copyright", "credits" or "license()" for more information.
****************************************************************
Personal firewall software may warn about the connection IDLE
makes to its subprocess using this computer's internal loopback
interface. This connection is not visible on any external
interface and no data is sent to or received from the Internet.
****************************************************************
IDLE 2.6.1
import networkx as nx
G=nx.Graph()
G.add_node(1)
G.add_nodes_from([2,3])
H=nx.path_graph(10)
G.add_nodes_from(H)
G.add_node(H)
G.add_edge(1,2)
G.draw()
Traceback (most recent call last):
File "<pyshell#8>", line 1, in <module>
G.draw()
AttributeError: 'Graph' object has no attribute 'draw'Exception in Tkinter callback
Traceback (most recent call last):
File "C:\Python26\lib\lib-tk\Tkinter.py", line 1410, in __call__
return self.func(*args)
File "C:\Python26\Lib\site-packages\matplotlib\backends\backend_tkagg.py", line 236, in resize
self.show()
File "C:\Python26\Lib\site-packages\matplotlib\backends\backend_tkagg.py", line 239, in draw
FigureCanvasAgg.draw(self)
File "C:\Python26\Lib\site-packages\matplotlib\backends\backend_agg.py", line 421, in draw
self.figure.draw(self.renderer)
File "C:\Python26\Lib\site-packages\matplotlib\artist.py", line 55, in draw_wrapper
draw(artist, renderer, *args, **kwargs)
File "C:\Python26\Lib\site-packages\matplotlib\figure.py", line 898, in draw
func(*args)
File "C:\Python26\Lib\site-packages\matplotlib\artist.py", line 55, in draw_wrapper
draw(artist, renderer, *args, **kwargs)
File "C:\Python26\Lib\site-packages\matplotlib\axes.py", line 1997, in draw
a.draw(renderer)
File "C:\Python26\Lib\site-packages\matplotlib\artist.py", line 55, in draw_wrapper
draw(artist, renderer, *args, **kwargs)
File "C:\Python26\Lib\site-packages\matplotlib\text.py", line 591, in draw
ismath=ismath)
File "C:\Python26\Lib\site-packages\matplotlib\backends\backend_agg.py", line 167, in draw_text
font.draw_glyphs_to_bitmap(antialiased=rcParams['text.antialiased'])
TypeError: draw_glyphs_to_bitmap() takes no keyword arguments
Regards,
Subhabrata.