Title: Heatmap should look up category position when building brick data · Issue #1117 · plotly/plotly.js · GitHub
Open Graph Title: Heatmap should look up category position when building brick data · Issue #1117 · plotly/plotly.js
X Title: Heatmap should look up category position when building brick data · Issue #1117 · plotly/plotly.js
Description: The 2nd plot should start at Team B, instead of Team A. fig = make_subplots(rows=2, cols=1, shared_yaxes=True, shared_xaxes=True) z = [[.1, .3, .5], [1.0, .8, .6], [.6, .4, .2]] x = ['Team A', 'Team B', 'Team C'] y = ['Game Three', 'Game...
Open Graph Description: The 2nd plot should start at Team B, instead of Team A. fig = make_subplots(rows=2, cols=1, shared_yaxes=True, shared_xaxes=True) z = [[.1, .3, .5], [1.0, .8, .6], [.6, .4, .2]] x = ['Team A', 'Tea...
X Description: The 2nd plot should start at Team B, instead of Team A. fig = make_subplots(rows=2, cols=1, shared_yaxes=True, shared_xaxes=True) z = [[.1, .3, .5], [1.0, .8, .6], [.6, .4, .2]] x = ['Team A...
Opengraph URL: https://github.com/plotly/plotly.js/issues/1117
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Heatmap should look up category position when building brick data","articleBody":"The 2nd plot should start at `Team B`, instead of `Team A`.\r\n\r\n```{python}\r\nfig = make_subplots(rows=2, cols=1, shared_yaxes=True, shared_xaxes=True)\r\n\r\nz = [[.1, .3, .5], \r\n [1.0, .8, .6],\r\n [.6, .4, .2]]\r\n\r\nx = ['Team A', 'Team B', 'Team C']\r\ny = ['Game Three', 'Game Two', 'Game One']\r\n\r\nfig.append_trace(go.Heatmap(z=z, x=x, y=y), 1, 1)\r\n\r\nz = [[.3, .5], \r\n [.8, .6],\r\n [.4, .2]]\r\n\r\nx = ['Team B', 'Team C']\r\ny = ['Game Three', 'Game Two', 'Game One']\r\n\r\nfig.append_trace(go.Heatmap(z=z, x=x, y=y), 2, 1)\r\niplot(fig)\r\n```\r\n\r\n```\r\nfig.data\r\n\r\n[{'type': 'heatmap',\r\n 'x': ['Team A', 'Team B', 'Team C'],\r\n 'xaxis': 'x1',\r\n 'y': ['Game Three', 'Game Two', 'Game One'],\r\n 'z': [[.1, .3, .5], \r\n [1.0, .8, .6],\r\n [.6, .4, .2]],\r\n 'yaxis': 'y1'},\r\n {'type': 'heatmap',\r\n 'x': ['Team B', 'Team C'],\r\n 'xaxis': 'x1',\r\n 'y': ['Game Three', 'Game Two', 'Game One'],\r\n 'z': [[.3, .5], \r\n [.8, .6],\r\n [.4, .2]],\r\n 'yaxis': 'y2'}]\r\n\r\nfig.layout\r\n\r\n{'xaxis1': {'anchor': 'y2', 'domain': [0.0, 1.0]},\r\n 'yaxis1': {'anchor': 'free', 'domain': [0.575, 1.0], 'position': 0.0},\r\n 'yaxis2': {'anchor': 'x1', 'domain': [0.0, 0.425]}}\r\n```\r\n\r\n\r\nhttps://codepen.io/anon/pen/qqdqWq","author":{"url":"https://github.com/colinfang","@type":"Person","name":"colinfang"},"datePublished":"2016-11-07T17:23:28Z","url":"https://github.com/plotly/plotly.js/issues/1117"}
| 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:05cba604-ada9-e12e-34e9-35d3d12b363c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DFFC:1D20B7:270770B:317DFB5:6B01CA9C |
| html-safe-nonce | c50433c9633b6be0185d6c209e71b4dcd38ac20b75acd681e488d71aef6d4792 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERkZDOjFEMjBCNzoyNzA3NzBCOjMxN0RGQjU6NkIwMUNBOUMiLCJ2aXNpdG9yX2lkIjoiNTM3NzczMjE1MjI5OTQ3MzU2NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | ede3a6ac61412a622b9f13816aa5949b7977ad7d0ad7d6f0663a78845d67962d |
| hovercard-subject-tag | issue:187773900 |
| 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/1117/issue_layout |
| twitter:image | https://opengraph.githubassets.com/80388c2a1ee9ca87ec6ccb0274e908226c44587a90af1fbe3273c9c7b2a392d7/plotly/plotly.js/issues/1117 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/80388c2a1ee9ca87ec6ccb0274e908226c44587a90af1fbe3273c9c7b2a392d7/plotly/plotly.js/issues/1117 |
| og:image:alt | The 2nd plot should start at Team B, instead of Team A. fig = make_subplots(rows=2, cols=1, shared_yaxes=True, shared_xaxes=True) z = [[.1, .3, .5], [1.0, .8, .6], [.6, .4, .2]] x = ['Team A', 'Tea... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | colinfang |
| 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