You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd like to assess interest in adding interactive examples to NumPy's docs. @mattip mentioned in scipy/scipy#19729 (comment), that this was briefly discussed in one of the NumPy community meetings.
For background info. The jupyterlite-sphinx extension offers the try_examples directive, which adds a button which can be used to swap the rendered examples sections for a docstring in-place with an embedded Jupyterlite notebook. The notebooks run in-browser using a wasm based kernel like pyodide .
scipy/scipy#20019 was recently merged, adding jupyterlite-sphinx to SciPy's docs. Examples are currently disabled (it's possible to enable or disable them for deployed docs without rebuilding), but we plan to roll them out within the next two weeks.
I'd be interested in getting feedback on the extension, and if there are any changes or new features you'd like to see before it could be used for NumPy. NumPy being able to ship interactive examples would need to wait for Pyodide support for NumPy 2.0, which I suspect would not be too difficult. My understanding is the primary blocker making updates of SciPy in Pyodide difficult is the dependence on Fortran.
The text was updated successfully, but these errors were encountered:
I'd like to assess interest in adding interactive examples to NumPy's docs. @mattip mentioned in scipy/scipy#19729 (comment), that this was briefly discussed in one of the NumPy community meetings.
For background info. The jupyterlite-sphinx extension offers the try_examples directive, which adds a button which can be used to swap the rendered examples sections for a docstring in-place with an embedded Jupyterlite notebook. The notebooks run in-browser using a wasm based kernel like pyodide .
I've deployed SciPy's docs with this extension in action here: https://steppi.github.io/scipy/reference/index.html
Here's a direct link to a page with an example: https://steppi.github.io/scipy/reference/generated/scipy.integrate.quad.html#scipy.integrate.quad.
scipy/scipy#20019 was recently merged, adding jupyterlite-sphinx to SciPy's docs. Examples are currently disabled (it's possible to enable or disable them for deployed docs without rebuilding), but we plan to roll them out within the next two weeks.
I'd be interested in getting feedback on the extension, and if there are any changes or new features you'd like to see before it could be used for NumPy. NumPy being able to ship interactive examples would need to wait for Pyodide support for NumPy 2.0, which I suspect would not be too difficult. My understanding is the primary blocker making updates of SciPy in Pyodide difficult is the dependence on Fortran.
The text was updated successfully, but these errors were encountered: