Skip to content

copy_style

Signature/Parameters

def copy_style(which = 'default')

Return a mutable copy of a built-in style.

Parameters:

Name Type Description Default
which str

String with the name of the built-in style.

'default'
Source code in causalinf/gcm.py
def copy_style(which='default'):
    """Return a mutable copy of a built-in style.

    Parameters
    ----------
    which : str
        String with the name of the built-in style.
    """
    resolve_graph_style(which, GRAPH_STYLES)
    return _copy_style(GRAPH_STYLES[which])