|
From: John H. <jdh...@ac...> - 2004-07-29 19:59:12
|
>>>>> "Vineet" == Vineet Jain <vi...@al...> writes:
Vineet> ok I think I've found the problem and a possible solution:
The order of the plots should not make a difference. Clearly it does
so this is a bug. Could you try editing matplotlib.axes.Axes.has_data
(on or around line 323 of axes.py) and replace it with
def has_data(self):
return (
len(self._collections) +
len(self._images) +
len(self._lines) +
len(self._patches))>0
and see if this fixes the problem. Ie, with this change, order of
plot commands should not affect the final ylim.
Thanks,
JDH
|