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
531
532
533
534
535
536
537
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()