{"action":"created","comment":{"url":"https://api.github.com/repos/SciTools/cube_browser/pulls/comments/65147011","id":65147011,"diff_hunk":"@@ -19,19 +19,42 @@ class Test__call__(tests.IrisTest):\n     def setUp(self):\n         self.cube = realistic_3d()\n         self.coords = ('grid_longitude', 'grid_latitude')\n-        for coord in self.coords:\n-            self.cube.coord(coord).guess_bounds()\n+        self.projection = iplt.default_projection(self.cube)\n \n-    def test_plot_type(self):\n-        projection = iplt.default_projection(self.cube)\n-        ax = plt.subplot(111, projection=projection)\n+    def test_without_bounds(self):\n+        for coord in self.coords:\n+            coord = self.cube.coord(coord)\n+            coord.bounds = None\n+        ax = plt.subplot(111, projection=self.projection)\n+        plot = Pcolormesh(self.cube, ax, coords=self.coords)\n+        for index in range(self.cube.shape[0]):\n+            element = plot(time=index)\n+            self.assertIsInstance(element, QuadMesh)\n+            self.assertEqual(element, plot.element)\n+            self.assertIsInstance(plot.axes, GeoAxesSubplot)\n+            self.assertEqual(ax, plot.axes)\n+            for coord in self.coords:\n+                self.assertTrue(plot.subcube.coord(coord).has_bounds())","path":"lib/cube_browser/tests/unit/test_Pcolormesh.py","position":24,"original_position":24,"commit_id":"b790db236ca46abdc29d49b574a4ab47b2befc1b","original_commit_id":"b790db236ca46abdc29d49b574a4ab47b2befc1b","user":{"login":"bjlittle","id":2051656,"avatar_url":"https://avatars.githubusercontent.com/u/2051656?v=3","gravatar_id":"","url":"https://api.github.com/users/bjlittle","html_url":"https://github.com/bjlittle","followers_url":"https://api.github.com/users/bjlittle/followers","following_url":"https://api.github.com/users/bjlittle/following{/other_user}","gists_url":"https://api.github.com/users/bjlittle/gists{/gist_id}","starred_url":"https://api.github.com/users/bjlittle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bjlittle/subscriptions","organizations_url":"https://api.github.com/users/bjlittle/orgs","repos_url":"https://api.github.com/users/bjlittle/repos","events_url":"https://api.github.com/users/bjlittle/events{/privacy}","received_events_url":"https://api.github.com/users/bjlittle/received_events","type":"User","site_admin":false},"body":"@corinnebosley This test ensures that the input cube has no bounds, but the point of the test is to exercise the [Pcolormesh.draw (L467-L475)](https://github.com/SciTools/cube_browser/blob/master/lib/cube_browser/__init__.py#L467-L475) method, which **adds** bounds to the *subcube* if they are missing ... which in this case they are.","created_at":"2016-05-31T09:12:44Z","updated_at":"2016-05-31T09:12:44Z","html_url":"https://github.com/SciTools/cube_browser/pull/63#discussion_r65147011","pull_request_url":"https://api.github.com/repos/SciTools/cube_browser/pulls/63","_links":{"self":{"href":"https://api.github.com/repos/SciTools/cube_browser/pulls/comments/65147011"},"html":{"href":"https://github.com/SciTools/cube_browser/pull/63#discussion_r65147011"},"pull_request":{"href":"https://api.github.com/repos/SciTools/cube_browser/pulls/63"}}},"pull_request":{"url":"https://api.github.com/repos/SciTools/cube_browser/pulls/63","id":71839161,"html_url":"https://github.com/SciTools/cube_browser/pull/63","diff_url":"https://github.com/SciTools/cube_browser/pull/63.diff","patch_url":"https://github.com/SciTools/cube_browser/pull/63.patch","issue_url":"https://api.github.com/repos/SciTools/cube_browser/issues/63","number":63,"state":"open","locked":false,"title":"Added Pcolormesh with/without bounds tests.","user":{"login":"bjlittle","id":2051656,"avatar_url":"https://avatars.githubusercontent.com/u/2051656?v=3","gravatar_id":"","url":"https://api.github.com/users/bjlittle","html_url":"https://github.com/bjlittle","followers_url":"https://api.github.com/users/bjlittle/followers","following_url":"https://api.github.com/users/bjlittle/following{/other_user}","gists_url":"https://api.github.com/users/bjlittle/gists{/gist_id}","starred_url":"https://api.github.com/users/bjlittle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bjlittle/subscriptions","organizations_url":"https://api.github.com/users/bjlittle/orgs","repos_url":"https://api.github.com/users/bjlittle/repos","events_url":"https://api.github.com/users/bjlittle/events{/privacy}","received_events_url":"https://api.github.com/users/bjlittle/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-05-29T22:00:02Z","updated_at":"2016-05-31T09:12:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b20e934b22fe60e59fabf275e13a74002cc1df8d","assignee":{"login":"corinnebosley","id":16920510,"avatar_url":"https://avatars.githubusercontent.com/u/16920510?v=3","gravatar_id":"","url":"https://api.github.com/users/corinnebosley","html_url":"https://github.com/corinnebosley","followers_url":"https://api.github.com/users/corinnebosley/followers","following_url":"https://api.github.com/users/corinnebosley/following{/other_user}","gists_url":"https://api.github.com/users/corinnebosley/gists{/gist_id}","starred_url":"https://api.github.com/users/corinnebosley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/corinnebosley/subscriptions","organizations_url":"https://api.github.com/users/corinnebosley/orgs","repos_url":"https://api.github.com/users/corinnebosley/repos","events_url":"https://api.github.com/users/corinnebosley/events{/privacy}","received_events_url":"https://api.github.com/users/corinnebosley/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/SciTools/cube_browser/pulls/63/commits","review_comments_url":"https://api.github.com/repos/SciTools/cube_browser/pulls/63/comments","review_comment_url":"https://api.github.com/repos/SciTools/cube_browser/pulls/comments{/number}","comments_url":"https://api.github.com/repos/SciTools/cube_browser/issues/63/comments","statuses_url":"https://api.github.com/repos/SciTools/cube_browser/statuses/b790db236ca46abdc29d49b574a4ab47b2befc1b","head":{"label":"bjlittle:pcolormesh-test-case","ref":"pcolormesh-test-case","sha":"b790db236ca46abdc29d49b574a4ab47b2befc1b","user":{"login":"bjlittle","id":2051656,"avatar_url":"https://avatars.githubusercontent.com/u/2051656?v=3","gravatar_id":"","url":"https://api.github.com/users/bjlittle","html_url":"https://github.com/bjlittle","followers_url":"https://api.github.com/users/bjlittle/followers","following_url":"https://api.github.com/users/bjlittle/following{/other_user}","gists_url":"https://api.github.com/users/bjlittle/gists{/gist_id}","starred_url":"https://api.github.com/users/bjlittle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bjlittle/subscriptions","organizations_url":"https://api.github.com/users/bjlittle/orgs","repos_url":"https://api.github.com/users/bjlittle/repos","events_url":"https://api.github.com/users/bjlittle/events{/privacy}","received_events_url":"https://api.github.com/users/bjlittle/received_events","type":"User","site_admin":false},"repo":{"id":56608681,"name":"cube_browser","full_name":"bjlittle/cube_browser","owner":{"login":"bjlittle","id":2051656,"avatar_url":"https://avatars.githubusercontent.com/u/2051656?v=3","gravatar_id":"","url":"https://api.github.com/users/bjlittle","html_url":"https://github.com/bjlittle","followers_url":"https://api.github.com/users/bjlittle/followers","following_url":"https://api.github.com/users/bjlittle/following{/other_user}","gists_url":"https://api.github.com/users/bjlittle/gists{/gist_id}","starred_url":"https://api.github.com/users/bjlittle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bjlittle/subscriptions","organizations_url":"https://api.github.com/users/bjlittle/orgs","repos_url":"https://api.github.com/users/bjlittle/repos","events_url":"https://api.github.com/users/bjlittle/events{/privacy}","received_events_url":"https://api.github.com/users/bjlittle/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bjlittle/cube_browser","description":"Interactive browsing of Iris cubes ","fork":true,"url":"https://api.github.com/repos/bjlittle/cube_browser","forks_url":"https://api.github.com/repos/bjlittle/cube_browser/forks","keys_url":"https://api.github.com/repos/bjlittle/cube_browser/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bjlittle/cube_browser/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bjlittle/cube_browser/teams","hooks_url":"https://api.github.com/repos/bjlittle/cube_browser/hooks","issue_events_url":"https://api.github.com/repos/bjlittle/cube_browser/issues/events{/number}","events_url":"https://api.github.com/repos/bjlittle/cube_browser/events","assignees_url":"https://api.github.com/repos/bjlittle/cube_browser/assignees{/user}","branches_url":"https://api.github.com/repos/bjlittle/cube_browser/branches{/branch}","tags_url":"https://api.github.com/repos/bjlittle/cube_browser/tags","blobs_url":"https://api.github.com/repos/bjlittle/cube_browser/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bjlittle/cube_browser/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bjlittle/cube_browser/git/refs{/sha}","trees_url":"https://api.github.com/repos/bjlittle/cube_browser/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bjlittle/cube_browser/statuses/{sha}","languages_url":"https://api.github.com/repos/bjlittle/cube_browser/languages","stargazers_url":"https://api.github.com/repos/bjlittle/cube_browser/stargazers","contributors_url":"https://api.github.com/repos/bjlittle/cube_browser/contributors","subscribers_url":"https://api.github.com/repos/bjlittle/cube_browser/subscribers","subscription_url":"https://api.github.com/repos/bjlittle/cube_browser/subscription","commits_url":"https://api.github.com/repos/bjlittle/cube_browser/commits{/sha}","git_commits_url":"https://api.github.com/repos/bjlittle/cube_browser/git/commits{/sha}","comments_url":"https://api.github.com/repos/bjlittle/cube_browser/comments{/number}","issue_comment_url":"https://api.github.com/repos/bjlittle/cube_browser/issues/comments{/number}","contents_url":"https://api.github.com/repos/bjlittle/cube_browser/contents/{+path}","compare_url":"https://api.github.com/repos/bjlittle/cube_browser/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bjlittle/cube_browser/merges","archive_url":"https://api.github.com/repos/bjlittle/cube_browser/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bjlittle/cube_browser/downloads","issues_url":"https://api.github.com/repos/bjlittle/cube_browser/issues{/number}","pulls_url":"https://api.github.com/repos/bjlittle/cube_browser/pulls{/number}","milestones_url":"https://api.github.com/repos/bjlittle/cube_browser/milestones{/number}","notifications_url":"https://api.github.com/repos/bjlittle/cube_browser/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bjlittle/cube_browser/labels{/name}","releases_url":"https://api.github.com/repos/bjlittle/cube_browser/releases{/id}","deployments_url":"https://api.github.com/repos/bjlittle/cube_browser/deployments","created_at":"2016-04-19T15:25:58Z","updated_at":"2016-04-19T15:23:49Z","pushed_at":"2016-05-29T23:08:13Z","git_url":"git://github.com/bjlittle/cube_browser.git","ssh_url":"git@github.com:bjlittle/cube_browser.git","clone_url":"https://github.com/bjlittle/cube_browser.git","svn_url":"https://github.com/bjlittle/cube_browser","homepage":null,"size":977,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"SciTools:master","ref":"master","sha":"1fffe34f843801bd82203eba12df1604919ed56c","user":{"login":"SciTools","id":1391487,"avatar_url":"https://avatars.githubusercontent.com/u/1391487?v=3","gravatar_id":"","url":"https://api.github.com/users/SciTools","html_url":"https://github.com/SciTools","followers_url":"https://api.github.com/users/SciTools/followers","following_url":"https://api.github.com/users/SciTools/following{/other_user}","gists_url":"https://api.github.com/users/SciTools/gists{/gist_id}","starred_url":"https://api.github.com/users/SciTools/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SciTools/subscriptions","organizations_url":"https://api.github.com/users/SciTools/orgs","repos_url":"https://api.github.com/users/SciTools/repos","events_url":"https://api.github.com/users/SciTools/events{/privacy}","received_events_url":"https://api.github.com/users/SciTools/received_events","type":"Organization","site_admin":false},"repo":{"id":56608489,"name":"cube_browser","full_name":"SciTools/cube_browser","owner":{"login":"SciTools","id":1391487,"avatar_url":"https://avatars.githubusercontent.com/u/1391487?v=3","gravatar_id":"","url":"https://api.github.com/users/SciTools","html_url":"https://github.com/SciTools","followers_url":"https://api.github.com/users/SciTools/followers","following_url":"https://api.github.com/users/SciTools/following{/other_user}","gists_url":"https://api.github.com/users/SciTools/gists{/gist_id}","starred_url":"https://api.github.com/users/SciTools/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SciTools/subscriptions","organizations_url":"https://api.github.com/users/SciTools/orgs","repos_url":"https://api.github.com/users/SciTools/repos","events_url":"https://api.github.com/users/SciTools/events{/privacy}","received_events_url":"https://api.github.com/users/SciTools/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/SciTools/cube_browser","description":"Interactive browsing of Iris cubes ","fork":false,"url":"https://api.github.com/repos/SciTools/cube_browser","forks_url":"https://api.github.com/repos/SciTools/cube_browser/forks","keys_url":"https://api.github.com/repos/SciTools/cube_browser/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SciTools/cube_browser/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SciTools/cube_browser/teams","hooks_url":"https://api.github.com/repos/SciTools/cube_browser/hooks","issue_events_url":"https://api.github.com/repos/SciTools/cube_browser/issues/events{/number}","events_url":"https://api.github.com/repos/SciTools/cube_browser/events","assignees_url":"https://api.github.com/repos/SciTools/cube_browser/assignees{/user}","branches_url":"https://api.github.com/repos/SciTools/cube_browser/branches{/branch}","tags_url":"https://api.github.com/repos/SciTools/cube_browser/tags","blobs_url":"https://api.github.com/repos/SciTools/cube_browser/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SciTools/cube_browser/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SciTools/cube_browser/git/refs{/sha}","trees_url":"https://api.github.com/repos/SciTools/cube_browser/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SciTools/cube_browser/statuses/{sha}","languages_url":"https://api.github.com/repos/SciTools/cube_browser/languages","stargazers_url":"https://api.github.com/repos/SciTools/cube_browser/stargazers","contributors_url":"https://api.github.com/repos/SciTools/cube_browser/contributors","subscribers_url":"https://api.github.com/repos/SciTools/cube_browser/subscribers","subscription_url":"https://api.github.com/repos/SciTools/cube_browser/subscription","commits_url":"https://api.github.com/repos/SciTools/cube_browser/commits{/sha}","git_commits_url":"https://api.github.com/repos/SciTools/cube_browser/git/commits{/sha}","comments_url":"https://api.github.com/repos/SciTools/cube_browser/comments{/number}","issue_comment_url":"https://api.github.com/repos/SciTools/cube_browser/issues/comments{/number}","contents_url":"https://api.github.com/repos/SciTools/cube_browser/contents/{+path}","compare_url":"https://api.github.com/repos/SciTools/cube_browser/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SciTools/cube_browser/merges","archive_url":"https://api.github.com/repos/SciTools/cube_browser/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SciTools/cube_browser/downloads","issues_url":"https://api.github.com/repos/SciTools/cube_browser/issues{/number}","pulls_url":"https://api.github.com/repos/SciTools/cube_browser/pulls{/number}","milestones_url":"https://api.github.com/repos/SciTools/cube_browser/milestones{/number}","notifications_url":"https://api.github.com/repos/SciTools/cube_browser/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SciTools/cube_browser/labels{/name}","releases_url":"https://api.github.com/repos/SciTools/cube_browser/releases{/id}","deployments_url":"https://api.github.com/repos/SciTools/cube_browser/deployments","created_at":"2016-04-19T15:23:49Z","updated_at":"2016-05-18T12:36:19Z","pushed_at":"2016-05-31T09:05:37Z","git_url":"git://github.com/SciTools/cube_browser.git","ssh_url":"git@github.com:SciTools/cube_browser.git","clone_url":"https://github.com/SciTools/cube_browser.git","svn_url":"https://github.com/SciTools/cube_browser","homepage":null,"size":1029,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":12,"forks":4,"open_issues":12,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/SciTools/cube_browser/pulls/63"},"html":{"href":"https://github.com/SciTools/cube_browser/pull/63"},"issue":{"href":"https://api.github.com/repos/SciTools/cube_browser/issues/63"},"comments":{"href":"https://api.github.com/repos/SciTools/cube_browser/issues/63/comments"},"review_comments":{"href":"https://api.github.com/repos/SciTools/cube_browser/pulls/63/comments"},"review_comment":{"href":"https://api.github.com/repos/SciTools/cube_browser/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/SciTools/cube_browser/pulls/63/commits"},"statuses":{"href":"https://api.github.com/repos/SciTools/cube_browser/statuses/b790db236ca46abdc29d49b574a4ab47b2befc1b"}}}}
{"actor":{"display_login":"bjlittle"}}