Question about basic_example_writer.py

Hi,

when running basic_example_writer.py, I get *.mp4 files with a canvas
size of 800x600 pixels (at least that's what mplayer tells me). However,
I have trouble understanding where this canvas size comes from. The
example does not explicitly set the dpi or the figure size, and I don't
have a matplotlibrc which changes these settings. So figure.dpi is 80,
and the fig.size_inches is (8, 6). So how come this translates to a
800x600 pixel movie?

Thanks for you insight :slight_smile:

-- Andreas.

Hmmm, sounds like a bug of some sort. Perhaps a pixel size is not being specified when creating the movie. Could you file an issue detailing exactly which version of mpl you are using and which movie writer you are using?

Cheers!

Ben Root

···

On Wed, Nov 27, 2013 at 11:57 AM, Andreas Hilboll <lists@…3067…> wrote:

Hi,

when running basic_example_writer.py, I get *.mp4 files with a canvas

size of 800x600 pixels (at least that’s what mplayer tells me). However,

I have trouble understanding where this canvas size comes from. The

example does not explicitly set the dpi or the figure size, and I don’t

have a matplotlibrc which changes these settings. So figure.dpi is 80,

and the fig.size_inches is (8, 6). So how come this translates to a

800x600 pixel movie?

Thanks for you insight :slight_smile:

– Andreas.


Rapidly troubleshoot problems before they affect your business. Most IT

organizations don’t have a clear picture of how application performance

affects their revenue. With AppDynamics, you get 100% visibility into your

Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!

http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk


Matplotlib-users mailing list

Matplotlib-users@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/matplotlib-users