Revision: 8097 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=8097&view=rev Author: mmetz_bn Date: 2010-01-25 20:31:41 +0000 (Mon, 25 Jan 2010)
Log Message: ----------- Fixed a bug in hist with stepfilled and log=True Modified Paths: -------------- trunk/matplotlib/CHANGELOG trunk/matplotlib/lib/matplotlib/axes.py Modified: trunk/matplotlib/CHANGELOG =================================================================== --- trunk/matplotlib/CHANGELOG 2010-01-25 13:04:22 UTC (rev 8096) +++ trunk/matplotlib/CHANGELOG 2010-01-25 20:31:41 UTC (rev 8097) @@ -1,3 +1,5 @@ +2010-01-25 Fixed a bug reported by Olle Engdegard, when using + histograms with stepfilled and log=True - MM 2010-01-16 Upgraded CXX to 6.1.1 - JDH Modified: trunk/matplotlib/lib/matplotlib/axes.py =================================================================== --- trunk/matplotlib/lib/matplotlib/axes.py 2010-01-25 13:04:22 UTC (rev 8096) +++ trunk/matplotlib/lib/matplotlib/axes.py 2010-01-25 20:31:41 UTC (rev 8097) @@ -7216,6 +7216,8 @@ for m in n: y[1:-1:2], y[2::2] = m, m + if log: + y[y<1e-100]=1e-100 if orientation == 'horizontal': x,y = y,x elif orientation != 'vertical': This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com _______________________________________________ Matplotlib-checkins mailing list Matplotlib-checkins@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins