def METHOD_NAME(
    self,
    charts: list,
    sidebar: list = [],
    layout=single_feature,
    theme=default,
    title="Dashboard",
    data_size_widget=True,
    warnings=False,
    layout_array=None,
):
    """
    Creates a cuxfilter.DashBoard object
    Parameters
    ----------
    charts: list
        list of cuxfilter.charts
    layout: cuxfilter.layouts
    theme: cuxfilter.themes, default cuxfilter.themes.default.
    title: str
        title of the dashboard, default "Dashboard"
    data_size_widget: boolean
        flag to determine whether to diplay the current datapoints
        selected in the dashboard, default True
    warnings: boolean
        flag to disable or enable runtime warnings related to layouts,
        default False
    Examples
    --------
    >>> import cudf
    >>> import cuxfilter
    >>> from cuxfilter.charts import bokeh
    >>> df = cudf.DataFrame(
    >>>     {
    >>>         'key': [0, 1, 2, 3, 4],
    >>>         'val':[float(i + 10) for i in range(5)]
    >>>     }
    >>> )
    >>> cux_df = cuxfilter.DataFrame.from_dataframe(df)
    >>> line_chart_1 = bokeh.line(
    >>>     'key', 'val', data_points=5, add_interaction=False
    >>> )
    >>> # create a dashboard object
    >>> d = cux_df.dashboard([line_chart_1])
    Returns
    -------
    cuxfilter.DashBoard object
    """
    if notebook_assets.pn.config.js_files == {}:
        notebook_assets.load_notebook_assets()
    return DashBoard(
        charts=charts,
        sidebar=sidebar,
        dataframe=self,
        layout=layout,
        theme=theme,
        title=title,
        data_size_widget=data_size_widget,
        show_warnings=warnings,
        layout_array=layout_array,
    )