[Matplotlib-users] Installing matplotlib from source on Snow Leopard

2010-10-20 Thread James Battat
Hi, I'm having trouble with my built-from-source installation of matplotlib on Snow Leopard (I also tried installing from the .dmg file, but that install failed -- see below for details). I downloaded: matplotlib-1.0.0.tar.gz and then built and installed: > tar xvzf matplotlib-1.0.0.tar.gz

[Matplotlib-users] building matplotlib from source in Linux

2009-08-10 Thread James Battat
Hi, I'm installing matplotlib from source on a linux machine (system details below). The module builds and installs without error. I can import pylab successfully from an interactive python prompt. When I plot data, however, pylab.show() brings up an empty plot window (gray background),

[Matplotlib-users] missing slice of pie()

2008-01-21 Thread James Battat
It looks like pie() omits slices that are smaller than a few percent. In the following example, only one pie slice is drawn: >>> import pylab >>> pylab.pie([98,2]) >>> pylab.show() The missing pie slice has neither a color fill nor a boundary (the arc of the pie slice is missing). By contrast,

[Matplotlib-users] 2nd y axis, same data

2007-05-30 Thread James Battat
Hello, (for a 2-d plot) Any example code of how to label the 2nd y-axis using a different scale than the first y-axis for the same dataset? For example, how do you make a plot of distances with the left y-axis in kilometers and the right y-axis in miles? Thanks in advance for your help, James -