Re: [Matplotlib-users] Saving animation with coloured background

2012-07-12 Thread Pål Gunnar Ellingsen
Hi

I've submitted a bug report Issue *#1008* on github (which I had trouble
finding).

Regards

Pål


On 11 July 2012 17:41, Benjamin Root ben.r...@ou.edu wrote:



 On Wed, Jul 11, 2012 at 10:41 AM, Pål Gunnar Ellingsen 
 paa...@gmail.comwrote:

 Hi

 I'm trying to save a animation, which I've generated using
 animation.FuncAnimation.
 The animation has it's background set by plt.rcParams['figure.facecolor']
 = 'black'
 Which works with plt.show(), though not with animation save.
 I know that plt.save needs the argument facecolor to save a figure with a
 given background, but the animations save does not like such an argument.
 What am I doing wrong?


 Kind regards

 Pål


 You aren't doing anything wrong.  It is most likely an oversight on our
 part to not consider that use-case.  Could you file a bug report about this?

 Cheers!
 Ben Root


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


[Matplotlib-users] Saving animation with coloured background

2012-07-11 Thread Pål Gunnar Ellingsen
Hi

I'm trying to save a animation, which I've generated using
animation.FuncAnimation.
The animation has it's background set by plt.rcParams['figure.facecolor'] =
'black'
Which works with plt.show(), though not with animation save.
I know that plt.save needs the argument facecolor to save a figure with a
given background, but the animations save does not like such an argument.
What am I doing wrong?


Kind regards

Pål
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] Saving animation with coloured background

2012-07-11 Thread Benjamin Root
On Wed, Jul 11, 2012 at 10:41 AM, Pål Gunnar Ellingsen paa...@gmail.comwrote:

 Hi

 I'm trying to save a animation, which I've generated using
 animation.FuncAnimation.
 The animation has it's background set by plt.rcParams['figure.facecolor']
 = 'black'
 Which works with plt.show(), though not with animation save.
 I know that plt.save needs the argument facecolor to save a figure with a
 given background, but the animations save does not like such an argument.
 What am I doing wrong?


 Kind regards

 Pål


You aren't doing anything wrong.  It is most likely an oversight on our
part to not consider that use-case.  Could you file a bug report about this?

Cheers!
Ben Root
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users