Hi Ben, I don't want to display rotate text ! I just need to display a simple text to my figure : ax.text(onevolume['long'][i],onevolume['lat'][i],onevolume['upper'][i],onevolume['point'][i],color=linecolor) In addition, I do not understand your remark about GDK, If I remember, I need to use the following modules because FigureCanvas and NavigationToolbar are required. from matplotlib.backends.backend_gtk import FigureCanvasGTK as FigureCanvas from matplotlib.backends.backend_gtk import NavigationToolbar2GTK as NavigationToolbar
Anyway I cannot reproduce the warning, it is a little bit strange ! Thank you ________________________________________ De : ben.v.r...@gmail.com [ben.v.r...@gmail.com] de la part de Benjamin Root [ben.r...@ou.edu] Date d'envoi : jeudi 11 août 2011 16:05 À : WALTER Alain Cc : matplotlib-users@lists.sourceforge.net Objet : Re: [Matplotlib-users] unable to draw text at angles other than 0 or 90 On Thursday, August 11, 2011, WALTER Alain <alain.wal...@thalesgroup.com<mailto:alain.wal...@thalesgroup.com>> wrote: > Hello, > Concernig the source code of my previous post, the use of > "ax.set_title('Volumic definition')" generate the following message: > /opt/IPASTEST/lib/python2.7/site-packages/matplotlib/backends/backend_gdk.py:150: > UserWarning: backend_gdk: unable to draw text at angles other than 0 or 90 > 'other than 0 or 90') > I thought that by default the drawing requested by my instruction set_title > is 0 > Thank you for your suggestions Alain, Only the AGG-based backends can display rotated text. Is there a particular reason why you are using GDK backend? Since you are doing Gtk programming, I would recommend using GTKAgg. Ben Root ------------------------------------------------------------------------------ Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-dev2dev _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users