{"action":"created","issue":{"url":"https://api.github.com/repos/plotly/MATLAB-api/issues/94","repository_url":"https://api.github.com/repos/plotly/MATLAB-api","labels_url":"https://api.github.com/repos/plotly/MATLAB-api/issues/94/labels{/name}","comments_url":"https://api.github.com/repos/plotly/MATLAB-api/issues/94/comments","events_url":"https://api.github.com/repos/plotly/MATLAB-api/issues/94/events","html_url":"https://github.com/plotly/MATLAB-api/issues/94","id":143119929,"number":94,"title":"scatter with one point does not show in offline plots","user":{"login":"alexfun","id":10070379,"avatar_url":"https://avatars.githubusercontent.com/u/10070379?v=3","gravatar_id":"","url":"https://api.github.com/users/alexfun","html_url":"https://github.com/alexfun","followers_url":"https://api.github.com/users/alexfun/followers","following_url":"https://api.github.com/users/alexfun/following{/other_user}","gists_url":"https://api.github.com/users/alexfun/gists{/gist_id}","starred_url":"https://api.github.com/users/alexfun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexfun/subscriptions","organizations_url":"https://api.github.com/users/alexfun/orgs","repos_url":"https://api.github.com/users/alexfun/repos","events_url":"https://api.github.com/users/alexfun/events{/privacy}","received_events_url":"https://api.github.com/users/alexfun/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-03-24T01:22:05Z","updated_at":"2016-03-31T00:07:25Z","closed_at":null,"body":"In Matlab 2015b:\r\n\r\n```\r\nscatter(1, 1)\r\np = fig2plotly(gcf, 'offline', true, 'strip', false)\r\np.data{1}.x = [p.data{1}.x, p.data{1}.x]\r\np.data{1}.y = [p.data{1}.x, p.data{1}.y]\r\np.plotly\r\n```\r\n\r\nThe first plot does not show any data points. Duplicating the data point, then calling p.plotly again forces the point to show."},"comment":{"url":"https://api.github.com/repos/plotly/MATLAB-api/issues/comments/203691340","html_url":"https://github.com/plotly/MATLAB-api/issues/94#issuecomment-203691340","issue_url":"https://api.github.com/repos/plotly/MATLAB-api/issues/94","id":203691340,"user":{"login":"alexfun","id":10070379,"avatar_url":"https://avatars.githubusercontent.com/u/10070379?v=3","gravatar_id":"","url":"https://api.github.com/users/alexfun","html_url":"https://github.com/alexfun","followers_url":"https://api.github.com/users/alexfun/followers","following_url":"https://api.github.com/users/alexfun/following{/other_user}","gists_url":"https://api.github.com/users/alexfun/gists{/gist_id}","starred_url":"https://api.github.com/users/alexfun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexfun/subscriptions","organizations_url":"https://api.github.com/users/alexfun/orgs","repos_url":"https://api.github.com/users/alexfun/repos","events_url":"https://api.github.com/users/alexfun/events{/privacy}","received_events_url":"https://api.github.com/users/alexfun/received_events","type":"User","site_admin":false},"created_at":"2016-03-31T00:07:25Z","updated_at":"2016-03-31T00:07:25Z","body":"This problem persists even when plot is used:\r\n\r\n```\r\nplot(1, 1, 'v')\r\np = fig2plotly(gcf, 'offline', true, 'strip', false)\r\n```"}}