Skip to content

Instantly share code, notes, and snippets.

@Carreau
Last active February 25, 2024 15:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Carreau/e6510855ecab88630f1ea5985a98358c to your computer and use it in GitHub Desktop.
Save Carreau/e6510855ecab88630f1ea5985a98358c to your computer and use it in GitHub Desktop.
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File ".../ipykernel_launcher.py", line 17, in <module>
app.launch_new_instance()
File ".../traitlets/config/application.py", line 1075, in launch_instance
app.start()
File ".../ipykernel/kernelapp.py", line 737, in start
self.io_loop.start()
File ".../tornado/platform/asyncio.py", line 215, in start
self.asyncio_loop.run_forever()
File ".../asyncio/base_events.py", line 604, in run_forever
self._run_once()
File ".../asyncio/base_events.py", line 1909, in _run_once
handle._run()
File "/Users/bussonniermatthias/miniforge3/envs/arm64/lib/python3.11/asyncio/events.py", line 80, in _run
self._context.run(self._callback, *self._args)
File ".../ipykernel/kernelbase.py", line 524, in dispatch_queue
await self.process_one()
File ".../ipykernel/kernelbase.py", line 513, in process_one
await dispatch(*args)
File ".../ipykernel/kernelbase.py", line 416, in dispatch_shell
result = handler(self.shell_stream, idents, msg)
File ".../comm/base_comm.py", line 261, in comm_msg
comm.handle_msg(msg)
File ".../comm/base_comm.py", line 157, in handle_msg
self._msg_callback(msg)
File ".../ipywidgets/widgets/widget.py", line 221, in m
return(method(self, *args, **kwargs))
File ".../ipywidgets/widgets/widget.py", line 775, in _handle_msg
self._handle_custom_msg(data['content'], msg['buffers'])
File ".../ipywidgets/widgets/widget.py", line 783, in _handle_custom_msg
self._msg_callbacks(self, content, buffers)
File ".../ipywidgets/widgets/widget.py", line 190, in __call__
local_value = callback(*args, **kwargs)
File ".../ipympl/backend_nbagg.py", line 279, in _handle_message
self.manager.handle_json(content)
File ".../matplotlib/backends/backend_webagg_core.py", line 464, in handle_json
self.canvas.handle_event(content)
File ".../matplotlib/backends/backend_webagg_core.py", line 266, in handle_event
return handler(event)
File ".../matplotlib/backends/backend_webagg_core.py", line 282, in handle_draw
self.draw()
File ".../matplotlib/backends/backend_webagg_core.py", line 191, in draw
super().draw()
File ".../matplotlib/backends/backend_agg.py", line 405, in draw
self.figure.draw(self.renderer)
File ".../matplotlib/artist.py", line 74, in draw_wrapper
result = draw(artist, renderer, *args, **kwargs)
File ".../matplotlib/artist.py", line 51, in draw_wrapper
return draw(artist, renderer)
File ".../matplotlib/figure.py", line 3081, in draw
DrawEvent("draw_event", self.canvas, renderer)._process()
File ".../matplotlib/backend_bases.py", line 1230, in _process
self.canvas.callbacks.process(self.name, self)
File ".../matplotlib/cbook/__init__.py", line 307, in process
func(*args, **kwargs)
File ".../matplotlib/animation.py", line 899, in _start
self._init_draw()
File ".../matplotlib/animation.py", line 1721, in _init_draw
self._draw_frame(frame_data)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment