Skip to content

v0.10.0 Plotly, VSCode, Cell Magic

Compare
Choose a tag to compare
@janpfeifer janpfeifer released this 07 Apr 08:53
· 80 commits to main since this release

0.10.0, 2024/04/07 Improvements on Plotly, VSCode support, Cell magic, interrupt handling and several minor fixes.

  • Added special cell commands ("magic"):
    • %%writefile to write contents of cell to file. See #103. Thanks @potoo0!
    • %%script, %%bash and %%sh to execute the full cell contents with the given command (none of the extra flags are supported yet though).
  • Added dom.LoadScriptOrRequireJSModuleAndRun and dom.LoadScriptOrRequireJSModuleAndRunTransient that dynamically decides
    if to include script using <script src=...> or use RequireJS.
  • Plotly library uses dom.LoadScriptOrRequireJSModuleAndRun now, allowing result to show up in the HTML export of
    the notebook.
  • Added plotly.AppendFig that allows plotting to a transient area, or anywhere in the page.
  • Several minor fixes, see #106
  • Added handling of SIGHUP and SIGTERM to handle a clean exit: and avoid leaking gopls daemons.
  • Make sure SIGINT triggers an equivalent SIGINT on the child processes (it was not happening in VSCode).
  • Added docs/VSCode.md with notes/info on running GoNB with Visual Studio Code.