Re: [Matplotlib-users] Making space for a long legend outside of a barchart

2013-05-22 Thread Martin Mokrejs
Hi Chao, ChaoYue wrote: Dear Martin, I worked out a similar example for your reference as I don't catch your example very well. I think you got the idea quite well. fig = plt.figure() ax1 = fig.add_subplot(211)

Re: [Matplotlib-users] Making space for a long legend outside of a barchart

2013-05-22 Thread ChaoYue
Hi Martin, I don't know tight_layout quite well. Probably you could also split the handlers of the barplot into and 2 or 3 or 4 parts depending on the number, and then show them in sperate axes? then you create n+1 subplots for the whole figure? probably this is quite stupid. cheers, Chao On

Re: [Matplotlib-users] Making space for a long legend outside of a barchart

2013-05-22 Thread Martin Mokrejs
ChaoYue wrote: Hi Martin, I don't know tight_layout quite well. Probably you could also split the handlers of the barplot into and 2 or 3 or 4 parts depending on the number, and then show them in sperate axes? then you create n+1 subplots for the whole figure? No, the reason why I use

[Matplotlib-users] constrained rectangular zoom does not always work with Qt4 backend

2013-05-22 Thread Gregorio Bastardo
Hi, I have problems with constrained rectangular zoom to x-y axis with PyQt4 / PySide backend. When I use the Zoom-to-rectangle button of the navigation toolbar while holding the x or y key, sometimes nothing happens when the mouse is released. Constrained panning and pan-zooming (Pan/Zoom

[Matplotlib-users] why legend does not show in matplotlib-1.2.1 py2.7

2013-05-22 Thread oyster
the following code runs ok with py2.4 and matplotlib.0.98.3 however no legend appears with py2.7.3 and matplotlib-1.2.1/1.3. and I get [quote] e:\prg\py\python-2.7.3\lib\site-packages\_matplotlib\matplotlib\legend.py:629: U serWarning: Legend does not support [matplotlib.patches.Wedge object at