{"action":"created","issue":{"url":"https://api.github.com/repos/tdhock/animint/issues/67","labels_url":"https://api.github.com/repos/tdhock/animint/issues/67/labels{/name}","comments_url":"https://api.github.com/repos/tdhock/animint/issues/67/comments","events_url":"https://api.github.com/repos/tdhock/animint/issues/67/events","html_url":"https://github.com/tdhock/animint/issues/67","id":77348587,"number":67,"title":"Animation with the Pirates dataset","user":{"login":"kferris10","id":6612411,"avatar_url":"https://avatars.githubusercontent.com/u/6612411?v=3","gravatar_id":"","url":"https://api.github.com/users/kferris10","html_url":"https://github.com/kferris10","followers_url":"https://api.github.com/users/kferris10/followers","following_url":"https://api.github.com/users/kferris10/following{/other_user}","gists_url":"https://api.github.com/users/kferris10/gists{/gist_id}","starred_url":"https://api.github.com/users/kferris10/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kferris10/subscriptions","organizations_url":"https://api.github.com/users/kferris10/orgs","repos_url":"https://api.github.com/users/kferris10/repos","events_url":"https://api.github.com/users/kferris10/events{/privacy}","received_events_url":"https://api.github.com/users/kferris10/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-05-17T16:57:58Z","updated_at":"2015-05-18T04:31:08Z","closed_at":null,"body":"I've been putting together an example with the pirates dataset the last couple days.  I thought I'd post [the current version](http://bl.ocks.org/kferris10/raw/b36f6084ebfb57f9ad4a/) here to see if you have any thoughts before adding it to the animint examples. \r\n\r\nI also noticed a couple of issues that I wanted to bring up.  Here's what my ggplot2 version of the binned plot looks like.\r\n\r\n![image](https://cloud.githubusercontent.com/assets/6612411/7671225/fb2ba6f0-fc81-11e4-92b2-f35a79ad327d.png)\r\n\r\nThere's a couple of things that don't transfer to animint:\r\n\r\n1. I implemented a blue background for the water using `theme(panel.background = element_rect(fill = \"lightblue\"))`.  Is there currently a way to get animint to color the background?\r\n\r\n2. I'm drawing edges on the tiles using `geom_tile(aes(...), colour = \"red\", data = p_df3)` but animint isn't drawing the edges.\r\n\r\n3. I use `geom_polygon(aes(...), colour = \"darkgreen\", fill = \"lightgrey\") to draw the countries.  The borders of the countries look a little bit thicker than I'd like.  Is there a way to draw thinner lines?"},"comment":{"url":"https://api.github.com/repos/tdhock/animint/issues/comments/102919708","html_url":"https://github.com/tdhock/animint/issues/67#issuecomment-102919708","issue_url":"https://api.github.com/repos/tdhock/animint/issues/67","id":102919708,"user":{"login":"kferris10","id":6612411,"avatar_url":"https://avatars.githubusercontent.com/u/6612411?v=3","gravatar_id":"","url":"https://api.github.com/users/kferris10","html_url":"https://github.com/kferris10","followers_url":"https://api.github.com/users/kferris10/followers","following_url":"https://api.github.com/users/kferris10/following{/other_user}","gists_url":"https://api.github.com/users/kferris10/gists{/gist_id}","starred_url":"https://api.github.com/users/kferris10/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kferris10/subscriptions","organizations_url":"https://api.github.com/users/kferris10/orgs","repos_url":"https://api.github.com/users/kferris10/repos","events_url":"https://api.github.com/users/kferris10/events{/privacy}","received_events_url":"https://api.github.com/users/kferris10/received_events","type":"User","site_admin":false},"created_at":"2015-05-18T04:31:08Z","updated_at":"2015-05-18T04:31:08Z","body":"1. Nice idea.  Also, I can change the size of the lines here\r\n\r\n2. It doesn't do anything when I put it outside.  `animint2dir` got mad when I tried to put it inside the aes statement:\r\n\r\n    `animint2dir(ani_list, \"~/temp/test_animint/pirates_viz\", open.browser = FALSE)`\r\n    `Don't know how to automatically pick scale for object of type AsIs. Defaulting to continuous`\r\n     `Error: Discrete value supplied to continuous scale`\r\n\r\n    However, I found that I can change the color of the rectangle that I'm using for the blue background.  Any idea where the difference is?  I'd be happy to try and fix it if you can point me in the right direction.\r\n\r\n3. That took care of it.  Any idea why that is needed?  I would think that should be the default.\r\n\r\n[Updated visualization](http://bl.ocks.org/kferris10/raw/b3836569103cbb5f7c21/)"}}