3D Bar (histogram) question

Hi,

I compiled matplotlib svn revision 7246 yesterday to try the 3D stuff.

From mpl’s website, an example for 3D bar plotting is shown[1]. I just don’t understand the axes. From the code, shouldn’t X values go from 0 to 20, instead of 0 to 400 000 like shown on the graph? Where does these values for the X and Z axes comes from (in the graph)?

I’m trying my own 3D bar plot, with similar “weird” results.

Could it be a bug?

Thanx a lot.

[1] http://matplotlib.sourceforge.net/examples/mplot3d/bars3d_demo.html

This certainly looks like a bug, and I can replicate it on my end.
Reinier, can you take a look?

JDH

···

On Tue, Jul 7, 2009 at 1:26 PM, Nicolas Bigaouette<nbigaouette@...287...> wrote:

Hi,

I compiled matplotlib svn revision 7246 yesterday to try the 3D stuff.

From mpl's website, an example for 3D bar plotting is shown[1]. I just don't
understand the axes. From the code, shouldn't X values go from 0 to 20,
instead of 0 to 400 000 like shown on the graph? Where does these values for
the X and Z axes comes from (in the graph)?

I'm trying my own 3D bar plot, with similar "weird" results.

Could it be a bug?

Thanx a lot.

[1] http://matplotlib.sourceforge.net/examples/mplot3d/bars3d_demo.html