batss.snapshot
A module for Snapshot objects used to visualize the protocol during or after
the simulation has run.
Snapshot is a base class for snapshot objects that get are updated by batss.simulation.Simulation.
Plotter is a subclass of Snapshot that creates a matplotlib figure and axis.
It also gives the option for a state_map function which maps states to the categories which
will show up in the plot.
StatePlotter is a subclass of Plotter that creates a barplot of the counts
in categories.
HistoryPlotter is a subclass of Plotter that creates a lineplot of the counts
in categories over time.
Classes
|
Plotter which produces a lineplot of counts over time. |
|
Base class for a |
|
Abstract base class for snapshot objects. |
|
|
|
Simple |