[Matplotlib-users] Combination of a box plot and a histogram

2010-09-30 Thread Tony S Yu
I'd like to make something in between a box plot [1] and a histogram. Each histogram would be represented by a single, tall, rectangular patch (like the box in a box plot), and the patch would be subdivided by the bin edges of the histogram. The face color of each sub-patch would replace the bar

Re: [Matplotlib-users] imshow() and a transparent colormap?

2010-09-30 Thread Benjamin Root
On Thu, Sep 30, 2010 at 4:59 PM, Nicolas Bigaouette wrote: > Hi all, > > I'm plotting some data with imshow(). On the screen it looks good, but when > printed (it's part of a paper) it's hard to see because it all looks blue or > black. > > I'm attaching an example. > > What I would like to do it

Re: [Matplotlib-users] Making room for tick labels

2010-09-30 Thread Justin McCann
On Wed, Sep 29, 2010 at 9:58 PM, Jason Grout wrote: >... > I made the FAQ entry code a little more general (and hopefully more > robust) a while ago.  I don't know if it takes care of the problem > you're talking about, though. > > I posted it to the matplotlib-devel mailing list here: > > http://

Re: [Matplotlib-users] errorbar plot requires hold=True

2010-09-30 Thread Joey Richards
On Sep 30, 2010, at 11:46 AM, Benjamin Root wrote: > I just had another thought have you ever modified your matplotlibrc file? > It might be possible that you have turned off holds (which is default). If > so, then this would be a bug, because the errorbar function should > temporarially

Re: [Matplotlib-users] errorbar plot requires hold=True

2010-09-30 Thread Eric Firing
On 09/30/2010 08:28 AM, Joey Richards wrote: > When I use the errorbar() routine to plot data, unless I set hold=True as a > kwarg (or set it globally), the data are plotted without the errorbars. I > believe it is because the routine first plots the error bars, then overplots > the data points

Re: [Matplotlib-users] errorbar plot requires hold=True

2010-09-30 Thread Benjamin Root
On Thu, Sep 30, 2010 at 1:44 PM, Benjamin Root wrote: > On Thu, Sep 30, 2010 at 1:28 PM, Joey Richards wrote: > >> When I use the errorbar() routine to plot data, unless I set hold=True as >> a kwarg (or set it globally), the data are plotted without the errorbars. I >> believe it is because th

Re: [Matplotlib-users] errorbar plot requires hold=True

2010-09-30 Thread Benjamin Root
On Thu, Sep 30, 2010 at 1:28 PM, Joey Richards wrote: > When I use the errorbar() routine to plot data, unless I set hold=True as a > kwarg (or set it globally), the data are plotted without the errorbars. I > believe it is because the routine first plots the error bars, then overplots > the dat

[Matplotlib-users] errorbar plot requires hold=True

2010-09-30 Thread Joey Richards
When I use the errorbar() routine to plot data, unless I set hold=True as a kwarg (or set it globally), the data are plotted without the errorbars. I believe it is because the routine first plots the error bars, then overplots the data points and for some reason the routine is clearing the axis

Re: [Matplotlib-users] how to display figure from a GUI app?

2010-09-30 Thread John Hunter
On Wed, Sep 29, 2010 at 3:43 PM, Skip Montanaro wrote: > I have a GTK app which runs its matplotlib stuff in a separate > thread.  If I call pylab.show() at the end of building the plot > the first time it displays, then after that I have to destroy > the window before it will think about plotting

Re: [Matplotlib-users] how to display figure from a GUI app?

2010-09-30 Thread Skip Montanaro
Benjamin Root writes: > Which version of matplotlib are you using? According to matplotlib.__version__ I'm running 1.0.svn. > There have been numerous improvements to interactivity and multiple calls > to show() in version 1.0 and beyond.There might still be some issues with > multiple gui even

Re: [Matplotlib-users] axes in matplotlib

2010-09-30 Thread Benjamin Root
On Thu, Sep 30, 2010 at 7:17 AM, sa6113 wrote: > > Thans for your help. > > I don't have mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist modules. > would you please help me to download them. > which release I need to install? > > > axes_grid1 and axisartist were introduced in version 1.0.0.

Re: [Matplotlib-users] How to find out the extend of the actual image in pixels

2010-09-30 Thread Benjamin Root
On Thu, Sep 30, 2010 at 3:28 AM, Alexander Dietz < alexanderdie...@googlemail.com> wrote: > Hi, > > On Wed, Sep 29, 2010 at 16:00, John Hunter wrote: > >> On Wed, Sep 29, 2010 at 8:50 AM, Alexander Dietz >> wrote: >> >> > print ax.transData.transform((10.0, 20.0)) >> > [ 576. 432.] >> >> >> Why

[Matplotlib-users] Interactively Changing or removing selected parts of a figure

2010-09-30 Thread Philip V
Context: I am using ipython -pylab for interactive figure drawing. I understand that clf() will erase everything, and cla() will empty the interior of the square plot in the last subfigure. But I can't see how to clear the first subfigure or the colorbar. Any changes to the colorbar -- for exa

Re: [Matplotlib-users] axes in matplotlib

2010-09-30 Thread sa6113
Thans for your help. I don't have mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist modules. would you please help me to download them. which release I need to install? sa6113 wrote: > > I want to use more than 2 axes in my plot, for example yleft,yright, > butoom or top, is it possible? > a

Re: [Matplotlib-users] another incorrectly clipped PNG in the gallery

2010-09-30 Thread Jae-Joon Lee
On Thu, Sep 23, 2010 at 10:31 AM, C M wrote: > Until a more permanent solution is figured out, can anyone recommend > any workarounds, even if they are a little clunky?  I'm embedding mpl > plots in wxPython and am also finding this issue suboptimal. > > Che > A (partial) workaround is possible u

Re: [Matplotlib-users] How to find out the extend of the actual image in pixels

2010-09-30 Thread Alexander Dietz
Hi, On Wed, Sep 29, 2010 at 16:00, John Hunter wrote: > On Wed, Sep 29, 2010 at 8:50 AM, Alexander Dietz > wrote: > > > print ax.transData.transform((10.0, 20.0)) > > [ 576. 432.] > > > Why do you say it's wrong? Note that in mpl, (0,0) is (bottom left), > not (upper,left). So this is saying