create a video with no black bands

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