Screenshot instructions:
Windows
Mac
Red Hat Linux
Ubuntu
Click URL instructions:
Rightclick on ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)
From: federico vaggi <vaggi.federico@gm...>  20120223 11:02:22
Attachments:
Message as HTML

Hi, I am using matplotlib to draw a few bar plots. The library works wonderfully, but the figures are drawn incorrectly until they are resized Here is the figure before resizing: http://imgur.com/MKATg here is after resizing: http://imgur.com/bSiOT It seems that the rectangles of the bar somehow are not drawn properly. Any suggestions on how to fix it automatically? Federico 
From: Benjamin Root <ben.root@ou...>  20120223 15:54:52
Attachments:
Message as HTML

On Thu, Feb 23, 2012 at 5:02 AM, federico vaggi <vaggi.federico@...>wrote: > Hi, > > I am using matplotlib to draw a few bar plots. The library works > wonderfully, but the figures are drawn incorrectly until they are resized > > Here is the figure before resizing: > > http://imgur.com/MKATg > > here is after resizing: > > http://imgur.com/bSiOT > > It seems that the rectangles of the bar somehow are not drawn properly. > > Any suggestions on how to fix it automatically? > > Federico > > Federico, Could you please be a bit more specific about what you think is wrong. I see a number of possibilities, but I can't be sure what you are referring to. Ben Root 
From: federico vaggi <vaggi.federico@gm...>  20120223 16:03:20
Attachments:
Message as HTML

Hi Ben, In the preresizing pictures, each bar is drawn as two rectangles, the first until the lower margin of the standard deviation, the second until the mean. It looks like it draws one rectangle from: 0:(MEANSTD) and another from: MEANSTD to MEAN+STD After resizing, it is just a single rectangle with the standard deviation drawn as normal. I presume the 2nd version is meant to be correct, but absolutely no graphics properties are altered (besides manually resizing the window). Federico On Thu, Feb 23, 2012 at 4:54 PM, Benjamin Root <ben.root@...> wrote: > > > On Thu, Feb 23, 2012 at 5:02 AM, federico vaggi <vaggi.federico@...>wrote: > >> Hi, >> >> I am using matplotlib to draw a few bar plots. The library works >> wonderfully, but the figures are drawn incorrectly until they are resized >> >> Here is the figure before resizing: >> >> http://imgur.com/MKATg >> >> here is after resizing: >> >> http://imgur.com/bSiOT >> >> It seems that the rectangles of the bar somehow are not drawn properly. >> >> Any suggestions on how to fix it automatically? >> >> Federico >> >> > Federico, > > Could you please be a bit more specific about what you think is wrong. I > see a number of possibilities, but I can't be sure what you are referring > to. > > Ben Root > > 
From: Benjamin Root <ben.root@ou...>  20120223 16:14:18
Attachments:
Message as HTML

On Thu, Feb 23, 2012 at 10:03 AM, federico vaggi <vaggi.federico@...>wrote: > Hi Ben, > > In the preresizing pictures, each bar is drawn as two rectangles, the > first until the lower margin of the standard deviation, the second until > the mean. > > It looks like it draws one rectangle from: > > 0:(MEANSTD) > > and another from: > > MEANSTD to MEAN+STD > > After resizing, it is just a single rectangle with the standard deviation > drawn as normal. > > I presume the 2nd version is meant to be correct, but absolutely no > graphics properties are altered (besides manually resizing the window). > > Federico > > Sorry, I am not seeing what you are saying. Just to be clear, when you say "bar", are you referring to the gray rectangles that denote the mean or the errorbars that denote the standard deviations? What might be confusing is that in the first graph, the "cap" of the errorbars (the horizontal line on the ends of each errorbar) is almost the same width as the gray bars themselves. This sort of makes it look like there are two gray bars stacked on top of each other. Is this what you are referring to? Ben Root 
From: federico vaggi <vaggi.federico@gm...>  20120223 16:30:12
Attachments:
Message as HTML

I think you are correct  and I think the fact that the line width of the error bar is larger (compared to the size of the rectangle) gives the impression the top rectangle is actually darker. I see  it's just a matter of playing around with the error bar properties to make it look pretty. Thanks, Federico On Thu, Feb 23, 2012 at 5:13 PM, Benjamin Root <ben.root@...> wrote: > > > On Thu, Feb 23, 2012 at 10:03 AM, federico vaggi <vaggi.federico@... > > wrote: > >> Hi Ben, >> >> In the preresizing pictures, each bar is drawn as two rectangles, the >> first until the lower margin of the standard deviation, the second until >> the mean. >> >> It looks like it draws one rectangle from: >> >> 0:(MEANSTD) >> >> and another from: >> >> MEANSTD to MEAN+STD >> >> After resizing, it is just a single rectangle with the standard deviation >> drawn as normal. >> >> I presume the 2nd version is meant to be correct, but absolutely no >> graphics properties are altered (besides manually resizing the window). >> >> Federico >> >> > Sorry, I am not seeing what you are saying. Just to be clear, when you > say "bar", are you referring to the gray rectangles that denote the mean or > the errorbars that denote the standard deviations? > > What might be confusing is that in the first graph, the "cap" of the > errorbars (the horizontal line on the ends of each errorbar) is almost the > same width as the gray bars themselves. This sort of makes it look like > there are two gray bars stacked on top of each other. Is this what you are > referring to? > > Ben Root > > 
Sign up for the SourceForge newsletter:
No, thanks