SourceForge logo
SourceForge logo
Menu

matplotlib-users

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 <asp...@gm...> 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
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
Also, please use the new mailing list at mat...@py...
On Tue, Aug 18, 2015 at 12:53 PM Thomas Caswell <tca...@gm...> 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 <asp...@gm...> 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
>> Mat...@li...
>> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>>
>
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /