Title: ticks based on number of subplots by ivanov · Pull Request #776 · matplotlib/matplotlib · GitHub
Open Graph Title: ticks based on number of subplots by ivanov · Pull Request #776 · matplotlib/matplotlib
X Title: ticks based on number of subplots by ivanov · Pull Request #776 · matplotlib/matplotlib
Description: here's an implementation of adjusting the tick locator depending on how many subplots there are. I implemented this at PyData a few weeks back, but forgot to submit the PR. to see the goodies of this PR, use this in the ipython notebook %pylab inline #rcParams['figure.figsize']=2,2 plt.subplots() plt.plot(24*np.random.rand(10), np.random.rand(10)) for x in range(7): fig, axes = plt.subplots(1,x+2, sharey=True) for ax in axes.flat: ax.plot(24*np.random.rand(10), np.random.rand(10)) plt.subplots() plt.plot(np.random.rand(10), 24*np.random.rand(10)) for x in range(7): fig, axes = plt.subplots(x+2,1, sharex=True) for ax in axes.flat: ax.plot(np.random.rand(10), 24*np.random.rand(10)) #fig.tight_layout() (I'll rebase this if this won't merge cleanly)
Open Graph Description: here's an implementation of adjusting the tick locator depending on how many subplots there are. I implemented this at PyData a few weeks back, but forgot to submit the PR. to see the goodies o...
X Description: here's an implementation of adjusting the tick locator depending on how many subplots there are. I implemented this at PyData a few weeks back, but forgot to submit the PR. to see the goodi...
Opengraph URL: https://github.com/matplotlib/matplotlib/pull/776
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:b6a76d4e-467f-2418-d559-c888f11fc1af |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | C84E:3C94F8:112BF09:180D679:6A56767B |
| html-safe-nonce | bfc773b967ab207ab13d650b6ee7719d992f09549eb3d5e95cb6d489b4956804 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDODRFOjNDOTRGODoxMTJCRjA5OjE4MEQ2Nzk6NkE1Njc2N0IiLCJ2aXNpdG9yX2lkIjoiMzMyMzUyOTU0NjA3NTM3MTEzMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | c50c838da577e1bebfa6206e5f1cbf78c6ece6ac6b2c13d0623b71c4372b9788 |
| hovercard-subject-tag | pull_request:1011286 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,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/matplotlib/matplotlib/pull/776/files |
| twitter:image | https://avatars.githubusercontent.com/u/118211?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/118211?s=400&v=4 |
| og:image:alt | here's an implementation of adjusting the tick locator depending on how many subplots there are. I implemented this at PyData a few weeks back, but forgot to submit the PR. to see the goodies o... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 19b5ee9431dcfce15ab4b001d626e4e3a6ba1acb7be814813a52bbebd9a86ef5 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | afc01ffdb045f4ff81c6122091366ade7b6166b7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width