matplotlib / backend
Hello, I'm to plot some results but it doesn't work. I got this error : /usr/local/libre_rep/python-2.6.1/RHEL_5__x86_64/lib/python2.6/site- packages/matplotlib/backends/__init__.py:41: UserWarning: Your currently selected backend, 'agg' does not support show(). Please select a GUI backend in your matplotlibrc file ('/usr/local/ libre_rep/python-2.6.1/RHEL_5__x86_64/lib/python2.6/site-packages/ matplotlib/mpldata/matplotlibrc') or with matplotlib.use() Any idea to fix it ? Thanks -- http://mail.python.org/mailman/listinfo/python-list
Re: matplotlib / backend
On Aug 25, 10:12 am, Pierre pierre.gaill...@gmail.com wrote: Hello, I'm to plot some results but it doesn't work. I got this error : /usr/local/libre_rep/python-2.6.1/RHEL_5__x86_64/lib/python2.6/site- packages/matplotlib/backends/__init__.py:41: UserWarning: Your currently selected backend, 'agg' does not support show(). Please select a GUI backend in your matplotlibrc file ('/usr/local/ libre_rep/python-2.6.1/RHEL_5__x86_64/lib/python2.6/site-packages/ matplotlib/mpldata/matplotlibrc') or with matplotlib.use() Any idea to fix it ? Thanks Try: import matplotlib matplotlib.use('TkAgg') before coding anything else from the examples section of the matplotlib documentation http://matplotlib.sourceforge.net/examples/user_interfaces/embedding_in_tk.html -- http://mail.python.org/mailman/listinfo/python-list
howto write matplotlib backend?
Somewhere on http://matplotlib.sourceforge.net or elsewhere I found some hints how to get started writing a new backend for matplotlib. It mentioned some almost empty kind of template that you could extend for your needs. I cannot find this description again. Would somebody help, please? Cheers Mihail -- http://mail.python.org/mailman/listinfo/python-list