Title: hoverinfo: name field not included for HeatMap · Issue #1600 · plotly/plotly.js · GitHub
Open Graph Title: hoverinfo: name field not included for HeatMap · Issue #1600 · plotly/plotly.js
X Title: hoverinfo: name field not included for HeatMap · Issue #1600 · plotly/plotly.js
Description: Code run inside of a jupyter notebook cell... import numpy as np import plotly # plotly.__version__ == '2.0.6' plotly.offline.init_notebook_mode() import plotly.graph_objs as go rows, cols = 3, 3 data = np.random.rand(rows, cols) py.iplo...
Open Graph Description: Code run inside of a jupyter notebook cell... import numpy as np import plotly # plotly.__version__ == '2.0.6' plotly.offline.init_notebook_mode() import plotly.graph_objs as go rows, cols = 3, 3 d...
X Description: Code run inside of a jupyter notebook cell... import numpy as np import plotly # plotly.__version__ == '2.0.6' plotly.offline.init_notebook_mode() import plotly.graph_objs as go rows, cols ...
Opengraph URL: https://github.com/plotly/plotly.js/issues/1600
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"hoverinfo: name field not included for HeatMap","articleBody":"## Code\r\n*run inside of a jupyter notebook cell...*\r\n\r\n```python\r\nimport numpy as np\r\nimport plotly # plotly.__version__ == '2.0.6'\r\nplotly.offline.init_notebook_mode()\r\nimport plotly.graph_objs as go\r\n\r\nrows, cols = 3, 3 \r\ndata = np.random.rand(rows, cols)\r\npy.iplot(go.Figure(\r\n data=[go.Heatmap(\r\n name=\"CUSTOM NAME\", # This SHOULD show up in the hoverinfo?\r\n x=range(rows + 1), \r\n y=range(cols + 1), \r\n z=data, \r\n text=np.where(data \u003c .5, '\u003c.5', '>.5'),\r\n hoverinfo=\"name+text\", # Want to see \"CUSTOM NAME\"\r\n colorscale='Greens', reversescale=True, showscale=False\r\n )], \r\n layout=go.Layout(\r\n title=\"Test\", \r\n xaxis=dict(title='X-Axis'),\r\n yaxis=dict(title='Y-Axis'),\r\n )\r\n))\r\n```\r\n\r\n# Result \r\n*it's a bit small, but you can see that the hovertext lacks the CUSTOM NAME text.*\r\n\r\n\u003cimg width=\"1676\" alt=\"screenshot of result, showing tooltip without Name\" src=\"https://cloud.githubusercontent.com/assets/150536/25076262/2476f99a-22ed-11e7-86a4-d8e81ad65e7e.png\">\r\n","author":{"url":"https://github.com/jsundram","@type":"Person","name":"jsundram"},"datePublished":"2017-04-17T01:41:52Z","url":"https://github.com/plotly/plotly.js/issues/1600"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:3bcf425c-f616-3186-d73e-c6a49e53dcf7 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A7E2:19E4BB:30E7D24:3E67AB5:6B01D11D |
| html-safe-nonce | ec2cedd11cea04975889b43b024e10576d56275e00e40a8e699aa3932f8e0eae |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBN0UyOjE5RTRCQjozMEU3RDI0OjNFNjdBQjU6NkIwMUQxMUQiLCJ2aXNpdG9yX2lkIjoiMzgwODE2Mzk4Nzc5NTg1NzY5NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | a0c40b59c4e22490f6266422de857830f1e04fa92e1963e29ba167e6231d5b1b |
| hovercard-subject-tag | issue:222048144 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/plotly/plotly.js/1600/issue_layout |
| twitter:image | https://opengraph.githubassets.com/1bd533ada4b54e4766cb464f5a176ca3d4ac97507802e04ace5f4ab86e920222/plotly/plotly.js/issues/1600 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1bd533ada4b54e4766cb464f5a176ca3d4ac97507802e04ace5f4ab86e920222/plotly/plotly.js/issues/1600 |
| og:image:alt | Code run inside of a jupyter notebook cell... import numpy as np import plotly # plotly.__version__ == '2.0.6' plotly.offline.init_notebook_mode() import plotly.graph_objs as go rows, cols = 3, 3 d... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jsundram |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/plotly/plotly.js git https://github.com/plotly/plotly.js.git |
| octolytics-dimension-user_id | 5997976 |
| octolytics-dimension-user_login | plotly |
| octolytics-dimension-repository_id | 45646037 |
| octolytics-dimension-repository_nwo | plotly/plotly.js |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 45646037 |
| octolytics-dimension-repository_network_root_nwo | plotly/plotly.js |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width