|
From: SourceForge.net <no...@so...> - 2011-05-15 10:07:27
|
Bugs item #2833383, was opened at 2009-08-06 23:46 Message generated for change (Settings changed) made by wobsta You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=442886&aid=2833383&group_id=45430 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None >Status: Closed >Resolution: Duplicate Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: fixes axis range bug for integer values Initial Comment: in /pyx/graph/axis/axis.py:163 if divisor, min and max are integer values and divisor is bigger than max - min the range becomes 0 Patch 2833369 is wrong here is the right one: 163,166c163 < _min = 0; _max = 0; < if data.min != 0: _min = data.min/float(self.divisor) < if data.max != 0: _max = data.max/float(self.divisor) < partfunctions = parter.partfunctions(_min, _max, --- > partfunctions = parter.partfunctions(data.min/self.divisor, data.max/self.divisor, ---------------------------------------------------------------------- >Comment By: Andre Wobst (wobsta) Date: 2011-05-15 12:07 Message: We have most probably solved this in the solution to patch #2833369. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=442886&aid=2833383&group_id=45430 |