{"action":"closed","issue":{"url":"https://api.github.com/repos/pydata/pandas/issues/9905","labels_url":"https://api.github.com/repos/pydata/pandas/issues/9905/labels{/name}","comments_url":"https://api.github.com/repos/pydata/pandas/issues/9905/comments","events_url":"https://api.github.com/repos/pydata/pandas/issues/9905/events","html_url":"https://github.com/pydata/pandas/issues/9905","id":68672112,"number":9905,"title":"BUG: barplot with log=True not working for values smaller than 1","user":{"login":"jorisvandenbossche","id":1020496,"avatar_url":"https://avatars.githubusercontent.com/u/1020496?v=3","gravatar_id":"","url":"https://api.github.com/users/jorisvandenbossche","html_url":"https://github.com/jorisvandenbossche","followers_url":"https://api.github.com/users/jorisvandenbossche/followers","following_url":"https://api.github.com/users/jorisvandenbossche/following{/other_user}","gists_url":"https://api.github.com/users/jorisvandenbossche/gists{/gist_id}","starred_url":"https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jorisvandenbossche/subscriptions","organizations_url":"https://api.github.com/users/jorisvandenbossche/orgs","repos_url":"https://api.github.com/users/jorisvandenbossche/repos","events_url":"https://api.github.com/users/jorisvandenbossche/events{/privacy}","received_events_url":"https://api.github.com/users/jorisvandenbossche/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/pydata/pandas/labels/Bug","name":"Bug","color":"e10c02"},{"url":"https://api.github.com/repos/pydata/pandas/labels/Regression","name":"Regression","color":"d7e102"},{"url":"https://api.github.com/repos/pydata/pandas/labels/Visualization","name":"Visualization","color":"8AE234"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/pydata/pandas/milestones/29","html_url":"https://github.com/pydata/pandas/milestones/0.16.1","labels_url":"https://api.github.com/repos/pydata/pandas/milestones/29/labels","id":816810,"number":29,"title":"0.16.1","description":"after 0.16.0 of course!","creator":{"login":"jreback","id":953992,"avatar_url":"https://avatars.githubusercontent.com/u/953992?v=3","gravatar_id":"","url":"https://api.github.com/users/jreback","html_url":"https://github.com/jreback","followers_url":"https://api.github.com/users/jreback/followers","following_url":"https://api.github.com/users/jreback/following{/other_user}","gists_url":"https://api.github.com/users/jreback/gists{/gist_id}","starred_url":"https://api.github.com/users/jreback/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jreback/subscriptions","organizations_url":"https://api.github.com/users/jreback/orgs","repos_url":"https://api.github.com/users/jreback/repos","events_url":"https://api.github.com/users/jreback/events{/privacy}","received_events_url":"https://api.github.com/users/jreback/received_events","type":"User","site_admin":false},"open_issues":106,"closed_issues":112,"state":"open","created_at":"2014-10-07T14:39:07Z","updated_at":"2015-04-16T18:55:42Z","due_on":"2015-04-30T07:00:00Z","closed_at":null},"comments":2,"created_at":"2015-04-15T12:44:27Z","updated_at":"2015-04-16T18:55:42Z","closed_at":"2015-04-16T18:55:42Z","body":"```\r\ns = pd.Series([0.1, 0.01, 0.001], index=['a', 'b', 'c'])\r\ns.plot(kind='bar', log=True)\r\n```\r\n\r\ngives:\r\n\r\n```\r\nTypeError                                 Traceback (most recent call last)\r\n<ipython-input-13-75b989d29042> in <module>()\r\n      1 s = pd.Series([0.1, 0.01, 0.001], index=['a', 'b', 'c'])\r\n----> 2 s.plot(kind='bar', log=True)\r\n\r\nC:\\Anaconda\\lib\\site-packages\\pandas\\tools\\plotting.pyc in plot_series(data, kind, ax, figsize, use_index, title, grid, legend, style, logx, logy, loglog, xticks, yticks, xlim, ylim, rot, fontsize, colormap, table, yerr, xerr, label, secondary_y, **kwds)\r\n   2517                  yerr=yerr, xerr=xerr,\r\n   2518                  label=label, secondary_y=secondary_y,\r\n-> 2519                  **kwds)\r\n   2520 \r\n   2521 \r\n\r\nC:\\Anaconda\\lib\\site-packages\\pandas\\tools\\plotting.pyc in _plot(data, x, y, subplots, ax, kind, **kwds)\r\n   2323         plot_obj = klass(data, subplots=subplots, ax=ax, kind=kind, **kwds)\r\n   2324 \r\n-> 2325     plot_obj.generate()\r\n   2326     plot_obj.draw()\r\n   2327     return plot_obj.result\r\n\r\nC:\\Anaconda\\lib\\site-packages\\pandas\\tools\\plotting.pyc in generate(self)\r\n    921         self._compute_plot_data()\r\n    922         self._setup_subplots()\r\n--> 923         self._make_plot()\r\n    924         self._add_table()\r\n    925         self._make_legend()\r\n\r\nC:\\Anaconda\\lib\\site-packages\\pandas\\tools\\plotting.pyc in _make_plot(self)\r\n   1884                 w = self.bar_width / K\r\n   1885                 rect = bar_f(ax, self.ax_pos + (i + 0.5) * w, y, w,\r\n-> 1886                              start=start, label=label, **kwds)\r\n   1887             self._add_legend_handle(rect, label, index=i)\r\n   1888 \r\n\r\nC:\\Anaconda\\lib\\site-packages\\pandas\\tools\\plotting.pyc in f(ax, x, y, w, start, **kwds)\r\n   1823         if self.kind == 'bar':\r\n   1824             def f(ax, x, y, w, start=None, **kwds):\r\n-> 1825                 start = start + self.bottom\r\n   1826                 return ax.bar(x, y, w, bottom=start,log=self.log, **kwds)\r\n   1827         elif self.kind == 'barh':\r\n\r\nTypeError: unsupported operand type(s) for +: 'NoneType' and 'int'\r\n```\r\n\r\nThis was working in 0.14.1"}}