{"action":"opened","issue":{"url":"https://api.github.com/repos/ghtmtt/DataPlotly/issues/84","repository_url":"https://api.github.com/repos/ghtmtt/DataPlotly","labels_url":"https://api.github.com/repos/ghtmtt/DataPlotly/issues/84/labels{/name}","comments_url":"https://api.github.com/repos/ghtmtt/DataPlotly/issues/84/comments","events_url":"https://api.github.com/repos/ghtmtt/DataPlotly/issues/84/events","html_url":"https://github.com/ghtmtt/DataPlotly/issues/84","id":374642846,"node_id":"MDU6SXNzdWUzNzQ2NDI4NDY=","number":84,"title":"Invalid value of type 'builtins.str' received for the 'customdata' property of scatter","user":{"login":"anitagraser","id":590385,"node_id":"MDQ6VXNlcjU5MDM4NQ==","avatar_url":"https://avatars0.githubusercontent.com/u/590385?v=4","gravatar_id":"","url":"https://api.github.com/users/anitagraser","html_url":"https://github.com/anitagraser","followers_url":"https://api.github.com/users/anitagraser/followers","following_url":"https://api.github.com/users/anitagraser/following{/other_user}","gists_url":"https://api.github.com/users/anitagraser/gists{/gist_id}","starred_url":"https://api.github.com/users/anitagraser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anitagraser/subscriptions","organizations_url":"https://api.github.com/users/anitagraser/orgs","repos_url":"https://api.github.com/users/anitagraser/repos","events_url":"https://api.github.com/users/anitagraser/events{/privacy}","received_events_url":"https://api.github.com/users/anitagraser/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-27T13:00:46Z","updated_at":"2018-10-27T13:00:46Z","closed_at":null,"author_association":"NONE","body":"Using QGIS 3.3, I get the following error trying to create scatter plots or bar plots. (Histograms work fine.) The data is from NaturalEarth (ne_110m_populated_places dataset) and the fields I'm trying to use are numeric.\r\n\r\n```\r\n2018-10-27T14:57:15     WARNING    Traceback (most recent call last):\r\n              File \"C:/Users/anita/AppData/Roaming/QGIS/QGIS3\\profiles\\default/python/plugins\\DataPlotly\\data_plotly_dialog.py\", line 1000, in createPlot\r\n              self.plotProperties()\r\n              File \"C:/Users/anita/AppData/Roaming/QGIS/QGIS3\\profiles\\default/python/plugins\\DataPlotly\\data_plotly_dialog.py\", line 973, in plotProperties\r\n              self.plotobject.buildTrace()\r\n              File \"C:/Users/anita/AppData/Roaming/QGIS/QGIS3\\profiles\\default/python/plugins\\DataPlotly\\data_plotly_plot.py\", line 189, in buildTrace\r\n              opacity=self.plot_properties['opacity']\r\n              File \"C:\\OSGEO4~1\\apps\\Python37\\lib\\site-packages\\plotly\\graph_objs\\_scatter.py\", line 2285, in __init__\r\n              self['customdata'] = customdata if customdata is not None else _v\r\n              File \"C:\\OSGEO4~1\\apps\\Python37\\lib\\site-packages\\plotly\\basedatatypes.py\", line 2775, in __setitem__\r\n              self._set_prop(prop, value)\r\n              File \"C:\\OSGEO4~1\\apps\\Python37\\lib\\site-packages\\plotly\\basedatatypes.py\", line 3011, in _set_prop\r\n              raise err\r\n              File \"C:\\OSGEO4~1\\apps\\Python37\\lib\\site-packages\\plotly\\basedatatypes.py\", line 3006, in _set_prop\r\n              val = validator.validate_coerce(val)\r\n              File \"C:\\OSGEO4~1\\apps\\Python37\\lib\\site-packages\\_plotly_utils\\basevalidators.py\", line 341, in validate_coerce\r\n              self.raise_invalid_val(v)\r\n              File \"C:\\OSGEO4~1\\apps\\Python37\\lib\\site-packages\\_plotly_utils\\basevalidators.py\", line 244, in raise_invalid_val\r\n              valid_clr_desc=self.description()))\r\n             ValueError: \r\n              Invalid value of type 'builtins.str' received for the 'customdata' property of scatter\r\n              Received value: 'POP1975'\r\n             \r\n              The 'customdata' property is an array that may be specified as a tuple,\r\n              list, numpy array, or pandas Series\r\n```"}}
{"actor":{"display_login":"anitagraser"}}