{"action":"created","issue":{"url":"https://api.github.com/repos/v0dro/daru/issues/213","repository_url":"https://api.github.com/repos/v0dro/daru","labels_url":"https://api.github.com/repos/v0dro/daru/issues/213/labels{/name}","comments_url":"https://api.github.com/repos/v0dro/daru/issues/213/comments","events_url":"https://api.github.com/repos/v0dro/daru/issues/213/events","html_url":"https://github.com/v0dro/daru/issues/213","id":171387824,"number":213,"title":"Display problems when vector is empty","user":{"login":"lokeshh","id":7677524,"avatar_url":"https://avatars.githubusercontent.com/u/7677524?v=3","gravatar_id":"","url":"https://api.github.com/users/lokeshh","html_url":"https://github.com/lokeshh","followers_url":"https://api.github.com/users/lokeshh/followers","following_url":"https://api.github.com/users/lokeshh/following{/other_user}","gists_url":"https://api.github.com/users/lokeshh/gists{/gist_id}","starred_url":"https://api.github.com/users/lokeshh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lokeshh/subscriptions","organizations_url":"https://api.github.com/users/lokeshh/orgs","repos_url":"https://api.github.com/users/lokeshh/repos","events_url":"https://api.github.com/users/lokeshh/events{/privacy}","received_events_url":"https://api.github.com/users/lokeshh/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/v0dro/daru/labels/bug:%20minor","name":"bug: minor","color":"e99695"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-16T11:42:50Z","updated_at":"2016-08-20T07:26:40Z","closed_at":"2016-08-20T07:26:40Z","body":"There are display problem with empty vector.\r\n\r\nFor example:\r\n\r\n```ruby\r\n[1] pry(main)> dv = Daru::Vector.new []\r\n=> #<Daru::Plotting::Vector::NyaplotLibrary:0x13ae50c>\r\n[2] pry(main)> dv.inspect\r\nArgumentError: comparison of NilClass with 3 failed\r\nfrom /home/ubuntu/workspace/daru/lib/daru/formatters/table.rb:43:in `each'\r\n```"},"comment":{"url":"https://api.github.com/repos/v0dro/daru/issues/comments/241184871","html_url":"https://github.com/v0dro/daru/issues/213#issuecomment-241184871","issue_url":"https://api.github.com/repos/v0dro/daru/issues/213","id":241184871,"user":{"login":"v0dro","id":2629909,"avatar_url":"https://avatars.githubusercontent.com/u/2629909?v=3","gravatar_id":"","url":"https://api.github.com/users/v0dro","html_url":"https://github.com/v0dro","followers_url":"https://api.github.com/users/v0dro/followers","following_url":"https://api.github.com/users/v0dro/following{/other_user}","gists_url":"https://api.github.com/users/v0dro/gists{/gist_id}","starred_url":"https://api.github.com/users/v0dro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/v0dro/subscriptions","organizations_url":"https://api.github.com/users/v0dro/orgs","repos_url":"https://api.github.com/users/v0dro/repos","events_url":"https://api.github.com/users/v0dro/events{/privacy}","received_events_url":"https://api.github.com/users/v0dro/received_events","type":"User","site_admin":false},"created_at":"2016-08-20T07:26:40Z","updated_at":"2016-08-20T07:26:40Z","body":"https://github.com/v0dro/daru/commit/d1d778961b9577fe55d622cb84f86e3e65ec4c49"}}
{"actor":{"display_login":"v0dro"}}