Hi,

I have installed matplotlib with the "WX" and the "Qt4Agg" backend. Both
have problems:

with WX backend, I can plot something. But when I close the window and try
to plot again, nothing happens (no window opens).

with Qt4Agg I can plot something. But when I close the window and try to
plot again, I get the error I posted below.

Can something be done about one if these problems?

Thanks!
Nathan


The Error:

RuntimeError                              Traceback (most recent call last)

/net/gorgonzola/storage/nhuesken/svn/ActiveLearning/SVM/ModelSelection/Ergebnisse/<ipython
console> in <module>()

/net/gorgonzola/storage/nhuesken/svn/ActiveLearning/SVM/ModelSelection/Ergebnisse/plot.pyc
in plot(filename, line_list, name_list, reference)
      6         for i in xrange(len(line_list)):
      7                
plt.plot(m[:,reference],m[:,line_list[i]],label=name_list[i])
      8         plt.legend(loc='best')
----> 9         plt.show()
     10 

/export/home/nhuesken/usr/lib/python2.6/site-packages/matplotlib/backends/backend_qt4.pyc
in show()
     61     """
     62     for manager in Gcf.get_all_fig_managers():
---> 63         manager.window.show()
     64 
     65     if DEBUG: print 'Inside show'

RuntimeError: underlying C/C++ object has been deleted

-- 
View this message in context: 
http://old.nabble.com/matplotlib-WX-and-Qt4Agg-backends-tp26315069p26315069.html
Sent from the matplotlib - users mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to