Title: matplotlib bug in WinPython 2025-02 final Spyder Ipython console · Issue #1587 · winpython/winpython · GitHub
Open Graph Title: matplotlib bug in WinPython 2025-02 final Spyder Ipython console · Issue #1587 · winpython/winpython
X Title: matplotlib bug in WinPython 2025-02 final Spyder Ipython console · Issue #1587 · winpython/winpython
Description: Just type "%pylab" in ipython console or click the "Inline" on the statusbar. Here is what I got: Python 3.12.10 (tags/v3.12.10:0cc8128, Apr 8 2025, 12:21:36) [MSC v.1943 64 bit (AMD64)] Type "copyright", "credits" or "license" for more ...
Open Graph Description: Just type "%pylab" in ipython console or click the "Inline" on the statusbar. Here is what I got: Python 3.12.10 (tags/v3.12.10:0cc8128, Apr 8 2025, 12:21:36) [MSC v.1943 64 bit (AMD64)] Type "copy...
X Description: Just type "%pylab" in ipython console or click the "Inline" on the statusbar. Here is what I got: Python 3.12.10 (tags/v3.12.10:0cc8128, Apr 8 2025, 12:21:36) [MSC v.1943 64 bit...
Opengraph URL: https://github.com/winpython/winpython/issues/1587
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"matplotlib bug in WinPython 2025-02 final Spyder Ipython console","articleBody":"\nJust type \"%pylab\" in ipython console or click the \"Inline\" on the statusbar.\n\nHere is what I got:\n\nPython 3.12.10 (tags/v3.12.10:0cc8128, Apr 8 2025, 12:21:36) [MSC v.1943 64 bit (AMD64)]\nType \"copyright\", \"credits\" or \"license\" for more information.\n\nIPython 8.34.0 -- An enhanced Interactive Python. Type '?' for help.\n\n%pylab\n---------------------------------------------------------------------------\nValueError Traceback (most recent call last)\nCell In[1], line 1\n----\u003e 1 get_ipython().run_line_magic('pylab', '')\n\nFile C:\\winPython\\WPy64-312100\\python\\Lib\\site-packages\\IPython\\core\\interactiveshell.py:2482, in InteractiveShell.run_line_magic(self, magic_name, line, _stack_depth)\n 2480 kwargs['local_ns'] = self.get_local_scope(stack_depth)\n 2481 with self.builtin_trap:\n-\u003e 2482 result = fn(*args, **kwargs)\n 2484 # The code below prevents the output from being displayed\n 2485 # when using magics with decorator @output_can_be_silenced\n 2486 # when the last Python token in the expression is a ';'.\n 2487 if getattr(fn, magic.MAGIC_OUTPUT_CAN_BE_SILENCED, False):\n\nFile C:\\winPython\\WPy64-312100\\python\\Lib\\site-packages\\IPython\\core\\magics\\pylab.py:159, in PylabMagics.pylab(self, line)\n 155 else:\n 156 # invert no-import flag\n 157 import_all = not args.no_import_all\n--\u003e 159 gui, backend, clobbered = self.shell.enable_pylab(args.gui, import_all=import_all)\n 160 self._show_matplotlib_backend(args.gui, backend)\n 161 print(\n 162 \"%pylab is deprecated, use %matplotlib inline and import the required libraries.\"\n 163 )\n\nFile C:\\winPython\\WPy64-312100\\python\\Lib\\site-packages\\IPython\\core\\interactiveshell.py:3721, in InteractiveShell.enable_pylab(self, gui, import_all, welcome_message)\n 3694 \"\"\"Activate pylab support at runtime.\n 3695 \n 3696 This turns on support for matplotlib, preloads into the interactive\n (...)\n 3717 This argument is ignored, no welcome message will be displayed.\n 3718 \"\"\"\n 3719 from IPython.core.pylabtools import import_pylab\n-\u003e 3721 gui, backend = self.enable_matplotlib(gui)\n 3723 # We want to prevent the loading of pylab to pollute the user's\n 3724 # namespace as shown by the %who* magics, so we execute the activation\n 3725 # code in an empty namespace, and we update *both* user_ns and\n 3726 # user_ns_hidden with this information.\n 3727 ns = {}\n\nFile C:\\winPython\\WPy64-312100\\python\\Lib\\site-packages\\IPython\\core\\interactiveshell.py:3683, in InteractiveShell.enable_matplotlib(self, gui)\n 3679 pt.activate_matplotlib(backend)\n 3681 from matplotlib_inline.backend_inline import configure_inline_support\n-\u003e 3683 configure_inline_support(self, backend)\n 3685 # Now we must activate the gui pylab wants to use, and fix %run to take\n 3686 # plot updates into account\n 3687 self.enable_gui(gui)\n\nFile C:\\winPython\\WPy64-312100\\python\\Lib\\site-packages\\matplotlib_inline\\backend_inline.py:205, in configure_inline_support(shell, backend)\n 202 cur_backend = getattr(configure_inline_support, \"current_backend\", \"unset\")\n 203 if new_backend_name != cur_backend:\n 204 # Setup the default figure format\n--\u003e 205 select_figure_formats(shell, cfg.figure_formats, **cfg.print_figure_kwargs)\n 206 configure_inline_support.current_backend = new_backend_name\n\nFile C:\\winPython\\WPy64-312100\\python\\Lib\\site-packages\\IPython\\core\\pylabtools.py:297, in select_figure_formats(shell, formats, **kwargs)\n 295 bs = \"%s\" % ','.join([repr(f) for f in bad])\n 296 gs = \"%s\" % ','.join([repr(f) for f in supported])\n--\u003e 297 raise ValueError(\"supported formats are: %s not %s\" % (gs, bs))\n 299 if \"png\" in formats:\n 300 png_formatter.for_type(\n 301 Figure, partial(print_figure, fmt=\"png\", base64=True, **kwargs)\n 302 )\n\nValueError: supported formats are: 'jpg','jpeg','png2x','png','retina','svg','pdf' not 'p','g','n'","author":{"url":"https://github.com/urima","@type":"Person","name":"urima"},"datePublished":"2025-05-09T06:58:23.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":23},"url":"https://github.com/1587/winpython/issues/1587"}
| 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:ed2b2641-a918-0e81-5a95-a1501ddf2294 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A702:10C46F:2F33376:40DA89C:6972B385 |
| html-safe-nonce | 87decff297dab391a8d0ed8d990b4c8d36ed13adebfec31b44fc93404b68f100 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNzAyOjEwQzQ2RjoyRjMzMzc2OjQwREE4OUM6Njk3MkIzODUiLCJ2aXNpdG9yX2lkIjoiNjk1OTU2Nzg1ODgwODA2Mjc4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | a0d6ea2d7aea79726f76be923ad4a0e9e613a5d0975993af64fdb4a2a111f1b3 |
| hovercard-subject-tag | issue:3051182355 |
| 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/winpython/winpython/1587/issue_layout |
| twitter:image | https://opengraph.githubassets.com/131edf3f1d7bd5d795f39d7215081f1a4441c8024b7b3ec1ff5dda90a32e4826/winpython/winpython/issues/1587 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/131edf3f1d7bd5d795f39d7215081f1a4441c8024b7b3ec1ff5dda90a32e4826/winpython/winpython/issues/1587 |
| og:image:alt | Just type "%pylab" in ipython console or click the "Inline" on the statusbar. Here is what I got: Python 3.12.10 (tags/v3.12.10:0cc8128, Apr 8 2025, 12:21:36) [MSC v.1943 64 bit (AMD64)] Type "copy... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | urima |
| hostname | github.com |
| expected-hostname | github.com |
| None | 51c0d0848f5569c6fa2198e9d69bd5f8f94a83c9fa3659e40728e7732afab130 |
| turbo-cache-control | no-preview |
| go-import | github.com/winpython/winpython git https://github.com/winpython/winpython.git |
| octolytics-dimension-user_id | 8850436 |
| octolytics-dimension-user_login | winpython |
| octolytics-dimension-repository_id | 24275324 |
| octolytics-dimension-repository_nwo | winpython/winpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 24275324 |
| octolytics-dimension-repository_network_root_nwo | winpython/winpython |
| 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 | 10c5e2f2307495b2750073db87e9a5d3356a924f |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width