From: Orest K. <ore...@gm...> - 2008-07-01 18:39:48
|
When I try to run symlog_demo.py in version 98.1, I get the following AssertionError. Should __call__ of the SymmetricalLogLocator be calling transform on vmin and vmax separately? Any advice? Thanks, Orest $ python symlog_demo.py c:\programs\Python25\lib\site-packages\pytz-2007k-py2.5.egg\pytz\__init__.py:29: UserWarning: Module dateutil was already imported from c:\programs\Python25\lib \site-packages\python_dateutil-1.3-py2.5.egg\dateutil\__init__.pyc, but c:\progr ams\python25\lib\site-packages\matplotlib-0.98.1-py2.5-win32.egg is being added to sys.path c:\programs\Python25\lib\site-packages\pytz-2007k-py2.5.egg\pytz\__init__.py:29: UserWarning: Module pytz was already imported from c:\programs\Python25\lib\sit e-packages\pytz-2007k-py2.5.egg\pytz\__init__.py, but c:\programs\python25\lib\s ite-packages\matplotlib-0.98.1-py2.5-win32.egg is being added to sys.path Traceback (most recent call last): File "symlog_demo.py", line 28, in <module> savefig('symlog_demo') File "c:\progra~1\python25\lib\site-packages\matplotlib-0.98.1-py2.5-win32.egg \matplotlib\pyplot.py", line 286, in savefig return fig.savefig(*args, **kwargs) File "c:\progra~1\python25\lib\site-packages\matplotlib-0.98.1-py2.5-win32.egg \matplotlib\figure.py", line 1014, in savefig self.canvas.print_figure(*args, **kwargs) File "c:\progra~1\python25\lib\site-packages\matplotlib-0.98.1-py2.5-win32.egg \matplotlib\backend_bases.py", line 1287, in print_figure **kwargs) File "c:\progra~1\python25\lib\site-packages\matplotlib-0.98.1-py2.5-win32.egg \matplotlib\backends\backend_agg.py", line 300, in print_png FigureCanvasAgg.draw(self) File "c:\progra~1\python25\lib\site-packages\matplotlib-0.98.1-py2.5-win32.egg \matplotlib\backends\backend_agg.py", line 256, in draw self.figure.draw(self.renderer) File "c:\progra~1\python25\lib\site-packages\matplotlib-0.98.1-py2.5-win32.egg \matplotlib\figure.py", line 832, in draw for a in self.axes: a.draw(renderer) File "c:\progra~1\python25\lib\site-packages\matplotlib-0.98.1-py2.5-win32.egg \matplotlib\axes.py", line 1482, in draw a.draw(renderer) File "c:\progra~1\python25\lib\site-packages\matplotlib-0.98.1-py2.5-win32.egg \matplotlib\axis.py", line 712, in draw for tick, loc, label in self.iter_ticks(): File "c:\progra~1\python25\lib\site-packages\matplotlib-0.98.1-py2.5-win32.egg \matplotlib\axis.py", line 654, in iter_ticks majorLocs = self.major.locator() File "c:\progra~1\python25\lib\site-packages\matplotlib-0.98.1-py2.5-win32.egg \matplotlib\ticker.py", line 1080, in __call__ vmin, vmax = self._transform.transform_point((vmin, vmax)) File "c:\progra~1\python25\lib\site-packages\matplotlib-0.98.1-py2.5-win32.egg \matplotlib\transforms.py", line 1072, in transform_point assert len(point) == self.input_dims AssertionError |