Title: Update shared axes processing in plot_time_response by murrayrm · Pull Request #1040 · python-control/python-control · GitHub
Open Graph Title: Update shared axes processing in plot_time_response by murrayrm · Pull Request #1040 · python-control/python-control
X Title: Update shared axes processing in plot_time_response by murrayrm · Pull Request #1040 · python-control/python-control
Description: This PR updates the way that tickmarks are labeled on shared axes in time response plots, in response to a comment from @slivingston in #1034. Tickmark labels are now omitted on shared axes, consistent with frequency response plots. To allow tickmark labels to be added, two new keyword arguments are included in time_response_plot: sharex and sharey. These are passthrough arguments to matplotlib.pyplot.subplots and allow axes sharing to be turned on and off in the same way as bode_plot => frequency and time response plots are now consistent. Also added unit tests checking for consistency and updated the user documentation and relevant docstrings. Without tickmark labels With tickmark labels Version 0.10.0: Previous to this PR (from #1034): After this PR (using default settings): After this PR (using sharex=False):
Open Graph Description: This PR updates the way that tickmarks are labeled on shared axes in time response plots, in response to a comment from @slivingston in #1034. Tickmark labels are now omitted on shared axes, consi...
X Description: This PR updates the way that tickmarks are labeled on shared axes in time response plots, in response to a comment from @slivingston in #1034. Tickmark labels are now omitted on shared axes, consi...
Opengraph URL: https://github.com/python-control/python-control/pull/1040
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:fcb0fece-8d92-63c4-cb36-969551b646d2 |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | A3F8:B924D:15BBEF5:1D62C41:69797B52 |
| html-safe-nonce | 554e793cd58f0b631254b9bf91b142cb92a53a4bdf853fc23c3723baa7f90bcd |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBM0Y4OkI5MjREOjE1QkJFRjU6MUQ2MkM0MTo2OTc5N0I1MiIsInZpc2l0b3JfaWQiOiIzODQ0NjcyMTUwMzgzOTgzNDQyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | cc92f9feb98a8a134a97564c7c103cca1b60ac41b9bb9aeb6a730d790de11063 |
| hovercard-subject-tag | pull_request:2017271498 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,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/python-control/python-control/pull/1040/checks |
| twitter:image | https://avatars.githubusercontent.com/u/293362?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/293362?s=400&v=4 |
| og:image:alt | This PR updates the way that tickmarks are labeled on shared axes in time response plots, in response to a comment from @slivingston in #1034. Tickmark labels are now omitted on shared axes, consi... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | c049b65ec7e54cbf2521f5a560b6527714c612b0bd169188e2ea6e16f83bd5f4 |
| turbo-cache-control | no-preview |
| go-import | github.com/python-control/python-control git https://github.com/python-control/python-control.git |
| octolytics-dimension-user_id | 2285872 |
| octolytics-dimension-user_login | python-control |
| octolytics-dimension-repository_id | 22791752 |
| octolytics-dimension-repository_nwo | python-control/python-control |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 22791752 |
| octolytics-dimension-repository_network_root_nwo | python-control/python-control |
| turbo-body-classes | logged-out env-production page-responsive full-width full-width-p-0 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 87b137883e35e2766c3d0f6a257c4044f6390b83 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width