Hello,

I am trying to run a plotting script. I have my imports as such:
from matplotlib import interactive
interactive(False)
import matplotlib.pyplot as plt

But I am getting this error repeatedly:

    fig=figure(1,figsize=(8,6))
  File "/usr/lib/python2.6/dist-packages/matplotlib/pyplot.py", line 251, in
figure
    **kwargs)
  File
"/usr/lib/python2.6/dist-packages/matplotlib/backends/backend_tkagg.py",
line 90, in new_figure_manager
    window = Tk.Tk()
  File "/usr/lib/python2.6/lib-tk/Tkinter.py", line 1646, in __init__
    self.tk = _tkinter.create(screenName, baseName, className, interactive,
wantobjects, useTk, sync, use)
TclError: couldn't connect to display "localhost:10.0"


My $DISPLAY variable does change from time to time, but as I have it set to
interactive, why should this matter?


-- 
View this message in context: 
http://www.nabble.com/non-interactive-runs-keep-crashing-due-to-DISPLAY-tp24535712p24535712.html
Sent from the matplotlib - users mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to