{"action":"created","issue":{"url":"https://api.github.com/repos/ioam/holoviews/issues/646","repository_url":"https://api.github.com/repos/ioam/holoviews","labels_url":"https://api.github.com/repos/ioam/holoviews/issues/646/labels{/name}","comments_url":"https://api.github.com/repos/ioam/holoviews/issues/646/comments","events_url":"https://api.github.com/repos/ioam/holoviews/issues/646/events","html_url":"https://github.com/ioam/holoviews/issues/646","id":151363928,"number":646,"title":"opts magic inheritance cmap","user":{"login":"marqh","id":1557321,"avatar_url":"https://avatars.githubusercontent.com/u/1557321?v=3","gravatar_id":"","url":"https://api.github.com/users/marqh","html_url":"https://github.com/marqh","followers_url":"https://api.github.com/users/marqh/followers","following_url":"https://api.github.com/users/marqh/following{/other_user}","gists_url":"https://api.github.com/users/marqh/gists{/gist_id}","starred_url":"https://api.github.com/users/marqh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marqh/subscriptions","organizations_url":"https://api.github.com/users/marqh/orgs","repos_url":"https://api.github.com/users/marqh/repos","events_url":"https://api.github.com/users/marqh/events{/privacy}","received_events_url":"https://api.github.com/users/marqh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"jlstevens","id":890576,"avatar_url":"https://avatars.githubusercontent.com/u/890576?v=3","gravatar_id":"","url":"https://api.github.com/users/jlstevens","html_url":"https://github.com/jlstevens","followers_url":"https://api.github.com/users/jlstevens/followers","following_url":"https://api.github.com/users/jlstevens/following{/other_user}","gists_url":"https://api.github.com/users/jlstevens/gists{/gist_id}","starred_url":"https://api.github.com/users/jlstevens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jlstevens/subscriptions","organizations_url":"https://api.github.com/users/jlstevens/orgs","repos_url":"https://api.github.com/users/jlstevens/repos","events_url":"https://api.github.com/users/jlstevens/events{/privacy}","received_events_url":"https://api.github.com/users/jlstevens/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2016-04-27T11:35:51Z","updated_at":"2016-04-27T13:40:54Z","closed_at":null,"body":"```\r\nimport iris\r\nimport holoviews as hv\r\nimport geoviews as gv\r\nimport cube_browser\r\nimport cartopy\r\n```\r\n\r\n```\r\ncube = iris.load_cube(iris.sample_data_path('rotated_pole.nc'))\r\n```\r\n\r\nwith a specification of Dataset, the color map is preserved:\r\n```\r\n%%opts FilledContours.Air_pressure_at_sea_level [levels=7]\r\n\r\nairp = hv.Dataset(cube)\r\nairp.to.filledcontours(['grid_longitude', 'grid_latitude'], dynamic=True)  * gv.Feature(cartopy.feature.COASTLINE)\r\n```\r\n\r\nbut, if the FilledContours does not specifiy the Air_pressure...., the colormap is overridden \r\n```\r\n\r\n%%opts FilledContours.Air_pressure_at_sea_level [levels=7]\r\n\r\nairp = hv.Dataset(cube)\r\nairp.to.filledcontours(['grid_longitude', 'grid_latitude'], dynamic=True)  * gv.Feature(cartopy.feature.COASTLINE)\r\n```\r\nthis last call should not alter the colormap"},"comment":{"url":"https://api.github.com/repos/ioam/holoviews/issues/comments/215086148","html_url":"https://github.com/ioam/holoviews/issues/646#issuecomment-215086148","issue_url":"https://api.github.com/repos/ioam/holoviews/issues/646","id":215086148,"user":{"login":"philippjfr","id":1550771,"avatar_url":"https://avatars.githubusercontent.com/u/1550771?v=3","gravatar_id":"","url":"https://api.github.com/users/philippjfr","html_url":"https://github.com/philippjfr","followers_url":"https://api.github.com/users/philippjfr/followers","following_url":"https://api.github.com/users/philippjfr/following{/other_user}","gists_url":"https://api.github.com/users/philippjfr/gists{/gist_id}","starred_url":"https://api.github.com/users/philippjfr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philippjfr/subscriptions","organizations_url":"https://api.github.com/users/philippjfr/orgs","repos_url":"https://api.github.com/users/philippjfr/repos","events_url":"https://api.github.com/users/philippjfr/events{/privacy}","received_events_url":"https://api.github.com/users/philippjfr/received_events","type":"User","site_admin":false},"created_at":"2016-04-27T13:40:54Z","updated_at":"2016-04-27T13:40:54Z","body":"It's a pretty tricky problem and I know roughly how to fix it but actually implementing the correct solution will still be pretty difficult. Hopefully @jlstevens will have the time to tackle it this week, otherwise I'll try to spend an hour or two on it over the weekend."}}