A widget to allow input of a python function, with syntax highlighting.
You can install using pip:
pip install widget_code_inputIn order to make a new release of the library and publish to PYPI, run
bumpver update --major/--minor/--patchThis will
- update version numbers, make a corresponding
git commitand agit tag; - push this commit and tag to Github, which triggers the Github Action that makes a new Github Release and publishes the package to PYPI.
If the widget test fails, it indicates there is something wrong with the code, and the widget is NOT
being displayed correctly in the test.
If the widget test passes but the screenshot comparison fails, it indicates the appearance of the widget
is different from the previous version. In this case, you'll need to manually download the artifact from
the widget test and use it to replace the widget-sample.png figure in the test folder.
We acknowledge support from the EPFL Open Science Fund via the OSSCAR project.
