print
Signature/Parameters
def print(self, what = 'graph', identification = dict(content='default', style='text', strategy='all', parameter='ACE', omit_DAG=True, print_assumptions=None, print_assumptions_verbose=None))
Display graph or identification information using configured options.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
what
|
(graph, DAG, dag, identification)
|
Content selector. Case-insensitive variants for graph display are
accepted. Defaults to |
'graph'
|
identification
|
dict
|
Print configuration dict forwarded to the internal identification
object. Missing keys fall back to global defaults obtained from
|
dict(content='default', style='text', strategy='all', parameter='ACE', omit_DAG=True, print_assumptions=None, print_assumptions_verbose=None)
|
Returns:
| Type | Description |
|---|---|
None
|
|
Examples:
>>> G = DAG(graph="X -> Y")
>>> G.print(what="graph")
>>> G.identification_analysis(exposure="X", outcome="Y", verbose=False)
>>> G.print(what="identification", identification={"content": "strategy"})