Title: Axis sharing doesn't work for geo-axis · Issue #178 · proplot-dev/proplot · GitHub
Open Graph Title: Axis sharing doesn't work for geo-axis · Issue #178 · proplot-dev/proplot
X Title: Axis sharing doesn't work for geo-axis · Issue #178 · proplot-dev/proplot
Description: Description span and share don't work for geographic axis. Steps to reproduce import proplot as plot f, axs = plot.subplots(nrows=2, ncols=2, spany=3, sharey=3, proj='lcc', proj_kw={'lon_0': 116} ) axs.format(coast=True, latlines=1, lonl...
Open Graph Description: Description span and share don't work for geographic axis. Steps to reproduce import proplot as plot f, axs = plot.subplots(nrows=2, ncols=2, spany=3, sharey=3, proj='lcc', proj_kw={'lon_0': 116} )...
X Description: Description span and share don't work for geographic axis. Steps to reproduce import proplot as plot f, axs = plot.subplots(nrows=2, ncols=2, spany=3, sharey=3, proj='lcc', proj_kw={...
Opengraph URL: https://github.com/proplot-dev/proplot/issues/178
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Axis sharing doesn't work for geo-axis","articleBody":"### Description\r\n\r\n`span` and `share` don't work for geographic axis.\r\n\r\n### Steps to reproduce\r\n\r\n```python\r\nimport proplot as plot\r\nf, axs = plot.subplots(nrows=2, ncols=2,\r\n spany=3, sharey=3,\r\n proj='lcc', proj_kw={'lon_0': 116}\r\n )\r\naxs.format(coast=True,\r\n latlines=1, lonlines=1,\r\n labels=True,\r\n lonlim=(113, 119),\r\n latlim=(37, 41.5),\r\n )\r\n```\r\n\r\n**Expected behavior**:\r\n\r\n\r\n\r\nLat labels are shared.\r\n\r\n**Actual behavior**: \r\n\r\n\r\n\r\n\r\n### Equivalent steps in matplotlib\r\n\r\n```python\r\nimport matplotlib.pyplot as plt\r\nimport cartopy.crs as ccrs\r\n\r\nproj = ccrs.LambertConformal(central_longitude=116)\r\nfig, axs = plt.subplots(nrows=2, ncols=2,\r\n subplot_kw={'projection': proj})\r\n\r\nfor idx,ax in enumerate(axs.flatten()):\r\n ax.set_extent([113, 119, 37, 41.5], ccrs.PlateCarree())\r\n gl = ax.gridlines(crs=ccrs.PlateCarree(), draw_labels=True,\r\n color='gray', alpha=0.5, linestyle='--',\r\n x_inline=False, y_inline=False)\r\n gl.xlabels_top = False\r\n gl.ylabels_right = False\r\n if idx%2 != 0:\r\n gl.ylabels_left = False\r\n ax.coastlines()\r\n```\r\n\r\n### Proplot version\r\n\r\n0.6.1","author":{"url":"https://github.com/zxdawn","@type":"Person","name":"zxdawn"},"datePublished":"2020-05-24T04:54:18.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":8},"url":"https://github.com/178/proplot/issues/178"}
| 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:571b98ae-76e4-39e5-abe2-0abcc0066852 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 999C:26A812:1A33FBC:22A754C:696B8B6C |
| html-safe-nonce | 06ccdebbca72c37717388e1dff577f52b2c6bf92dd02108fec36ece72f1602cd |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5OTlDOjI2QTgxMjoxQTMzRkJDOjIyQTc1NEM6Njk2QjhCNkMiLCJ2aXNpdG9yX2lkIjoiNjQ5ODMwOTgyMTU0MTYxNjQ5MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 40bd3922f2f7987bbc6e0a45b864bcd4ecf5ca98716b75ac39977ddb3fe4137d |
| hovercard-subject-tag | issue:623794779 |
| 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/178/issue_layout |
| twitter:image | https://opengraph.githubassets.com/acc337041fe3a17c39cff8813ee5b4dd64e314c6e7f0680df6f2d7cb24b17f51/proplot-dev/proplot/issues/178 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/acc337041fe3a17c39cff8813ee5b4dd64e314c6e7f0680df6f2d7cb24b17f51/proplot-dev/proplot/issues/178 |
| og:image:alt | Description span and share don't work for geographic axis. Steps to reproduce import proplot as plot f, axs = plot.subplots(nrows=2, ncols=2, spany=3, sharey=3, proj='lcc', proj_kw={'lon_0': 116} )... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | zxdawn |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| 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 | 82560a55c6b2054555076f46e683151ee28a19bc |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width