Skip to content

xwhy.plots.initjs

Do nothing; kept so SHAP-style notebooks keep running unchanged.

XWhy renders its text and force plots as static HTML, so there is no JavaScript bundle to initialise.

Source code in src/xwhy/plots/plots.py
522
523
524
525
526
527
528
def initjs() -> None:
    """Do nothing; kept so SHAP-style notebooks keep running unchanged.

    XWhy renders its text and force plots as static HTML, so there is no
    JavaScript bundle to initialise.
    """
    viz.initjs()