Hi All,
I have installed matplotlib-py25 on both my Desktop (intel mac) and
Macbook pro (intel) both running Leopard.
During testing I found that everything worked fine on my Macbook, that
is I could do a simple plot, however following the same fink install
process on my Desktop
I was unable to do the same simply plot. It seems as though it is not
recognizing the plot command.
The simple plot I'm doing is;
from pylab import *
plot([1,2,3,4])
show()
I inputted this line by line and got an error when I inputted the
second line and the error was;
>>> plot([1,2,3,4])
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/sw/lib/python2.5/site-packages/matplotlib/pylab.py", line
2023, in plot
b = ishold()
File "/sw/lib/python2.5/site-packages/matplotlib/pylab.py", line
937, in ishold
return gca().ishold()
File "/sw/lib/python2.5/site-packages/matplotlib/pylab.py", line
883, in gca
ax = gcf().gca(**kwargs)
File "/sw/lib/python2.5/site-packages/matplotlib/pylab.py", line
893, in gcf
return figure()
File "/sw/lib/python2.5/site-packages/matplotlib/pylab.py", line
859, in figure
figManager = new_figure_manager(num, figsize=figsize, dpi=dpi,
facecolor=facecolor, edgecolor=edgecolor, frameon=frameon,
FigureClass=FigureClass, **kwargs)
File "/sw/lib/python2.5/site-packages/matplotlib/backends/
backend_tkagg.py", line 88, in new_figure_manager
window = Tk.Tk()
File "/sw/lib/python2.5/lib-tk/Tkinter.py", line 1636, in __init__
self.tk = _tkinter.create(screenName, baseName, className,
interactive, wantobjects, useTk, sync, use)
_tkinter.TclError: couldn't connect to display "localhost:0.0"
Could anyone please help me with this, as I can't seem to figure out
why I'm having no problems on my Macbook but having problems on the
Desktop. The only think I can think of is that the Pylab.py file was
become corrupted during installation, although it seems fine to me.
Cheers
Al
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users