Title: Fix CI warnings by murrayrm · Pull Request #955 · python-control/python-control · GitHub
Open Graph Title: Fix CI warnings by murrayrm · Pull Request #955 · python-control/python-control
X Title: Fix CI warnings by murrayrm · Pull Request #955 · python-control/python-control
Description: This PR makes a bunch of small changes to remove warning messages in the GitHub actions CI runs: Access scalar NumPy arrays using item() (old usage is newly deprecated in NumPy). Change set_tight_layout(True) to fig.set_layout_engine('tight') (newly deprecated in Matplotlib). Update unit tests using deprecated functionality to use current functionality. Add warning filters for internal calls to connect (which are OK for now). Avoid calling tf2zpk with zero in the numerator (SciPy generates warning). Fix up some strings that had newly deprecated escape sequences (by using raw strings) Turn off warnings for optimal control problems that fail to hit desired precision (but still return valid answers) Note: it is likely that this PR will conflict with #953. We should probably merge #953 first and then rebase this PR since the changes here are pretty straightforward.
Open Graph Description: This PR makes a bunch of small changes to remove warning messages in the GitHub actions CI runs: Access scalar NumPy arrays using item() (old usage is newly deprecated in NumPy). Change set_tight_...
X Description: This PR makes a bunch of small changes to remove warning messages in the GitHub actions CI runs: Access scalar NumPy arrays using item() (old usage is newly deprecated in NumPy). Change set_tight_...
Opengraph URL: https://github.com/python-control/python-control/pull/955
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:c7e7600a-38f4-793f-e1eb-37c642ea8fe2 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | DAFC:316D5A:7A0766:A9D9C0:6979F1B5 |
| html-safe-nonce | 36b8352abe40960dd3c07fb7d9313a00de1c661f79fb8cbf14b55238be99e952 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQUZDOjMxNkQ1QTo3QTA3NjY6QTlEOUMwOjY5NzlGMUI1IiwidmlzaXRvcl9pZCI6IjIxNTAxMTM3NTg4OTI2NTA5MzMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | d7e79c1015cd4f387427e00f0e6f5544f5f5c0e73755c205f70ef43d45d02d18 |
| hovercard-subject-tag | pull_request:1660212570 |
| 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/python-control/python-control/pull/955/files |
| 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 makes a bunch of small changes to remove warning messages in the GitHub actions CI runs: Access scalar NumPy arrays using item() (old usage is newly deprecated in NumPy). Change set_tight_... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | d518616844426fb176f4177c4776349f6e70ef1ce75f459c8c53bf9293bb6982 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 22c6ce7724007ae85d7487fce3308a1c7cea8be6 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width