Title: With --simple-prompt + matplotlib event loop: >100 character input gets stuck · Issue #14030 · ipython/ipython · GitHub
Open Graph Title: With --simple-prompt + matplotlib event loop: >100 character input gets stuck · Issue #14030 · ipython/ipython
X Title: With --simple-prompt + matplotlib event loop: >100 character input gets stuck · Issue #14030 · ipython/ipython
Description: When using latest ipython with --simple-prompt, after opening a matplotlib plot, further input is limited to 100 characters, above which commands get "stuck", requiring an additional newline entry to register. When using prompt_toolkit, ...
Open Graph Description: When using latest ipython with --simple-prompt, after opening a matplotlib plot, further input is limited to 100 characters, above which commands get "stuck", requiring an additional newline entry ...
X Description: When using latest ipython with --simple-prompt, after opening a matplotlib plot, further input is limited to 100 characters, above which commands get "stuck", requiring an additional newl...
Opengraph URL: https://github.com/ipython/ipython/issues/14030
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"With --simple-prompt + matplotlib event loop: >100 character input gets stuck","articleBody":"When using latest ipython with `--simple-prompt`, after opening a matplotlib plot, further input is limited to 100 characters, above which commands get \"stuck\", requiring an additional newline entry to register. When using `prompt_toolkit`, this behavior does not appear. \r\n\r\nExample:\r\n\r\n```python\r\n% python3 -m IPython -i --simple-prompt \r\nPython 3.11.3 (main, Apr 7 2023, 19:29:16) [Clang 14.0.0 (clang-1400.0.29.202)]\r\nType 'copyright', 'credits' or 'license' for more information\r\nIPython 8.12.0 -- An enhanced Interactive Python. Type '?' for help.\r\n\r\nIn [1]: import matplotlib.pyplot as plt \r\n\r\nIn [2]: plt.plot([1,2,3]) \r\nInstalled osx event loop hook.\r\nOut[2]: [\u003cmatplotlib.lines.Line2D at 0x10a433b50>]\r\n# \u003c 100 chars: works\r\nIn [3]: avaravaravaravaravaravaravaravaravaravaravaravaravaravaravaravaravaravaravaravaravaravaravaravar=1 \r\n# > 100 chars: command not accepted\r\nIn [4]: avaravaravaravaravaravaravaravaravaravaravaravaravaravaravaravaravaravaravaravaravaravaravaravaravar=1\r\n# [Ret hangs, does not accept command; another newline required to flush command]\r\n```","author":{"url":"https://github.com/jdtsmith","@type":"Person","name":"jdtsmith"},"datePublished":"2023-04-22T19:56:46Z","url":"https://github.com/ipython/ipython/issues/14030"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| 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:a7202c0a-6be8-d04d-b4a1-12e827e8a36a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8D0A:CD79A:751890:99E2D1:6B024EF6 |
| html-safe-nonce | 80ddbca9fffe3561eca02ff67acb7454567363d1e4fa5714eef589e2bfca90eb |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RDBBOkNENzlBOjc1MTg5MDo5OUUyRDE6NkIwMjRFRjYiLCJ2aXNpdG9yX2lkIjoiMjA5MTc2MzIyMjI5MzEzOTE5MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | e70dda1f026d6c98b911a806d5a253d5817d7e2dc3885fb313fca9625134ecc2 |
| hovercard-subject-tag | issue:1679678472 |
| 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/ipython/ipython/14030/issue_layout |
| twitter:image | https://opengraph.githubassets.com/fe8e28d92e0869470e21c8571edfd29703cea554861d0c5c6876e256f1ff846d/ipython/ipython/issues/14030 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/fe8e28d92e0869470e21c8571edfd29703cea554861d0c5c6876e256f1ff846d/ipython/ipython/issues/14030 |
| og:image:alt | When using latest ipython with --simple-prompt, after opening a matplotlib plot, further input is limited to 100 characters, above which commands get "stuck", requiring an additional newline entry ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jdtsmith |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| turbo-cache-control | no-preview |
| go-import | github.com/ipython/ipython git https://github.com/ipython/ipython.git |
| octolytics-dimension-user_id | 230453 |
| octolytics-dimension-user_login | ipython |
| octolytics-dimension-repository_id | 658518 |
| octolytics-dimension-repository_nwo | ipython/ipython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 658518 |
| octolytics-dimension-repository_network_root_nwo | ipython/ipython |
| 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 | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width