[SciPy-User] Matplotlib 1.3.1: plot(matrix("1, 2, 3")) -> RuntimeError: maximum recursion depth exceeded

Klaus klaus.rheinberger at gmail.com
Sun Nov 17 06:07:20 EST 2013


Hi,

I am working with python 2.7.5  using 

   - numpy.__version__: 1.7.1
   - 
   - matplotlib.__version__: 1.3.1

When I start "ipython2 --pylab" and execute the following code 

x = matrix("1,2,3")
> plot(x)


I get the error message

[...]
> /usr/lib/python2.7/site-packages/matplotlib/units.pyc in 
> get_converter(self, x)
>     146             except AttributeError:
>     147                 # not a masked_array
> --> 148                 converter = self.get_converter(xravel[0])
>     149                 return converter
>     150 
> /usr/lib/python2.7/site-packages/numpy/matrixlib/defmatrix.py in 
> __getitem__(self, index)
>     303 
>     304         try:
> --> 305             out = N.ndarray.__getitem__(self, index)
>     306         finally:
>     307             self._getitem = False
> RuntimeError: maximum recursion depth exceeded


In the older matplotlib version 1.3.0 this error was not present. 

Any help is highly appreciated!



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.scipy.org/pipermail/scipy-user/attachments/20131117/51b171b9/attachment.html>


More information about the SciPy-User mailing list