niraj pandey <nirajkumarpan...@gmail.com> has tried to submit a question to the list. Apparently I misconfigured something, be- cause it's not showing up promptly. While I correct my error, I transcribe niraj's request here:
> I am getting the error while running one of my python script. > > import matplotlib.pyplot as plt > plt.plot([1,2,3,4]) > plt.ylabel('some numbers') > plt.show() > > > > Error: > > raceback (most recent call last): > File "test.py", line 4, in <module> > plt.show() > File > "/grid/common/pkgs/python/v2.7.2/lib/python2.7/site-packages/matplotlib/pyplot.py", > line 253, in show > return _show(*args, **kw) > File > "/grid/common/pkgs/python/v2.7.2/lib/python2.7/site-packages/matplotlib/backend_bases.py", > line 163, in __call__ > manager.show() > File > "/grid/common/pkgs/python/v2.7.2/lib/python2.7/site-packages/matplotlib/backends/backend_tkagg.py", > line 610, in show > self.canvas.manager.window.attributes('-topmost', 1) > File "/grid/common/pkgs/python/v2.7.2/lib/python2.7/lib-tk/Tkinter.py", > line 1493, in wm_attributes > return self.tk.call(args) > _tkinter.TclError: wrong # args: should be "wm attributes window" > > > System Architecture: > > uname -a > Linux noi-niraj 2.6.32-431.11.2.el6.x86_64 #1 SMP Tue Mar 25 19:59:55 UTC > 2014 x86_64 x86_64 x86_64 GNU/Linux > > RHEL6.0-2013-x86_64 > > Python: 2.7.2 > > Can someone please help me here. > > Best regards > Niraj _______________________________________________ Tkinter-discuss mailing list Tkinter-discuss@python.org https://mail.python.org/mailman/listinfo/tkinter-discuss