On 08/22/2010 04:51 AM, Daπid wrote:
> On Sat, Aug 14, 2010 at 10:19 PM, Eric Firing wrote:
>> The problem is that the "alpha" kwarg can never be other than a scalar
>> in mpl at present, as far as I know. The error message from to_rgba was
>> intended to be informative, but in this case it is mi
On Sat, Aug 14, 2010 at 10:19 PM, Eric Firing wrote:
> The problem is that the "alpha" kwarg can never be other than a scalar
> in mpl at present, as far as I know. The error message from to_rgba was
> intended to be informative, but in this case it is misleading.
Thanks for your response. I was
2010/8/14 Eric Firing :
> colors = [colorConverter.to_rgba(c, a) for c, a in zip(['g', 'r', 'b'],
If it is this (I didn't dig into the program) it will be fixed soon I hope :-)
Friedrich
--
This SF.net email is sponsored
On 08/14/2010 04:47 AM, Daπid wrote:
> Hello.
>
> I have had an issue trying to plot an histogram with Matplotlib. The line is:
>
> plt.hist([SNIa.angles, SNIbc.angles, SNII.angles], 11, range=[-pi, pi],
> normed=True,histtype='stepfilled',color=['g', 'r',
> 'b'],alpha=[1, 0.6, 1])
The p
Hello.
I have had an issue trying to plot an histogram with Matplotlib. The line is:
plt.hist([SNIa.angles, SNIbc.angles, SNII.angles], 11, range=[-pi, pi],
normed=True,histtype='stepfilled',color=['g', 'r',
'b'],alpha=[1, 0.6, 1])
But the error is raised when I try to save the image. F