Hi all,

The following code fails on my box (python3.3, linux Mint 15, latest 
matplotlib code from github):

```python
import matplotlib as mpl
from mpl_toolkits.mplot3d import Axes3D
import numpy as np
import matplotlib.pyplot as plt

mpl.rcParams['legend.fontsize'] = 10

fig = plt.figure()
ax = fig.gca(projection='3d')
theta = np.linspace(-4 * np.pi, 4 * np.pi, 100)
z = np.linspace(-2, 2, 100)
r = z**2 + 1
x = r * np.sin(theta)
y = r * np.cos(theta)
ax.plot(x, y, z, label='parametric curve')
ax.legend()

plt.show()
```python


Here is the tail of the traceback:

```python

/home/guillaume/python3/lib/python3.3/site-packages/matplotlib-1.4.x-py3.3-linux-x86_64.egg/matplotlib/axes/_base.py
  incla(self)
     895          self.containers=  []
     896  
--> 897          self.grid(self._gridOn,  which=rcParams['axes.grid.which'])
     898          props = 
font_manager.FontProperties(size=rcParams['axes.titlesize'],
     899                                          
weight=rcParams['axes.titleweight'])

/home/guillaume/python3/lib/python3.3/site-packages/mpl_toolkits/mplot3d/axes3d.py
  ingrid(self, b, **kwargs)
    1254          if  len(kwargs)  :
    1255              b=  True
-> 1256          self._draw_grid=  maxes._string_to_bool(b)
    1257  
    1258      def  ticklabel_format(self,  **kwargs)  :

AttributeError: 'module' object has no attribute '_string_to_bool'

```

Is there a work around? Shall I rise an issue on github?

Cheers,

Guillaume

------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to