{"action":"opened","issue":{"url":"https://api.github.com/repos/ioam/holoviews/issues/2302","repository_url":"https://api.github.com/repos/ioam/holoviews","labels_url":"https://api.github.com/repos/ioam/holoviews/issues/2302/labels{/name}","comments_url":"https://api.github.com/repos/ioam/holoviews/issues/2302/comments","events_url":"https://api.github.com/repos/ioam/holoviews/issues/2302/events","html_url":"https://github.com/ioam/holoviews/issues/2302","id":294205267,"number":2302,"title":"holomap with kdims fails","user":{"login":"resenganalytics","id":36132541,"avatar_url":"https://avatars0.githubusercontent.com/u/36132541?v=4","gravatar_id":"","url":"https://api.github.com/users/resenganalytics","html_url":"https://github.com/resenganalytics","followers_url":"https://api.github.com/users/resenganalytics/followers","following_url":"https://api.github.com/users/resenganalytics/following{/other_user}","gists_url":"https://api.github.com/users/resenganalytics/gists{/gist_id}","starred_url":"https://api.github.com/users/resenganalytics/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/resenganalytics/subscriptions","organizations_url":"https://api.github.com/users/resenganalytics/orgs","repos_url":"https://api.github.com/users/resenganalytics/repos","events_url":"https://api.github.com/users/resenganalytics/events{/privacy}","received_events_url":"https://api.github.com/users/resenganalytics/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-04T15:26:50Z","updated_at":"2018-02-04T15:26:50Z","closed_at":null,"author_association":"NONE","body":"Hi,\r\n\r\nI am trying to run your following example on bokeh server. It fails with dimension error for kdims parameter in HoloMap: \r\n> Dimensions  specified as a tuple must be a tuple consisting of the name and label not: (Dimension('phase'), Dimension('frequency'))\r\n\r\n```python\r\nimport numpy as np\r\nimport holoviews as hv\r\nimport pandas as pd\r\nfrom bokeh.io import curdoc\r\n\r\n\r\nfrequencies = [0.5, 0.75, 1.0, 1.25]\r\nphases      = [0, np.pi/2, np.pi, 3*np.pi/2]\r\ndef sine_curve(phase, freq):\r\n    xvals = [0.1* i for i in range(100)]\r\n    return hv.Curve((xvals, [np.sin(phase+freq*x) for x in xvals]))\r\n\r\ncurve_dict_2D = {(p,f):sine_curve(p,f) for p in phases for f in frequencies}\r\nhmap = hv.HoloMap(curve_dict_2D, kdims=['phase', 'frequency'])\r\ndoc = hv.renderer('bokeh').server_doc(hmap, doc=curdoc())\r\n```\r\nI tried all 1.8.? versions of Holoviews. My bokeh version is 0.12.13 and am running on Ubuntu 16.04\r\nAny idea why it is failing to show the interactive plot using Holomap?\r\nThanks "}}
{"actor":{"display_login":"resenganalytics"}}