[Matplotlib-users] create a video with no black bands

2014-03-12 Thread Diego Avesani
dear Matplotlib users, I have tried to create a video with many *.png files. The problem is that the videos has black bands on the right and on the left. How Can I create a video but without black bands? Thanks a lot Diego

[Matplotlib-users] Update some part of a figure

2014-03-12 Thread Christophe Bal
Hello. I've poste here a question but no one seems to have an hint to give so I repeat my question here. In the attached Python 3 code, I draw n**2 squares in black and then I dynamically change in a random way the colors of some squares. The problem I met is that at each new random choice, I

[Matplotlib-users] video without black bands

2014-03-12 Thread diedro
Dear all, I have created a video from *.png files. The problem is that my video has black bands on the left and on the right. I have used the following commands: command = ('mencoder', 'mf://*.png', '-mf', 'type=png:w=9800:h=600:fps=0.6', '-ovc',

Re: [Matplotlib-users] video without black bands

2014-03-12 Thread Oliver
Please don’t double post. Also, this post is much more informative than the first, it’s much clearer now where the problem is, and it is not related to matplotlib at all, but with the options you’re passing to *mencoder*. What’s the size of your orginal pngs? 2014-03-12 11:58 GMT+01:00 diedro

Re: [Matplotlib-users] video without black bands

2014-03-12 Thread diedro
sorry for that, I supposed that I was not more in the the first mailing list. When I post the second one, I realized that I was still in the mailing list Regarding the post: Image Type: png (The PNG image format) Width: 704 pixels Height: 538 pixels Thanks a lot Diego On 12 March 2014 12:10,

Re: [Matplotlib-users] Update some part of a figure

2014-03-12 Thread Christophe Bal
I forgot to say that being under Mac O$, I can use with animate... So I do not know if i can build an infinite animation. Is it possible ? 2014-03-12 12:01 GMT+01:00 Christophe Bal projet...@gmail.com: Yes I've read it. 1. It proposes to update infos about the figure, this is what I do

Re: [Matplotlib-users] video without black bands

2014-03-12 Thread Benjamin Root
In your options to mencoder, you are specifying the width/height as: 'type=png:w=9800:h=600:fps=0.6', But your PNGs have size of 704x538 pixels. That's why you have black bars on either side of your animation. Cheers! Ben Root On Wed, Mar 12, 2014 at 7:16 AM, diedro diego.aves...@gmail.com

[Matplotlib-users] plotting weekday time series without weekend nan data.

2014-03-12 Thread Bill Blount
i am reading a csv file of stock date with daily data (weekdays) and dates represented as strings. when i convert dates to datetime format, weekends and holidays are introduced as nans leaving holes in the plot. web searches led me to this. is this still the case? seems like a lot of trouble

[Matplotlib-users] Troubleshooting

2014-03-12 Thread Caio Sanches
Hey there! I have a mac 10.9 (Mavericks), and I needed matplotlib for a course I was participating. I installed python 2.7.6, as requested, and downloaded the installer (dmg) from the sourceforge page. I created a simple file, to plot a simple graph, but then it gave me an error (attached as

[Matplotlib-users] Troubleshooting

2014-03-12 Thread Caio Sanches
Hey there! I have a mac 10.9 (Mavericks), and I needed matplotlib for a course I was participating. I installed python 2.7.6, as requested, and downloaded the installer (dmg) from the sourceforge page. I created a simple file, to plot a simple graph, but then it gave me an error (attached as

Re: [Matplotlib-users] Troubleshooting

2014-03-12 Thread Eric Firing
On 2014/03/12 2:41 PM, Caio Sanches wrote: Hey there! I have a mac 10.9 (Mavericks), and I needed matplotlib for a course I was participating. I installed python 2.7.6, as requested, and downloaded the installer (dmg) from the sourceforge page. I created a simple file, to plot a simple