On Monday, January 23, 2012, Álvaro Justen [Turicas] <alvarojus...@gmail.com>
wrote:
> Hello,
> I'm using version 1.0.1 and I think this code snippet and the images
> attached are enough to explain the bug:
> https://gist.github.com/1667300
>
> Images 'bar-log-bug.png' and 'bar-log-ok.png' must be the same since
> it is the same data and same configuration - the bug occurs when we
> call set_yscale after calling subplot.bar().
>
> If you confirm the bug, I'll create an issue on GitHub.
This is a known issue and is not a bug. If you know that you are using log
scale for your bar graph, then it is best to simply specify it in the bar()
command (log=True, I think). Having bar() work when you call set_yscale()
before bar() is merely a convenience. Recommended usage is to tell bar()
that you are using log scale so that it can avoid taking the log of zero
(or negative).
Cheers,
Ben Root
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users