Re: [Matplotlib-users] How to plot only a legend?

2012-07-27 Thread Andreas Hilboll
On Thu, Jul 26, 2012 at 06:05:39PM +0200, Andreas Hilboll wrote: Hi Andreas, 2012/7/26 Andreas Hilboll li...@hilboll.de: Hi, I would like to create a figure which only contains a legend, and no axes at all. I would like to manually assign the colors. I found this here:

[Matplotlib-users] How to plot only a legend?

2012-07-26 Thread Andreas Hilboll
Hi, I would like to create a figure which only contains a legend, and no axes at all. I would like to manually assign the colors. I found this here: http://stackoverflow.com/a/3302666 but from there on, I'd like to remove the axes, and put the legend into three columns. Any help is greatly

Re: [Matplotlib-users] How to plot only a legend?

2012-07-26 Thread Francesco Montesano
Hi Andreas, 2012/7/26 Andreas Hilboll li...@hilboll.de: Hi, I would like to create a figure which only contains a legend, and no axes at all. I would like to manually assign the colors. I found this here: http://stackoverflow.com/a/3302666 but from there on, I'd like to remove the

Re: [Matplotlib-users] How to plot only a legend?

2012-07-26 Thread Andreas Hilboll
Hi Andreas, 2012/7/26 Andreas Hilboll li...@hilboll.de: Hi, I would like to create a figure which only contains a legend, and no axes at all. I would like to manually assign the colors. I found this here: http://stackoverflow.com/a/3302666 but from there on, I'd like to remove the

Re: [Matplotlib-users] How to plot only a legend?

2012-07-26 Thread Daπid
On Thu, Jul 26, 2012 at 5:05 PM, Andreas Hilboll li...@hilboll.de wrote: That's really easy :) I could live with this solution, applying some external tool like pdfcrop to the result. If you can use other output, you can generate a png image, which would be easier to cut (even inside

Re: [Matplotlib-users] How to plot only a legend?

2012-07-26 Thread Damon McDougall
On Thu, Jul 26, 2012 at 06:05:39PM +0200, Andreas Hilboll wrote: Hi Andreas, 2012/7/26 Andreas Hilboll li...@hilboll.de: Hi, I would like to create a figure which only contains a legend, and no axes at all. I would like to manually assign the colors. I found this here:

Re: [Matplotlib-users] How to plot only a legend?

2012-07-26 Thread Francesco Montesano
Hi, you should be also able to create the axes as: ax = plt.figure( figsize=(x,y) ).add_subplot(111) with figsize big enough to fit just the legend Cheers Francesco 2012/7/26 Damon McDougall damon.mcdoug...@gmail.com: On Thu, Jul 26, 2012 at 06:05:39PM +0200, Andreas Hilboll wrote: Hi