Title: WIP : draft of replacement for pyplot by tacaswell · Pull Request #3587 · matplotlib/matplotlib · GitHub
Open Graph Title: WIP : draft of replacement for pyplot by tacaswell · Pull Request #3587 · matplotlib/matplotlib
X Title: WIP : draft of replacement for pyplot by tacaswell · Pull Request #3587 · matplotlib/matplotlib
Description: pyplot_nng replaces most of pyplot plotting functions, a few things (like plt.subplots and the other axes/figure generation functions) need to be interactive gives a auto-redraw wrapper for explicitly using axes, but forces you through a functional interface rather than the OO interface. This a result of http://thread.gmane.org/gmane.comp.python.matplotlib.devel/12999 On one hand, this is a huge API change (but it can be done breaking back-compatibility as slowly as we want), but I think this will greatly simplify things going forward and solve the pyplot vs OO issues replacing both with a more functional approach (we still need to work out where the edges are, is it set_yscale(ax, 'log'), ax.yscale('log'), ax.set_yscale('log') or ax.yscale = 'log'). The pyplot/interactive repl interface is an automatic wrapping of the functions to handle the global state and automatic re-drawing and the functions take the place of the OO in scripts and user developed functions. This would also let us sort the plotting functions in to modules which might help with the documentation issues. cc @efiring
Open Graph Description: pyplot_nng replaces most of pyplot plotting functions, a few things (like plt.subplots and the other axes/figure generation functions) need to be interactive gives a auto-redraw wrapper for explici...
X Description: pyplot_nng replaces most of pyplot plotting functions, a few things (like plt.subplots and the other axes/figure generation functions) need to be interactive gives a auto-redraw wrapper for explici...
Opengraph URL: https://github.com/matplotlib/matplotlib/pull/3587
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:af0e2a1d-e2dc-f149-ab53-a26766729d36 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | E2D2:17402E:36886D5:4D562B8:6A54E580 |
| html-safe-nonce | abf265c1d9fd244704eed61e5550da2dfd5a565d4e8530c0086d7baddc6d0a9a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMkQyOjE3NDAyRTozNjg4NkQ1OjRENTYyQjg6NkE1NEU1ODAiLCJ2aXNpdG9yX2lkIjoiMjc1MDQ2NTM5OTkzODQwOTg1NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 553acc009a80fdb1b7946c3baf652491e499e0d3bf10dd57f771304f17f966ea |
| hovercard-subject-tag | pull_request:21906536 |
| 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/3587/files |
| twitter:image | https://avatars.githubusercontent.com/u/199813?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/199813?s=400&v=4 |
| og:image:alt | pyplot_nng replaces most of pyplot plotting functions, a few things (like plt.subplots and the other axes/figure generation functions) need to be interactive gives a auto-redraw wrapper for explici... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | eae2aab99907699a22d2c8449aa683ca74454fca87211b98f7c7b722086b2839 |
| 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 |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | bb1b4ffdc07c66de20ad344214f55df0aa364bd3 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width