|
From: Eric F. <ef...@ha...> - 2011-08-19 19:04:30
|
On 08/18/2011 10:57 PM, James McMurray wrote: > I made this standalone script here: http://pastebin.com/AnKeCwiU and > this does not suffer from the issue. For comparison here is the plotting > function in my program: http://pastebin.com/7xxtPQYb The problem is that the Gtk backend does not support text rotation. If you use FigureCanvasGTKAgg instead of FigureCanvasGTK, I think the behavior will be back to normal. The Gtk backend is not fully functional or supported. Eric > > The only major difference is the use of the interactive display in the > script, against the use of Figure and the GTK canvas in my application. > > I am using matplotlib 1.0.1 > > On 19 August 2011 10:28, Eric Firing <ef...@ha... > <mailto:ef...@ha...>> wrote: > > On 08/18/2011 09:53 PM, James McMurray wrote: > > Hi, > > > > I am having a problem where the colorbar labels will never appear > > vertically, even when their rotation is specified as "vertical". > As you > > can see in the screenshot here: http://minus.com/lbOJyOljH this > creates > > problems when the labels are cut off and generally looks > unprofessional. > > > > I am creating the colorbars with code like: > > cbar1.set_label("Lifetime [$\mu$s]", rotation='vertical') > > I don't understand; even with no kwarg, the label on a vertical colorbar > will be vertical. It has been that way for as long as I can remember. > > What mpl version are you using? > Please provide a minimal standalone script showing the problem. > > Eric > > > > > > > And yet the specified rotation has no effect. > > > > Any help would be much appreciated, > > James > > > > > > > > > ------------------------------------------------------------------------------ > > 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-d2d-2 > > > > > > > > _______________________________________________ > > Matplotlib-users mailing list > > Mat...@li... > <mailto:Mat...@li...> > > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > > > ------------------------------------------------------------------------------ > 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-d2d-2 > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > <mailto:Mat...@li...> > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > > > > > ------------------------------------------------------------------------------ > 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-d2d-2 > > > > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users |