{"action":"created","issue":{"url":"https://api.github.com/repos/matplotlib/matplotlib/issues/3537","labels_url":"https://api.github.com/repos/matplotlib/matplotlib/issues/3537/labels{/name}","comments_url":"https://api.github.com/repos/matplotlib/matplotlib/issues/3537/comments","events_url":"https://api.github.com/repos/matplotlib/matplotlib/issues/3537/events","html_url":"https://github.com/matplotlib/matplotlib/issues/3537","id":43126751,"number":3537,"title":"3D figures cannot be created in 1.4.0: 'module' object has no attribute '_string_to_bool'","user":{"login":"onesandzeroes","id":1460294,"avatar_url":"https://avatars.githubusercontent.com/u/1460294?v=3","gravatar_id":"","url":"https://api.github.com/users/onesandzeroes","html_url":"https://github.com/onesandzeroes","followers_url":"https://api.github.com/users/onesandzeroes/followers","following_url":"https://api.github.com/users/onesandzeroes/following{/other_user}","gists_url":"https://api.github.com/users/onesandzeroes/gists{/gist_id}","starred_url":"https://api.github.com/users/onesandzeroes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/onesandzeroes/subscriptions","organizations_url":"https://api.github.com/users/onesandzeroes/orgs","repos_url":"https://api.github.com/users/onesandzeroes/repos","events_url":"https://api.github.com/users/onesandzeroes/events{/privacy}","received_events_url":"https://api.github.com/users/onesandzeroes/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/matplotlib/matplotlib/labels/needs%20clarification","name":"needs clarification","color":"DDDDDD"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/matplotlib/matplotlib/milestones/15","html_url":"https://github.com/matplotlib/matplotlib/milestones/unassigned","labels_url":"https://api.github.com/repos/matplotlib/matplotlib/milestones/15/labels","id":719140,"number":15,"title":"unassigned","description":null,"creator":{"login":"tacaswell","id":199813,"avatar_url":"https://avatars.githubusercontent.com/u/199813?v=3","gravatar_id":"","url":"https://api.github.com/users/tacaswell","html_url":"https://github.com/tacaswell","followers_url":"https://api.github.com/users/tacaswell/followers","following_url":"https://api.github.com/users/tacaswell/following{/other_user}","gists_url":"https://api.github.com/users/tacaswell/gists{/gist_id}","starred_url":"https://api.github.com/users/tacaswell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tacaswell/subscriptions","organizations_url":"https://api.github.com/users/tacaswell/orgs","repos_url":"https://api.github.com/users/tacaswell/repos","events_url":"https://api.github.com/users/tacaswell/events{/privacy}","received_events_url":"https://api.github.com/users/tacaswell/received_events","type":"User","site_admin":false},"open_issues":90,"closed_issues":55,"state":"open","created_at":"2014-07-12T20:04:20Z","updated_at":"2015-08-15T02:57:09Z","due_on":null,"closed_at":null},"comments":7,"created_at":"2014-09-18T12:27:13Z","updated_at":"2015-08-24T14:40:28Z","closed_at":"2014-09-18T12:46:42Z","body":"Trying to run some of the 3d surface examples from the gallery, e.g. [this demo](http://matplotlib.org/examples/mplot3d/surface3d_demo.html), the creation of the axes is failing, saying that a module is missing a `_string_to_bool` attribute.\r\n\r\nThe full traceback I get is:\r\n\r\n```\r\nfig = plt.figure()\r\nax = fig.gca(projection='3d')\r\n\r\n---------------------------------------------------------------------------\r\nAttributeError                            Traceback (most recent call last)\r\n<ipython-input-10-acf5f628bd2d> in <module>()\r\n      1 fig = plt.figure()\r\n----> 2 ax = fig.gca(projection='3d')\r\n      3 \r\n\r\n/usr/local/lib/python2.7/dist-packages/matplotlib/figure.pyc in gca(self, **kwargs)\r\n   1266 \r\n   1267         # no axes found, so create one which spans the figure\r\n-> 1268         return self.add_subplot(1, 1, 1, **kwargs)\r\n   1269 \r\n   1270     def sca(self, a):\r\n\r\n/usr/local/lib/python2.7/dist-packages/matplotlib/figure.pyc in add_subplot(self, *args, **kwargs)\r\n    956                     self._axstack.remove(ax)\r\n    957 \r\n--> 958             a = subplot_class_factory(projection_class)(self, *args, **kwargs)\r\n    959 \r\n    960         self._axstack.add(key, a)\r\n\r\n/usr/local/lib/python2.7/dist-packages/matplotlib/axes/_subplots.pyc in __init__(self, fig, *args, **kwargs)\r\n     76 \r\n     77         # _axes_class is set in the subplot_class_factory\r\n---> 78         self._axes_class.__init__(self, fig, self.figbox, **kwargs)\r\n     79 \r\n     80     def __reduce__(self):\r\n\r\n/usr/lib/pymodules/python2.7/mpl_toolkits/mplot3d/axes3d.pyc in __init__(self, fig, rect, *args, **kwargs)\r\n     89         Axes.__init__(self, fig, rect,\r\n     90                       frameon=True,\r\n---> 91                       *args, **kwargs)\r\n     92         # Disable drawing of axes by base class\r\n     93         Axes.set_axis_off(self)\r\n\r\n/usr/local/lib/python2.7/dist-packages/matplotlib/axes/_base.pyc in __init__(self, fig, rect, axisbg, frameon, sharex, sharey, label, xscale, yscale, **kwargs)\r\n    434         self._hold = rcParams['axes.hold']\r\n    435         self._connected = {}  # a dict from events to (id, func)\r\n--> 436         self.cla()\r\n    437         # funcs used to format x and y - fall back on major formatters\r\n    438         self.fmt_xdata = None\r\n\r\n/usr/lib/pymodules/python2.7/mpl_toolkits/mplot3d/axes3d.pyc in cla(self)\r\n   1043         self._zmargin = 0\r\n   1044 \r\n-> 1045         Axes.cla(self)\r\n   1046 \r\n   1047         self.grid(rcParams['axes3d.grid'])\r\n\r\n/usr/local/lib/python2.7/dist-packages/matplotlib/axes/_base.pyc in cla(self)\r\n    895         self.containers = []\r\n    896 \r\n--> 897         self.grid(self._gridOn, which=rcParams['axes.grid.which'])\r\n    898         props = font_manager.FontProperties(size=rcParams['axes.titlesize'],\r\n    899                                         weight=rcParams['axes.titleweight'])\r\n\r\n/usr/lib/pymodules/python2.7/mpl_toolkits/mplot3d/axes3d.pyc in grid(self, b, **kwargs)\r\n   1254         if len(kwargs) :\r\n   1255             b = True\r\n-> 1256         self._draw_grid = maxes._string_to_bool(b)\r\n   1257 \r\n   1258     def ticklabel_format(self, **kwargs) :\r\n\r\nAttributeError: 'module' object has no attribute '_string_to_bool'\r\n```"},"comment":{"url":"https://api.github.com/repos/matplotlib/matplotlib/issues/comments/134229333","html_url":"https://github.com/matplotlib/matplotlib/issues/3537#issuecomment-134229333","issue_url":"https://api.github.com/repos/matplotlib/matplotlib/issues/3537","id":134229333,"user":{"login":"basnijholt","id":6897215,"avatar_url":"https://avatars.githubusercontent.com/u/6897215?v=3","gravatar_id":"","url":"https://api.github.com/users/basnijholt","html_url":"https://github.com/basnijholt","followers_url":"https://api.github.com/users/basnijholt/followers","following_url":"https://api.github.com/users/basnijholt/following{/other_user}","gists_url":"https://api.github.com/users/basnijholt/gists{/gist_id}","starred_url":"https://api.github.com/users/basnijholt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/basnijholt/subscriptions","organizations_url":"https://api.github.com/users/basnijholt/orgs","repos_url":"https://api.github.com/users/basnijholt/repos","events_url":"https://api.github.com/users/basnijholt/events{/privacy}","received_events_url":"https://api.github.com/users/basnijholt/received_events","type":"User","site_admin":false},"created_at":"2015-08-24T14:40:28Z","updated_at":"2015-08-24T14:40:28Z","body":"Why is this issue closed? The latest version on pip still has the problem."}}