{"action":"created","issue":{"url":"https://api.github.com/repos/plotly/plotly.js/issues/2481","repository_url":"https://api.github.com/repos/plotly/plotly.js","labels_url":"https://api.github.com/repos/plotly/plotly.js/issues/2481/labels{/name}","comments_url":"https://api.github.com/repos/plotly/plotly.js/issues/2481/comments","events_url":"https://api.github.com/repos/plotly/plotly.js/issues/2481/events","html_url":"https://github.com/plotly/plotly.js/issues/2481","id":306722280,"number":2481,"title":"Extra hover text not work in Candlestick charts","user":{"login":"Yevgnen","id":16749790,"avatar_url":"https://avatars0.githubusercontent.com/u/16749790?v=4","gravatar_id":"","url":"https://api.github.com/users/Yevgnen","html_url":"https://github.com/Yevgnen","followers_url":"https://api.github.com/users/Yevgnen/followers","following_url":"https://api.github.com/users/Yevgnen/following{/other_user}","gists_url":"https://api.github.com/users/Yevgnen/gists{/gist_id}","starred_url":"https://api.github.com/users/Yevgnen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yevgnen/subscriptions","organizations_url":"https://api.github.com/users/Yevgnen/orgs","repos_url":"https://api.github.com/users/Yevgnen/repos","events_url":"https://api.github.com/users/Yevgnen/events{/privacy}","received_events_url":"https://api.github.com/users/Yevgnen/received_events","type":"User","site_admin":false},"labels":[{"id":282886923,"url":"https://api.github.com/repos/plotly/plotly.js/labels/type:%20bug","name":"type: bug","color":"e31a1c","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-03-20T04:05:20Z","updated_at":"2018-04-17T16:16:42Z","closed_at":"2018-04-17T16:16:42Z","author_association":"NONE","body":"Example:\r\n\r\n```python\r\n#!/usr/bin/env python3\r\n# -*- coding: utf-8 -*-\r\n\r\nimport numpy as np\r\nimport pandas as pd\r\nimport plotly.graph_objs as go\r\nimport plotly.offline as py\r\n\r\n\r\nimport datetime\r\n\r\nn = 20\r\nopen = 2 + np.abs(np.random.randn(n))\r\nhigh = open + 1\r\nlow = open - 1\r\nclose = open + np.random.randn(n)\r\ndf = pd.DataFrame(\r\n    {\r\n        'open': open,\r\n        'high': high,\r\n        'low': low,\r\n        'close': close\r\n    },\r\n    index=pd.date_range(\r\n        '2010-01-01',\r\n        pd.to_datetime('2010-01-01') + datetime.timedelta(days=n - 1)))\r\n\r\nhovertext = []\r\nfor i in range(len(df.open)):\r\n    hovertext.append('Point' + str(i))\r\n\r\ntrace = go.Candlestick(\r\n    x=df.index,\r\n    open=df.open,\r\n    high=df.high,\r\n    low=df.low,\r\n    close=df.close,\r\n    text=hovertext,\r\n    hoverinfo='all')\r\ndata = [trace]\r\npy.plot(data, filename='ohlc_custom_hover.html')\r\n```\r\n\r\nHowever, turning the line `trace = go.Candlestick(` to `trace = go.Ohlc(` works just fine.\r\n\r\nThe plotly version is `2.2.3`."},"comment":{"url":"https://api.github.com/repos/plotly/plotly.js/issues/comments/382052496","html_url":"https://github.com/plotly/plotly.js/issues/2481#issuecomment-382052496","issue_url":"https://api.github.com/repos/plotly/plotly.js/issues/2481","id":382052496,"user":{"login":"etpinard","id":6675409,"avatar_url":"https://avatars0.githubusercontent.com/u/6675409?v=4","gravatar_id":"","url":"https://api.github.com/users/etpinard","html_url":"https://github.com/etpinard","followers_url":"https://api.github.com/users/etpinard/followers","following_url":"https://api.github.com/users/etpinard/following{/other_user}","gists_url":"https://api.github.com/users/etpinard/gists{/gist_id}","starred_url":"https://api.github.com/users/etpinard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/etpinard/subscriptions","organizations_url":"https://api.github.com/users/etpinard/orgs","repos_url":"https://api.github.com/users/etpinard/repos","events_url":"https://api.github.com/users/etpinard/events{/privacy}","received_events_url":"https://api.github.com/users/etpinard/received_events","type":"User","site_admin":false},"created_at":"2018-04-17T16:16:42Z","updated_at":"2018-04-17T16:16:42Z","author_association":"MEMBER","body":"Done in https://github.com/plotly/plotly.js/pull/2561"}}
{"actor":{"display_login":"etpinard"}}