Skip to content

Funix 0.5.5

Compare
Choose a tag to compare
@Yazawazi Yazawazi released this 28 Feb 11:36
· 59 commits to main since this release

0.5.5 (2024-02-28)

Highlights

  • Initial implementation of autorun allows the frontend to automatically re-run the function as parameters are changed, you can use autorun=True in the decorator to enable this feature
  • Once again, any function or class will be decorated with funix or funix_class (default lazy is back again), which you can turn off with @funix(disable=True)
  • Now allowed to generate static images directly from the Figure type (if mpld3 doesn't work for you) by using figure_to_image=True in the parameter of the decorator
  • IPython.display.Javascript is now supported
  • You can now customize widgets with widgets and props in the widgets and theme
    theme = {
        "widgets": {
            "YOUR_WIDGET_NAME": {
                "widget": "WidgetComponent, e.g. '@mui/material/TextField'",
                "props": {
                    # props for the widget
                    "type": "password"
                }
            }
        }
    }
  • The privacy message can now be updated with funix.app.privacy_policy function

Bug Fixes

Features

Documentation

Refactors