{"action":"created","comment":{"url":"https://api.github.com/repos/monfera/plotly.js/pulls/comments/58560760","id":58560760,"diff_hunk":"@@ -28,4 +29,215 @@ describe('calculated data and points', function() {\n             expect(gd.calcdata[0][3]).toEqual({ x: false, y: false});\n         });\n     });\n+\n+    xdescribe('category ordering', function() {\n+\n+        describe('default category ordering reified', function() {\n+\n+            it('should output categories in the given order by default', function() {\n+\n+                Plotly.plot(gd, [{x: ['c','a','e','b','d'], y: [15,11,12,13,14]}], { xaxis: {\n+                    type: 'category'\n+                }});\n+\n+                expect(gd.calcdata[0][0].y).toEqual(15);\n+                expect(gd.calcdata[0][1].y).toEqual(11);\n+                expect(gd.calcdata[0][2].y).toEqual(12);\n+                expect(gd.calcdata[0][3].y).toEqual(13);\n+                expect(gd.calcdata[0][4].y).toEqual(14);\n+            });\n+\n+            it('should output categories in the given order if `trace` order is explicitly specified', function() {\n+\n+                Plotly.plot(gd, [{x: ['c','a','e','b','d'], y: [15,11,12,13,14]}], { xaxis: {\n+                    type: 'category',\n+                    categorymode: 'trace'\n+                    // Wouldn't it be preferred to supply a function and plotly would have several functions like this?\n+                    // E.g. it's easier for symbol completion (whereas there's no symbol completion on string config)\n+                    // See arguments from Mike Bostock, highlighted in medium green here:\n+                    // https://medium.com/@mbostock/what-makes-software-good-943557f8a488#eef9\n+                    // Plus if it's a function, then users can roll their own.\n+                    //\n+                    // Also, if axis tick order is made configurable, shouldn't we make trace order configurable?\n+                    // Trace order as in, if a line or curve is drawn through points, what's the trace sequence.\n+                    // These are two orthogonal concepts. In this round, I'm assuming that the trace order is implied\n+                    // by the order the {x,y} arrays are specified.\n+                }});\n+\n+                expect(gd.calcdata[0][0].y).toEqual(15);\n+                expect(gd.calcdata[0][1].y).toEqual(11);\n+                expect(gd.calcdata[0][2].y).toEqual(12);\n+                expect(gd.calcdata[0][3].y).toEqual(13);\n+                expect(gd.calcdata[0][4].y).toEqual(14);\n+            });\n+        });\n+\n+        describe('domain alphanumerical category ordering', function() {\n+\n+            it('should output categories in ascending domain alphanumerical order', function() {\n+\n+                Plotly.plot(gd, [{x: ['c','a','e','b','d'], y: [15,11,12,13,14]}], { xaxis: {\n+                    type: 'category',\n+                    categorymode: 'category ascending'\n+                }});\n+\n+                expect(gd.calcdata[0][0].y).toEqual(11);\n+                expect(gd.calcdata[0][1].y).toEqual(13);\n+                expect(gd.calcdata[0][2].y).toEqual(15);\n+                expect(gd.calcdata[0][3].y).toEqual(14);\n+                expect(gd.calcdata[0][4].y).toEqual(12);\n+            });\n+\n+            it('should output categories in descending domain alphanumerical order', function() {\n+\n+                Plotly.plot(gd, [{x: ['c','a','e','b','d'], y: [15,11,12,13,14]}], { xaxis: {\n+                    type: 'category',\n+                    categorymode: 'category descending'\n+                }});\n+\n+                expect(gd.calcdata[0][0].y).toEqual(12);\n+                expect(gd.calcdata[0][1].y).toEqual(14);\n+                expect(gd.calcdata[0][2].y).toEqual(15);\n+                expect(gd.calcdata[0][3].y).toEqual(13);\n+                expect(gd.calcdata[0][4].y).toEqual(11);\n+            });\n+\n+            it('should output categories in categorymode order even if category array is defined', function() {\n+\n+                Plotly.plot(gd, [{x: ['c','a','e','b','d'], y: [15,11,12,13,14]}], { xaxis: {\n+                    type: 'category',\n+                    categorymode: 'category ascending',\n+                    categorylist: ['b','a','d','e','c'] // These must be ignored. Alternative: error?\n+                }});\n+\n+                expect(gd.calcdata[0][0].y).toEqual(11);\n+                expect(gd.calcdata[0][1].y).toEqual(13);\n+                expect(gd.calcdata[0][2].y).toEqual(15);\n+                expect(gd.calcdata[0][3].y).toEqual(14);\n+                expect(gd.calcdata[0][4].y).toEqual(12);\n+            });\n+\n+            it('should output categories in ascending domain alphanumerical order, excluding undefined', function() {\n+\n+                Plotly.plot(gd, [{x: ['c',undefined,'e','b','d'], y: [15,11,12,13,14]}], { xaxis: {\n+                    type: 'category',\n+                    categorymode: 'category ascending'\n+                }});\n+\n+                expect(gd.calcdata[0][0].y).toEqual(11);\n+                expect(gd.calcdata[0][1].y).toEqual(15);\n+                expect(gd.calcdata[0][2].y).toEqual(14);\n+                expect(gd.calcdata[0][3].y).toEqual(12);\n+            });\n+        });\n+\n+        describe('codomain numerical category ordering', function() {\n+\n+            it('should output categories in ascending codomain numerical order', function() {\n+\n+                Plotly.plot(gd, [{x: ['c','a','e','b','d'], y: [15,11,12,13,14]}], { xaxis: {\n+                    type: 'category',\n+                    categorymode: 'value ascending'\n+                }});\n+\n+                expect(gd.calcdata[0][0].y).toEqual(11);\n+                expect(gd.calcdata[0][1].y).toEqual(12);\n+                expect(gd.calcdata[0][2].y).toEqual(13);\n+                expect(gd.calcdata[0][3].y).toEqual(14);\n+                expect(gd.calcdata[0][4].y).toEqual(15);\n+            });\n+\n+            it('should output categories in descending codomain numerical order', function() {\n+\n+                Plotly.plot(gd, [{x: ['c','a','e','b','d'], y: [15,11,12,13,14]}], { xaxis: {\n+                    type: 'category',\n+                    categorymode: 'value descending'\n+                }});\n+\n+                expect(gd.calcdata[0][0].y).toEqual(15);\n+                expect(gd.calcdata[0][1].y).toEqual(14);\n+                expect(gd.calcdata[0][2].y).toEqual(13);\n+                expect(gd.calcdata[0][3].y).toEqual(12);\n+                expect(gd.calcdata[0][4].y).toEqual(11);\n+            });\n+\n+            it('should output categories in descending codomain numerical order, excluding nulls', function() {\n+\n+                Plotly.plot(gd, [{x: ['c','a','e','b','d'], y: [15,11,null,13,14]}], { xaxis: {\n+                    type: 'category',\n+                    categorymode: 'value descending'\n+                }});\n+\n+                expect(gd.calcdata[0][0].y).toEqual(15);\n+                expect(gd.calcdata[0][1].y).toEqual(14);\n+                expect(gd.calcdata[0][2].y).toEqual(12);\n+                expect(gd.calcdata[0][3].y).toEqual(11);\n+\n+            });\n+        });\n+\n+        describe('explicit category ordering', function() {\n+\n+            it('should output categories in explicitly supplied order, independent of trace order', function() {\n+\n+                Plotly.plot(gd, [{x: ['c','a','e','b','d'], y: [15,11,12,13,14]}], { xaxis: {\n+                    type: 'category',\n+                    categorymode: 'array',\n+                    categorylist: ['b','a','d','e','c']\n+                }});\n+\n+                expect(gd.calcdata[0][0].y).toEqual(13);\n+                expect(gd.calcdata[0][1].y).toEqual(11);\n+                expect(gd.calcdata[0][2].y).toEqual(14);\n+                expect(gd.calcdata[0][3].y).toEqual(12);\n+                expect(gd.calcdata[0][4].y).toEqual(15);\n+            });\n+\n+            it('should output categories in explicitly supplied order, independent of trace order, pruned', function() {\n+\n+                Plotly.plot(gd, [{x: ['c',undefined,'e','b','d'], y: [15,11,12,null,14]}], { xaxis: {\n+                    type: 'category',\n+                    categorymode: 'array',\n+                    categorylist: ['b','a','d','e','c']\n+                }});\n+\n+                expect(gd.calcdata[0][0].y).toEqual(13);\n+                expect(gd.calcdata[0][1].y).toEqual(14);\n+                expect(gd.calcdata[0][2].y).toEqual(15);\n+            });\n+\n+            it('should output categories in explicitly supplied order even if not all categories are present', function() {\n+\n+                Plotly.plot(gd, [{x: ['c','a','e','b','d'], y: [15,11,12,13,14]}], { xaxis: {\n+                    type: 'category',\n+                    categorymode: 'array',\n+                    categorylist: ['y','b','x','a','d','z','e','c']\n+                }});\n+\n+                expect(gd.calcdata[0][0].y).toEqual(13);","path":"test/jasmine/tests/calcdata_test.js","position":212,"original_position":212,"commit_id":"9c366ce959b604ca55c09ddf49b357e712fcf0eb","original_commit_id":"9c366ce959b604ca55c09ddf49b357e712fcf0eb","user":{"login":"etpinard","id":6675409,"avatar_url":"https://avatars.githubusercontent.com/u/6675409?v=3","gravatar_id":"","url":"https://api.github.com/users/etpinard","html_url":"https://github.com/etpinard","followers_url":"https://api.github.com/users/etpinard/followers","following_url":"https://api.github.com/users/etpinard/following{/other_user}","gists_url":"https://api.github.com/users/etpinard/gists{/gist_id}","starred_url":"https://api.github.com/users/etpinard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/etpinard/subscriptions","organizations_url":"https://api.github.com/users/etpinard/orgs","repos_url":"https://api.github.com/users/etpinard/repos","events_url":"https://api.github.com/users/etpinard/events{/privacy}","received_events_url":"https://api.github.com/users/etpinard/received_events","type":"User","site_admin":false},"body":"Same here.\r\n\r\nSpecified categories in `categorylist` that don't have associated values in the `data` should be understood as `null`. ","created_at":"2016-04-05T15:35:27Z","updated_at":"2016-04-05T15:35:27Z","html_url":"https://github.com/monfera/plotly.js/pull/1#discussion_r58560760","pull_request_url":"https://api.github.com/repos/monfera/plotly.js/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/monfera/plotly.js/pulls/comments/58560760"},"html":{"href":"https://github.com/monfera/plotly.js/pull/1#discussion_r58560760"},"pull_request":{"href":"https://api.github.com/repos/monfera/plotly.js/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/monfera/plotly.js/pulls/1","id":64485998,"html_url":"https://github.com/monfera/plotly.js/pull/1","diff_url":"https://github.com/monfera/plotly.js/pull/1.diff","patch_url":"https://github.com/monfera/plotly.js/pull/1.patch","issue_url":"https://api.github.com/repos/monfera/plotly.js/issues/1","number":1,"state":"open","locked":false,"title":"189 ordinal scale domain item ordering","user":{"login":"monfera","id":1548516,"avatar_url":"https://avatars.githubusercontent.com/u/1548516?v=3","gravatar_id":"","url":"https://api.github.com/users/monfera","html_url":"https://github.com/monfera","followers_url":"https://api.github.com/users/monfera/followers","following_url":"https://api.github.com/users/monfera/following{/other_user}","gists_url":"https://api.github.com/users/monfera/gists{/gist_id}","starred_url":"https://api.github.com/users/monfera/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/monfera/subscriptions","organizations_url":"https://api.github.com/users/monfera/orgs","repos_url":"https://api.github.com/users/monfera/repos","events_url":"https://api.github.com/users/monfera/events{/privacy}","received_events_url":"https://api.github.com/users/monfera/received_events","type":"User","site_admin":false},"body":"Initial, minimal changeset for demonstrating the categorymode = 'array' option.\r\n\r\nTest: \r\n\r\n```\r\nPlotly.newPlot('embedded-graph', [\r\n            {x: ['a','b',    'd','e','f'    ], y: [100,110,    130,140,150    ]},\r\n            {x: ['a',    'c',    'e','f','g'], y: [101,    121,    141,151,161]}],\r\n            {xaxis: {type: 'category', categorymode: 'array', categorylist: ['a','b','c','d','e','f','g']}}\r\n        );\r\n```\r\n\r\nshould output \r\n![image](https://cloud.githubusercontent.com/assets/1548516/14113850/f8db6410-f5d4-11e5-95e7-14528f72a090.png)\r\n","created_at":"2016-03-29T15:37:59Z","updated_at":"2016-04-05T15:35:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e98464d34c722dd0336c9dfe79f9b290dd872ed7","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/monfera/plotly.js/pulls/1/commits","review_comments_url":"https://api.github.com/repos/monfera/plotly.js/pulls/1/comments","review_comment_url":"https://api.github.com/repos/monfera/plotly.js/pulls/comments{/number}","comments_url":"https://api.github.com/repos/monfera/plotly.js/issues/1/comments","statuses_url":"https://api.github.com/repos/monfera/plotly.js/statuses/9c366ce959b604ca55c09ddf49b357e712fcf0eb","head":{"label":"monfera:189-ordinal-scale-domain-item-ordering","ref":"189-ordinal-scale-domain-item-ordering","sha":"9c366ce959b604ca55c09ddf49b357e712fcf0eb","user":{"login":"monfera","id":1548516,"avatar_url":"https://avatars.githubusercontent.com/u/1548516?v=3","gravatar_id":"","url":"https://api.github.com/users/monfera","html_url":"https://github.com/monfera","followers_url":"https://api.github.com/users/monfera/followers","following_url":"https://api.github.com/users/monfera/following{/other_user}","gists_url":"https://api.github.com/users/monfera/gists{/gist_id}","starred_url":"https://api.github.com/users/monfera/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/monfera/subscriptions","organizations_url":"https://api.github.com/users/monfera/orgs","repos_url":"https://api.github.com/users/monfera/repos","events_url":"https://api.github.com/users/monfera/events{/privacy}","received_events_url":"https://api.github.com/users/monfera/received_events","type":"User","site_admin":false},"repo":{"id":54498444,"name":"plotly.js","full_name":"monfera/plotly.js","owner":{"login":"monfera","id":1548516,"avatar_url":"https://avatars.githubusercontent.com/u/1548516?v=3","gravatar_id":"","url":"https://api.github.com/users/monfera","html_url":"https://github.com/monfera","followers_url":"https://api.github.com/users/monfera/followers","following_url":"https://api.github.com/users/monfera/following{/other_user}","gists_url":"https://api.github.com/users/monfera/gists{/gist_id}","starred_url":"https://api.github.com/users/monfera/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/monfera/subscriptions","organizations_url":"https://api.github.com/users/monfera/orgs","repos_url":"https://api.github.com/users/monfera/repos","events_url":"https://api.github.com/users/monfera/events{/privacy}","received_events_url":"https://api.github.com/users/monfera/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/monfera/plotly.js","description":"The open source javascript graphing library that powers plotly","fork":true,"url":"https://api.github.com/repos/monfera/plotly.js","forks_url":"https://api.github.com/repos/monfera/plotly.js/forks","keys_url":"https://api.github.com/repos/monfera/plotly.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/monfera/plotly.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/monfera/plotly.js/teams","hooks_url":"https://api.github.com/repos/monfera/plotly.js/hooks","issue_events_url":"https://api.github.com/repos/monfera/plotly.js/issues/events{/number}","events_url":"https://api.github.com/repos/monfera/plotly.js/events","assignees_url":"https://api.github.com/repos/monfera/plotly.js/assignees{/user}","branches_url":"https://api.github.com/repos/monfera/plotly.js/branches{/branch}","tags_url":"https://api.github.com/repos/monfera/plotly.js/tags","blobs_url":"https://api.github.com/repos/monfera/plotly.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/monfera/plotly.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/monfera/plotly.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/monfera/plotly.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/monfera/plotly.js/statuses/{sha}","languages_url":"https://api.github.com/repos/monfera/plotly.js/languages","stargazers_url":"https://api.github.com/repos/monfera/plotly.js/stargazers","contributors_url":"https://api.github.com/repos/monfera/plotly.js/contributors","subscribers_url":"https://api.github.com/repos/monfera/plotly.js/subscribers","subscription_url":"https://api.github.com/repos/monfera/plotly.js/subscription","commits_url":"https://api.github.com/repos/monfera/plotly.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/monfera/plotly.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/monfera/plotly.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/monfera/plotly.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/monfera/plotly.js/contents/{+path}","compare_url":"https://api.github.com/repos/monfera/plotly.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/monfera/plotly.js/merges","archive_url":"https://api.github.com/repos/monfera/plotly.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/monfera/plotly.js/downloads","issues_url":"https://api.github.com/repos/monfera/plotly.js/issues{/number}","pulls_url":"https://api.github.com/repos/monfera/plotly.js/pulls{/number}","milestones_url":"https://api.github.com/repos/monfera/plotly.js/milestones{/number}","notifications_url":"https://api.github.com/repos/monfera/plotly.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/monfera/plotly.js/labels{/name}","releases_url":"https://api.github.com/repos/monfera/plotly.js/releases{/id}","deployments_url":"https://api.github.com/repos/monfera/plotly.js/deployments","created_at":"2016-03-22T18:16:35Z","updated_at":"2016-03-22T18:16:38Z","pushed_at":"2016-04-01T17:35:34Z","git_url":"git://github.com/monfera/plotly.js.git","ssh_url":"git@github.com:monfera/plotly.js.git","clone_url":"https://github.com/monfera/plotly.js.git","svn_url":"https://github.com/monfera/plotly.js","homepage":"https://plot.ly/javascript/","size":101939,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"monfera:master","ref":"master","sha":"c29e81ef1f5d34d7d1e3d4a1a9ba4b2cced68304","user":{"login":"monfera","id":1548516,"avatar_url":"https://avatars.githubusercontent.com/u/1548516?v=3","gravatar_id":"","url":"https://api.github.com/users/monfera","html_url":"https://github.com/monfera","followers_url":"https://api.github.com/users/monfera/followers","following_url":"https://api.github.com/users/monfera/following{/other_user}","gists_url":"https://api.github.com/users/monfera/gists{/gist_id}","starred_url":"https://api.github.com/users/monfera/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/monfera/subscriptions","organizations_url":"https://api.github.com/users/monfera/orgs","repos_url":"https://api.github.com/users/monfera/repos","events_url":"https://api.github.com/users/monfera/events{/privacy}","received_events_url":"https://api.github.com/users/monfera/received_events","type":"User","site_admin":false},"repo":{"id":54498444,"name":"plotly.js","full_name":"monfera/plotly.js","owner":{"login":"monfera","id":1548516,"avatar_url":"https://avatars.githubusercontent.com/u/1548516?v=3","gravatar_id":"","url":"https://api.github.com/users/monfera","html_url":"https://github.com/monfera","followers_url":"https://api.github.com/users/monfera/followers","following_url":"https://api.github.com/users/monfera/following{/other_user}","gists_url":"https://api.github.com/users/monfera/gists{/gist_id}","starred_url":"https://api.github.com/users/monfera/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/monfera/subscriptions","organizations_url":"https://api.github.com/users/monfera/orgs","repos_url":"https://api.github.com/users/monfera/repos","events_url":"https://api.github.com/users/monfera/events{/privacy}","received_events_url":"https://api.github.com/users/monfera/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/monfera/plotly.js","description":"The open source javascript graphing library that powers plotly","fork":true,"url":"https://api.github.com/repos/monfera/plotly.js","forks_url":"https://api.github.com/repos/monfera/plotly.js/forks","keys_url":"https://api.github.com/repos/monfera/plotly.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/monfera/plotly.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/monfera/plotly.js/teams","hooks_url":"https://api.github.com/repos/monfera/plotly.js/hooks","issue_events_url":"https://api.github.com/repos/monfera/plotly.js/issues/events{/number}","events_url":"https://api.github.com/repos/monfera/plotly.js/events","assignees_url":"https://api.github.com/repos/monfera/plotly.js/assignees{/user}","branches_url":"https://api.github.com/repos/monfera/plotly.js/branches{/branch}","tags_url":"https://api.github.com/repos/monfera/plotly.js/tags","blobs_url":"https://api.github.com/repos/monfera/plotly.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/monfera/plotly.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/monfera/plotly.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/monfera/plotly.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/monfera/plotly.js/statuses/{sha}","languages_url":"https://api.github.com/repos/monfera/plotly.js/languages","stargazers_url":"https://api.github.com/repos/monfera/plotly.js/stargazers","contributors_url":"https://api.github.com/repos/monfera/plotly.js/contributors","subscribers_url":"https://api.github.com/repos/monfera/plotly.js/subscribers","subscription_url":"https://api.github.com/repos/monfera/plotly.js/subscription","commits_url":"https://api.github.com/repos/monfera/plotly.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/monfera/plotly.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/monfera/plotly.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/monfera/plotly.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/monfera/plotly.js/contents/{+path}","compare_url":"https://api.github.com/repos/monfera/plotly.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/monfera/plotly.js/merges","archive_url":"https://api.github.com/repos/monfera/plotly.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/monfera/plotly.js/downloads","issues_url":"https://api.github.com/repos/monfera/plotly.js/issues{/number}","pulls_url":"https://api.github.com/repos/monfera/plotly.js/pulls{/number}","milestones_url":"https://api.github.com/repos/monfera/plotly.js/milestones{/number}","notifications_url":"https://api.github.com/repos/monfera/plotly.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/monfera/plotly.js/labels{/name}","releases_url":"https://api.github.com/repos/monfera/plotly.js/releases{/id}","deployments_url":"https://api.github.com/repos/monfera/plotly.js/deployments","created_at":"2016-03-22T18:16:35Z","updated_at":"2016-03-22T18:16:38Z","pushed_at":"2016-04-01T17:35:34Z","git_url":"git://github.com/monfera/plotly.js.git","ssh_url":"git@github.com:monfera/plotly.js.git","clone_url":"https://github.com/monfera/plotly.js.git","svn_url":"https://github.com/monfera/plotly.js","homepage":"https://plot.ly/javascript/","size":101939,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/monfera/plotly.js/pulls/1"},"html":{"href":"https://github.com/monfera/plotly.js/pull/1"},"issue":{"href":"https://api.github.com/repos/monfera/plotly.js/issues/1"},"comments":{"href":"https://api.github.com/repos/monfera/plotly.js/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/monfera/plotly.js/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/monfera/plotly.js/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/monfera/plotly.js/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/monfera/plotly.js/statuses/9c366ce959b604ca55c09ddf49b357e712fcf0eb"}}}}