Title: Violin Plots not Grouping into Multiple Violins · Issue #1389 · plotly/plotly.py · GitHub
Open Graph Title: Violin Plots not Grouping into Multiple Violins · Issue #1389 · plotly/plotly.py
X Title: Violin Plots not Grouping into Multiple Violins · Issue #1389 · plotly/plotly.py
Description: This seems to be an issue I experienced after updating plotly.py to 3.5.0, and the issue persists whether I install from conda or from pip Based on the example from here: https://plot.ly/python/violin-plot/ Using the code provided: np.ra...
Open Graph Description: This seems to be an issue I experienced after updating plotly.py to 3.5.0, and the issue persists whether I install from conda or from pip Based on the example from here: https://plot.ly/python/vio...
X Description: This seems to be an issue I experienced after updating plotly.py to 3.5.0, and the issue persists whether I install from conda or from pip Based on the example from here: https://plot.ly/python/vio...
Opengraph URL: https://github.com/plotly/plotly.py/issues/1389
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Violin Plots not Grouping into Multiple Violins","articleBody":"This seems to be an issue I experienced after updating plotly.py to 3.5.0, and the issue persists whether I install from conda or from pip\r\n\r\nBased on the example from here: https://plot.ly/python/violin-plot/\r\nUsing the code provided:\r\n\r\n```\r\nnp.random.seed(619517)\r\nNr = 250\r\ny = np.random.randn(Nr)\r\ngr = np.random.choice(list(\"ABCDE\"), Nr)\r\nnorm_params = [(0, 1.2), (0.7, 1), (-0.5, 1.4), (0.3, 1), (0.8, 0.9)]\r\n\r\nfor i, letter in enumerate(\"ABCDE\"):\r\n y[gr == letter] *= norm_params[i][1] + norm_params[i][0]\r\ndf = pd.DataFrame(dict(Score = y, Group = gr))\r\n\r\nfig = ff.create_violin(df, data_header='Score', group_header='Group',\r\n height=500, width=800)\r\nplotly.offline.plot(fig, filename='C:\\\\Users\\\\USERNAME\\\\Documents\\\\PyPlots\\\\Multiple Violins.html')\r\n```\r\n\r\nThe same problem persists with my own data, the plots end up overlapping rather than grouping. This was literally working fine yesterday on an older version (3.4.2) of plotly, but now I cannot update or create multiple violin plots, despite no change in code.\r\n\r\nThe output looks something like this:\r\n\r\n\r\n\r\n","author":{"url":"https://github.com/Omniportance","@type":"Person","name":"Omniportance"},"datePublished":"2019-01-04T22:24:41Z","url":"https://github.com/plotly/plotly.py/issues/1389"}
| 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:7cfdea09-2658-45ce-afc1-c347e147a8b0 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E846:3C21B:2A3CE00:35F34EF:6B0199FE |
| html-safe-nonce | 65868ba1f7d13be853d983159724efeb9f05377197f2ab82f7a0fa04d0f7cd56 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFODQ2OjNDMjFCOjJBM0NFMDA6MzVGMzRFRjo2QjAxOTlGRSIsInZpc2l0b3JfaWQiOiI0Nzk3NTQ4MTE0MzIxOTcxNzEwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 5e19accf574fb957dfc33df6cd54c3362150ea97c74eb101979bd9b59078d992 |
| hovercard-subject-tag | issue:396087965 |
| 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.py/1389/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b64df18550a1c1d785843026b6feacd46befd93fdfb167a63ccb539c0206e5fe/plotly/plotly.py/issues/1389 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b64df18550a1c1d785843026b6feacd46befd93fdfb167a63ccb539c0206e5fe/plotly/plotly.py/issues/1389 |
| og:image:alt | This seems to be an issue I experienced after updating plotly.py to 3.5.0, and the issue persists whether I install from conda or from pip Based on the example from here: https://plot.ly/python/vio... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Omniportance |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/plotly/plotly.py git https://github.com/plotly/plotly.py.git |
| octolytics-dimension-user_id | 5997976 |
| octolytics-dimension-user_login | plotly |
| octolytics-dimension-repository_id | 14579099 |
| octolytics-dimension-repository_nwo | plotly/plotly.py |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 14579099 |
| octolytics-dimension-repository_network_root_nwo | plotly/plotly.py |
| 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