def opensignals_kwargs(obj):
    """
    -----
    Brief
    -----
    Function used to automatically apply the OpenSignals graphical style to the toolbar of Bokeh grid plots.

    -----------
    Description
    -----------
    Bokeh grid plots have numerous options in order to personalise the visual aspect and functionalities of plots.
    OpenSignals uses a specific graphical design that limits this options and unifies the aspect of its plots.

    This function applies the graphical aspect of the toolbar of OpenSignals to a given Bokeh figure object given as
    input.

    ----------
    Parameters
    ----------
    obj : str
        String that identifies if the kwargs will be the input of "figure" or "gridplot".

    Returns
    -------
    out : dict
        Dictionary with toolbar parameters.

    """

    out = None
    if obj == "figure":
        out = {}
    elif obj == "gridplot":
        out = {"toolbar_options": {"logo": None}, "sizing_mode": 'scale_width'}
    elif obj == "line":
        out = {"line_width": 2, "line_color": opensignals_color_pallet()}

    return out
-----
    Brief
    -----
    Function used to automatically apply the OpenSignals graphical style to the toolbar of Bokeh grid plots.

    -----------
    Description
    -----------
    Bokeh grid plots have numerous options in order to personalise the visual aspect and functionalities of plots.
    OpenSignals uses a specific graphical design that limits this options and unifies the aspect of its plots.

    This function applies the graphical aspect of the toolbar of OpenSignals to a given Bokeh figure object given as
    input.

    ----------
    Parameters
    ----------
    obj : str
        String that identifies if the kwargs will be the input of "figure" or "gridplot".

    Returns
    -------
    out : dict
        Dictionary with toolbar parameters.