[Matplotlib-users] Problem: AttributeError: 'module' object has no attribute '_string_to_bool'

Adam Spannaus aspannaus at gmail.com
Tue Aug 18 19:35:19 CEST 2015


Thanks, it all works now.

On 08/18/2015 12:53 PM, Thomas Caswell wrote:
> Also, please use the new mailing list at matplotlib-users at python.org 
> <mailto:matplotlib-users at python.org>
>
>
>
> On Tue, Aug 18, 2015 at 12:53 PM Thomas Caswell <tcaswell at gmail.com 
> <mailto:tcaswell at gmail.com>> wrote:
>
>     This is related to files from the previous implementation still
>     being around.  Please make sure you have fully removed the old mpl
>     installation before installing the new one.  Be aware that there
>     is some difference in the way pip/setuptools/distutils deal with
>     namespace packages so look for both `matplotlib` and
>     `mpl_toolkits` directories.
>
>     Tom
>
>     On Tue, Aug 18, 2015 at 12:49 PM Bob Dobalina <aspannaus at gmail.com
>     <mailto:aspannaus at gmail.com>> wrote:
>
>         When trying to create a 3D axes, I receive this error:
>
>         /usr/lib/pymodules/python2.7/mpl_toolkits/mplot3d/axes3d.pyc
>         in grid(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'
>
>         I'm running matplotlib 1.4.3 on linux (ubuntu-based), and was
>         able to create
>         3D axes until I updated last week.
>
>         Thanks in advance.
>
>
>
>
>         --
>         View this message in context:
>         http://matplotlib.1069221.n5.nabble.com/Problem-AttributeError-module-object-has-no-attribute-string-to-bool-tp46020.html
>         Sent from the matplotlib - users mailing list archive at
>         Nabble.com.
>
>         ------------------------------------------------------------------------------
>         _______________________________________________
>         Matplotlib-users mailing list
>         Matplotlib-users at lists.sourceforge.net
>         <mailto:Matplotlib-users at lists.sourceforge.net>
>         https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/matplotlib-users/attachments/20150818/333c880f/attachment-0001.html>


More information about the Matplotlib-users mailing list