Title: UnboundLocalError: local variable 's' referenced before assignment · Issue #1016 · python-control/python-control · GitHub
Open Graph Title: UnboundLocalError: local variable 's' referenced before assignment · Issue #1016 · python-control/python-control
X Title: UnboundLocalError: local variable 's' referenced before assignment · Issue #1016 · python-control/python-control
Description: When mouse clicking in root locus plot outside in the border region of the window I get this: Traceback (most recent call last): File "C:\Users\me\PycharmProjects\f\venv\lib\site-packages\matplotlib\cbook.py", line 298, in process func(*...
Open Graph Description: When mouse clicking in root locus plot outside in the border region of the window I get this: Traceback (most recent call last): File "C:\Users\me\PycharmProjects\f\venv\lib\site-packages\matplotli...
X Description: When mouse clicking in root locus plot outside in the border region of the window I get this: Traceback (most recent call last): File "C:\Users\me\PycharmProjects\f\venv\lib\site-packages\matp...
Opengraph URL: https://github.com/python-control/python-control/issues/1016
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"UnboundLocalError: local variable 's' referenced before assignment","articleBody":"When mouse clicking in root locus plot outside in the border region of the window I get this:\r\n```\r\nTraceback (most recent call last):\r\n File \"C:\\Users\\me\\PycharmProjects\\f\\venv\\lib\\site-packages\\matplotlib\\cbook.py\", line 298, in process\r\n func(*args, **kwargs)\r\n File \"C:\\Users\\me\\PycharmProjects\\f\\venv\\lib\\site-packages\\control\\pzmap.py\", line 470, in _click_dispatcher\r\n K, s = _find_root_locus_gain(event, sys, ax)\r\n File \"C:\\Users\\me\\PycharmProjects\\f\\venv\\lib\\site-packages\\control\\pzmap.py\", line 531, in _find_root_locus_gain\r\n return None, s\r\nUnboundLocalError: local variable 's' referenced before assignment\r\n```","author":{"url":"https://github.com/NikolaiVChr","@type":"Person","name":"NikolaiVChr"},"datePublished":"2024-06-29T09:23:16.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/1016/python-control/issues/1016"}
| 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:16edd920-248f-2703-fadd-743e2fd035cd |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 869C:303028:2327D75:2FBAA07:6979A13E |
| html-safe-nonce | 3609da520ece0093200973363bb767c879ccbc3bd8972016f0483ce60b30bbd0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NjlDOjMwMzAyODoyMzI3RDc1OjJGQkFBMDc6Njk3OUExM0UiLCJ2aXNpdG9yX2lkIjoiNzkyODEyMjMzNTgwNDYyOTMxMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | b8bbc73a23f0a400f81fc4218f4b341d0abfcf68a46c0b62a21fcb11409d66af |
| hovercard-subject-tag | issue:2381605383 |
| 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/python-control/python-control/1016/issue_layout |
| twitter:image | https://opengraph.githubassets.com/2ea9428a22d25c8676a68084fedb5dba2886c8cb2467bc89b10bb099675f1f02/python-control/python-control/issues/1016 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/2ea9428a22d25c8676a68084fedb5dba2886c8cb2467bc89b10bb099675f1f02/python-control/python-control/issues/1016 |
| og:image:alt | When mouse clicking in root locus plot outside in the border region of the window I get this: Traceback (most recent call last): File "C:\Users\me\PycharmProjects\f\venv\lib\site-packages\matplotli... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | NikolaiVChr |
| 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 |
| 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