{"action":"created","issue":{"url":"https://api.github.com/repos/plotly/plotly.js/issues/2924","repository_url":"https://api.github.com/repos/plotly/plotly.js","labels_url":"https://api.github.com/repos/plotly/plotly.js/issues/2924/labels{/name}","comments_url":"https://api.github.com/repos/plotly/plotly.js/issues/2924/comments","events_url":"https://api.github.com/repos/plotly/plotly.js/issues/2924/events","html_url":"https://github.com/plotly/plotly.js/issues/2924","id":351808447,"node_id":"MDU6SXNzdWUzNTE4MDg0NDc=","number":2924,"title":"Feature request: zsmooth parameter for Heatmapgl","user":{"login":"mmlanger","id":14871538,"node_id":"MDQ6VXNlcjE0ODcxNTM4","avatar_url":"https://avatars2.githubusercontent.com/u/14871538?v=4","gravatar_id":"","url":"https://api.github.com/users/mmlanger","html_url":"https://github.com/mmlanger","followers_url":"https://api.github.com/users/mmlanger/followers","following_url":"https://api.github.com/users/mmlanger/following{/other_user}","gists_url":"https://api.github.com/users/mmlanger/gists{/gist_id}","starred_url":"https://api.github.com/users/mmlanger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmlanger/subscriptions","organizations_url":"https://api.github.com/users/mmlanger/orgs","repos_url":"https://api.github.com/users/mmlanger/repos","events_url":"https://api.github.com/users/mmlanger/events{/privacy}","received_events_url":"https://api.github.com/users/mmlanger/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-08-18T10:04:56Z","updated_at":"2018-08-20T15:27:33Z","closed_at":null,"author_association":"NONE","body":"the zsmooth parameter seems to not be implemented in Heatmapgl , while it is in Heatmap.\r\n\r\nCould you add this in the future?\r\nBy default Heatmapgl seems to use interpolation while I do like to turn it off.\r\n"},"comment":{"url":"https://api.github.com/repos/plotly/plotly.js/issues/comments/414358433","html_url":"https://github.com/plotly/plotly.js/issues/2924#issuecomment-414358433","issue_url":"https://api.github.com/repos/plotly/plotly.js/issues/2924","id":414358433,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNDM1ODQzMw==","user":{"login":"mmlanger","id":14871538,"node_id":"MDQ6VXNlcjE0ODcxNTM4","avatar_url":"https://avatars2.githubusercontent.com/u/14871538?v=4","gravatar_id":"","url":"https://api.github.com/users/mmlanger","html_url":"https://github.com/mmlanger","followers_url":"https://api.github.com/users/mmlanger/followers","following_url":"https://api.github.com/users/mmlanger/following{/other_user}","gists_url":"https://api.github.com/users/mmlanger/gists{/gist_id}","starred_url":"https://api.github.com/users/mmlanger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmlanger/subscriptions","organizations_url":"https://api.github.com/users/mmlanger/orgs","repos_url":"https://api.github.com/users/mmlanger/repos","events_url":"https://api.github.com/users/mmlanger/events{/privacy}","received_events_url":"https://api.github.com/users/mmlanger/received_events","type":"User","site_admin":false},"created_at":"2018-08-20T15:27:33Z","updated_at":"2018-08-20T15:27:33Z","author_association":"NONE","body":"For larger images, e.g. a megapixel, the webgl implementation seems to perform better in my jupyterlab sessions, hovering and especially zoom is way slower than in the non-webgl heatmap. Reaction times of UI elements in general seem to be better in the webgl version.\r\n\r\nExample code for a notebook:\r\n```\r\nimport numpy as np\r\nimport plotly.graph_objs as go\r\n\r\nlayout = dict(width=800, height=800)\r\n\r\nres = 1000\r\n\r\nx_space = np.linspace(-np.pi, np.pi, res)\r\ny_space = np.linspace(0, 2*np.pi, res)\r\nx_grid, y_grid = np.meshgrid(x_space, y_space)\r\nimg = x_grid * np.sin(y_grid) + np.sin(14*y_grid)\r\n```\r\n\r\nHeatmapgl:\r\n```\r\nfig = go.FigureWidget(layout=layout)\r\nheatmap = fig.add_heatmapgl(x=x_space, y=y_space, z=img)\r\nfig\r\n```\r\n\r\nNormal Heatmap:\r\n```\r\nfig = go.FigureWidget(layout=layout)\r\nheatmap = fig.add_heatmap(x=x_space, y=y_space, z=img)\r\nfig\r\n```\r\n\r\nI use plotly 3.1.1 and jupyterlab 0.33.11 from the anaconda distribution."}}
{"actor":{"display_login":"mmlanger"}}