title: Matplotlib - Python Error
body: <p>Setup:</p>
  
  <p>Processor : <code>x86_64</code> 
  Operating System: <code>GNU/Linux</code>
  Distro: <code>Fedora Release 13 (Goddard).</code></p>
  
  <p><code>Python 2.6.4</code></p>
  
  <pre><code> /usr/bin/python
  </code></pre>
  
  <p>Here is the following issue: </p>
  
  <p>I am trying to generate a few graphs using Matplotlib and Python. As I hear from a majority of the <a href="https://stackoverflow.com/questions/7157330/problem-importing-matplotlib-mlab-and-pyplot-in-python-2-7-on-mac-osx-10-6">solutions</a><a href="https://stackoverflow.com/questions/7157330/problem-importing-matplotlib-mlab-and-pyplot-in-python-2-7-on-mac-osx-10-6">3</a>.. there seem to be compatibility issues between matplotlib and 64bit architectures. </p>
  
  <p>I have installed Matplotlib from <a href="http://matplotlib.org/users/installing.html#installing-from-source" rel="noreferrer">here</a></p>
  
  <p>Here is the error that I get: </p>
  
  <pre><code>Traceback (most recent call last):
    File "plot-thread-characterization.py", line 24, in &lt;module&gt;
      import matplotlib.pyplot as plt
    File "/usr/lib64/python2.6/site-packages/matplotlib/pyplot.py", line 78, in &lt;module&gt;
      new_figure_manager, draw_if_interactive, show = pylab_setup()
    File "/usr/lib64/python2.6/site-packages/matplotlib/backends/__init__.py", line 25, in pylab_setup
      globals(),locals(),[backend_name])
    File "/usr/lib64/python2.6/site-packages/matplotlib/backends/backend_gtkagg.py", line 10, in &lt;module&gt;
      from matplotlib.backends.backend_gtk import gtk, FigureManagerGTK, FigureCanvasGTK,\
    File "/usr/lib64/python2.6/site-packages/matplotlib/backends/backend_gtk.py", line 8, in &lt;module&gt;
      import gtk; gdk = gtk.gdk
    File "/usr/lib64/python2.6/site-packages/gtk-2.0/gtk/__init__.py", line 64, in &lt;module&gt;
      _init()
    File "/usr/lib64/python2.6/site-packages/gtk-2.0/gtk/__init__.py", line 52, in _init
      _gtk.init_check()
  RuntimeError: could not open display
  </code></pre>
  
  <p>Thanks. </p>