{"action":"closed","issue":{"url":"https://api.github.com/repos/jeremysanders/veusz/issues/123","labels_url":"https://api.github.com/repos/jeremysanders/veusz/issues/123/labels{/name}","comments_url":"https://api.github.com/repos/jeremysanders/veusz/issues/123/comments","events_url":"https://api.github.com/repos/jeremysanders/veusz/issues/123/events","html_url":"https://github.com/jeremysanders/veusz/issues/123","id":96522964,"number":123,"title":"axis-function breaks BoxShape alignement by axis","user":{"login":"mythsmith","id":1889232,"avatar_url":"https://avatars.githubusercontent.com/u/1889232?v=3","gravatar_id":"","url":"https://api.github.com/users/mythsmith","html_url":"https://github.com/mythsmith","followers_url":"https://api.github.com/users/mythsmith/followers","following_url":"https://api.github.com/users/mythsmith/following{/other_user}","gists_url":"https://api.github.com/users/mythsmith/gists{/gist_id}","starred_url":"https://api.github.com/users/mythsmith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mythsmith/subscriptions","organizations_url":"https://api.github.com/users/mythsmith/orgs","repos_url":"https://api.github.com/users/mythsmith/repos","events_url":"https://api.github.com/users/mythsmith/events{/privacy}","received_events_url":"https://api.github.com/users/mythsmith/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-22T09:41:10Z","updated_at":"2015-08-11T14:14:46Z","closed_at":"2015-08-11T14:14:46Z","body":"If an axis-function is used as position X/Y axis for any BoxShape widget, its updateControlItem will not work anymore.\r\n\r\nSeems a non-array object is passed to AxisFunction._linearInterpolWarning.\r\n```\r\nTraceback (most recent call last):\r\n  File \"/opt/veusz/widgets/controlgraph.py\", line 88, in mouseReleaseEvent\r\n    self.parentItem().updateWidget()\r\n  File \"/opt/veusz/widgets/controlgraph.py\", line 464, in updateWidget\r\n    self.params.widget.updateControlItem(self.params)\r\n  File \"/opt/veusz/widgets/shape.py\", line 165, in updateControlItem\r\n    cgi.posn[0], cgi.posn[1])\r\n  File \"/opt/veusz/widgets/plotters.py\", line 262, in _getGraphCoords\r\n    ypos = axes[1].plotterToDataCoords(posn, yplt)\r\n  File \"/opt/veusz/widgets/axis.py\", line 604, in plotterToDataCoords\r\n    return scale * self.plotterToGraphCoords(bounds, vals)\r\n  File \"/opt/veusz/widgets/axisfunction.py\", line 536, in plotterToGraphCoords\r\n  File \"/opt/veusz/widgets/axisfunction.py\", line 513, in _linearInterpolWarning\r\n    if any(vals < xcoords[0]) or any(vals > xcoords[-1]):\r\nTypeError: 'numpy.bool_' object is not iterable\r\n```"}}