4.1.8.3. causality/EventTracePrinter¶
- class causality.EventTracePrinter¶
This class is used to configure how event traces are visualised, e.g., which vertices/graphs should be shown, colours, and axis configuration.
See
causality::EventTracePrinter
for details on how the plot is rendered, and how the rendering is influenced by the printer.- maxPointsPerVertex¶
Control how many points are rendered for each different vertex represented in the trace. Data is then visualised at this amount of regular intervals on the time axis. It defaults to 500.
- Type:
- pushOptions(f)¶
Add another function or constant that adds options for the axis environment. All options function results are applied.
- popOptions()¶
Remove the last pushed options function.
- Raises:
LogicError
if no callback is left to pop.
- pushVertexVisible(f)¶
Add another function or constant controlling the visibility of plots of vertices. All visibility functions must return
true
for a plot of a vertex to be visible.
- popVertexVisible()¶
Remove the last pushed vertex visibility function.
- Raises:
LogicError
if no callback is left to pop.
- pushVertexOptions(f)¶
Add another function or constant setting options for the plot of each vertex. All options function results are applied.
- popVertexOptions()¶
Remove the last pushed vertex options function.
- Raises:
LogicError
if no callback is left to pop.