Title: share, span options for twin x and y axes · Issue #205 · proplot-dev/proplot · GitHub
Open Graph Title: share, span options for twin x and y axes · Issue #205 · proplot-dev/proplot
X Title: share, span options for twin x and y axes · Issue #205 · proplot-dev/proplot
Description: Description Hi, I really like the feature that twinx and twiny can be applied to axs, which was not possible with matplotlib. Would it be possible to add share and span options to twinx and twiny? Such as twinx(sharey=3, spany=True). Cur...
Open Graph Description: Description Hi, I really like the feature that twinx and twiny can be applied to axs, which was not possible with matplotlib. Would it be possible to add share and span options to twinx and twiny? ...
X Description: Description Hi, I really like the feature that twinx and twiny can be applied to axs, which was not possible with matplotlib. Would it be possible to add share and span options to twinx and twiny? ...
Opengraph URL: https://github.com/proplot-dev/proplot/issues/205
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"share, span options for twin x and y axes","articleBody":"### Description\r\n\r\nHi, I really like the feature that `twinx` and `twiny` can be applied to `axs`, which was not possible with `matplotlib`.\r\nWould it be possible to add `share` and `span` options to `twinx` and `twiny`? Such as `twinx(sharey=3, spany=True)`.\r\nCurrently, when we specified `ylabel` for twin axes, it will plot to all axes.\r\n\r\n### Steps to reproduce\r\n\r\n```python\r\nimport numpy as np\r\nimport proplot as plot\r\n\r\nfig, axs = plot.subplots(nrows=2, ncols=2)\r\naxs1 = axs.twinx()\r\n\r\nx = np.arange(10)\r\n\r\nfor ax, ax1 in zip(axs, axs1):\r\n ax.plot(np.sin(x), c='b')\r\n ax1.plot(np.cos(x), c='r')\r\n \r\naxs.format(ycolor='b', ylabel='ylabel1')\r\naxs1.format(ycolor='r', ylabel='ylabel2')\r\n```\r\n\r\n**Current behavior**: \r\nylabels and ticks are shown in every plots.\r\n\r\n\r\n### Proplot version\r\n\r\n0.6.4","author":{"url":"https://github.com/kinyatoride","@type":"Person","name":"kinyatoride"},"datePublished":"2020-07-10T17:47:54.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/205/proplot/issues/205"}
| 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:e3230495-1d54-b903-d864-00bddf764273 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B9A0:2EA095:D7CE6D:DAA426:697A7FB6 |
| html-safe-nonce | 645421cca39df74eea1d8a98e1101698f313b300bd5e7471712483f7b020ff0f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCOUEwOjJFQTA5NTpEN0NFNkQ6REFBNDI2OjY5N0E3RkI2IiwidmlzaXRvcl9pZCI6IjUzMTcyMDU5MDg1MTczNTQ3OCIsInJlZ2lvbl9lZGdlIjoic2VhIiwicmVnaW9uX3JlbmRlciI6InNlYSJ9 |
| visitor-hmac | 82ea9facb2a308840eeeb4f44200387982d5c38adc5e6b3182cda9f6aad162f2 |
| hovercard-subject-tag | issue:654937690 |
| 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/proplot-dev/proplot/205/issue_layout |
| twitter:image | https://opengraph.githubassets.com/12c7802d25a2928a9c92b558d95fbe4c0291866c96028c10401468d1a6fcde4f/proplot-dev/proplot/issues/205 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/12c7802d25a2928a9c92b558d95fbe4c0291866c96028c10401468d1a6fcde4f/proplot-dev/proplot/issues/205 |
| og:image:alt | Description Hi, I really like the feature that twinx and twiny can be applied to axs, which was not possible with matplotlib. Would it be possible to add share and span options to twinx and twiny? ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | kinyatoride |
| hostname | github.com |
| expected-hostname | github.com |
| None | f6192227ebb08ae3d66e887f7363efea6f1ba29abe280990e1f6ad2d2962b6c8 |
| turbo-cache-control | no-preview |
| go-import | github.com/proplot-dev/proplot git https://github.com/proplot-dev/proplot.git |
| octolytics-dimension-user_id | 108025793 |
| octolytics-dimension-user_login | proplot-dev |
| octolytics-dimension-repository_id | 113293661 |
| octolytics-dimension-repository_nwo | proplot-dev/proplot |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 113293661 |
| octolytics-dimension-repository_network_root_nwo | proplot-dev/proplot |
| 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 | 7f58967b50cdccb4b617fbacac94376e17eef59e |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width