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.
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@…287…> 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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Also, please use the new mailing list at matplotlib-users@…48…
···
On Tue, Aug 18, 2015 at 12:53 PM Thomas Caswell <tcaswell@…287…> 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@…287…> 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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users