Title: `axes.boxplot` does not have zorder kwarg · Issue #7171 · matplotlib/matplotlib · GitHub
Open Graph Title: `axes.boxplot` does not have zorder kwarg · Issue #7171 · matplotlib/matplotlib
X Title: `axes.boxplot` does not have zorder kwarg · Issue #7171 · matplotlib/matplotlib
Description: Hi eveybody, I want to draw boxplot and scatter in one figure, but the boxplot always covers the points as below: How could I set the scatter above the boxplot? Thanks ~ Here's my code: import matplotlib.pyplot as plt import numpy as np ...
Open Graph Description: Hi eveybody, I want to draw boxplot and scatter in one figure, but the boxplot always covers the points as below: How could I set the scatter above the boxplot? Thanks ~ Here's my code: import matp...
X Description: Hi eveybody, I want to draw boxplot and scatter in one figure, but the boxplot always covers the points as below: How could I set the scatter above the boxplot? Thanks ~ Here's my code: import ...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/7171
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"`axes.boxplot` does not have zorder kwarg","articleBody":"Hi eveybody,\n\nI want to draw boxplot and scatter in one figure, but the boxplot always covers the points as below:\n\n\nHow could I set the scatter above the boxplot? Thanks ~\n\nHere's my code:\n\n```\nimport matplotlib.pyplot as plt\nimport numpy as np\n\nx=[1,2,3]\na=np.array([70,170,130])\ny=[]\nyy=[]\nfor i in range(3):\n yy.append(np.random.randn(5))\n y.append(yy[i].mean())\n\nplt.figure()\nfig, axes = plt.subplots(nrows=1, ncols=1, figsize=(5, 5))\naxes.scatter(x,y,c='r',s=a)\nbplot1 = axes.boxplot(yy,\n vert=True, # vertical box aligmnent\n patch_artist=True) # fill with color\ncolor = 'blue'\nfor patch in bplot1['boxes']:\n patch.set_facecolor(color)\n patch.set_alpha(0.5)\nplt.savefig('1.jpg',dpi=100)\nplt.show()\n```\n","author":{"url":"https://github.com/nancysendoh","@type":"Person","name":"nancysendoh"},"datePublished":"2016-09-24T05:32:19.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":7},"url":"https://github.com/7171/matplotlib/issues/7171"}
| 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:c05b9135-1265-527a-b09c-b6fa66cbfe9f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D876:19B879:623CA1:85772E:6A541260 |
| html-safe-nonce | 957f87d6ce3d5e8a311f1ed9202d14c7fe59d25b6996912533393ee301748b1a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEODc2OjE5Qjg3OTo2MjNDQTE6ODU3NzJFOjZBNTQxMjYwIiwidmlzaXRvcl9pZCI6Ijc2ODUwMjM2NTUyNzc0MTAyNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | cf21278e5e685d202a32f75086ee258ba4a1eb0d5339be69eb4c1863465ab1ca |
| hovercard-subject-tag | issue:179012352 |
| 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/matplotlib/matplotlib/7171/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ac19f2ab7e211aacdbc6399f2573774a5ad966e0bf299c418b3453a5ee5d54c0/matplotlib/matplotlib/issues/7171 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ac19f2ab7e211aacdbc6399f2573774a5ad966e0bf299c418b3453a5ee5d54c0/matplotlib/matplotlib/issues/7171 |
| og:image:alt | Hi eveybody, I want to draw boxplot and scatter in one figure, but the boxplot always covers the points as below: How could I set the scatter above the boxplot? Thanks ~ Here's my code: import matp... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | nancysendoh |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| go-import | github.com/matplotlib/matplotlib git https://github.com/matplotlib/matplotlib.git |
| octolytics-dimension-user_id | 215947 |
| octolytics-dimension-user_login | matplotlib |
| octolytics-dimension-repository_id | 1385122 |
| octolytics-dimension-repository_nwo | matplotlib/matplotlib |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1385122 |
| octolytics-dimension-repository_network_root_nwo | matplotlib/matplotlib |
| 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 | 07a982c1d40157c619b364352b704c3ce66bb332 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width