Re: [Matplotlib-users] Missing bar when last value is 0

2012-09-19 Thread Adam Davis
Yes, that works. Many thanks. On Thu, Sep 20, 2012 at 1:12 AM, Benjamin Root wrote: > > > On Wednesday, September 19, 2012, Adam Davis wrote: > >> If I do: >> >> bar(range(3), [1,0,2]) >> >> ... then I get 2 bars of a suitable width for a 3 bar

[Matplotlib-users] Offsetting tick labels

2012-09-19 Thread Adam Davis
I am trying to get alternating tick labels to move completely above and completely below the x axis. If I call: set_ha('top') ... then the number appears fully below the x axis. However, when I call: set_ha('bottom') ... then the number appears roughly vertically centered on the axis.

[Matplotlib-users] Missing bar when last value is 0

2012-09-19 Thread Adam Davis
If I do: bar(range(3), [1,0,2]) ... then I get 2 bars of a suitable width for a 3 bar chart, with a gap in between where the middle bar would be if not equal to 0. Yet if I do: bar(range(3), [1,2,0]) ... then I get two bars of equal width. Is there a way to preserve the space for the mi

[Matplotlib-users] Axes frame lineweights

2011-09-08 Thread Adam Davis
Is there a way to reduce the lineweight of the axes frame edge? Alternatively, is there a way to hide the edge of the frame without turning the frame off? Thanks, Adam -- Why Cloud-Based Security and Archiving Make Sense

Re: [Matplotlib-users] Using imshow() and plot() in the same figure

2011-09-04 Thread Adam Davis
(and without disrupting imshow)? - have subplots within subplots so that I can have the plot() calls in one set of axes within a subplot (using sharex/y) and the imshow() calls in another subplot? -Adam On Sun, Sep 4, 2011 at 10:34 PM, Eric Firing wrote: > On 09/04/2011 11:12 AM, Adam Da

[Matplotlib-users] Using imshow() and plot() in the same figure

2011-09-04 Thread Adam Davis
I have a figure with a number of plots that analyze a source image. I wish to show the plots along side the image. Unfortunately whichever method I call last clobbers (leaves blank axes) for the previously called method. To illustrate: fig, axs = pylab.subplots(10, 4, sharex=True, sharey=True) f