stream_graph.Visualizer

class stream_graph.Visualizer(x_axis_label=None, y_axis_label=None, date_map=None)[source][source]

Visualizer object for stream_graph objects.

Parameters
x_axis_label: str, default=None

Defines the label of the x-axis. By default is ‘time’.

y_axis_label: str, default=None

Defines the label of the y-axis. No label by default.

date_mapdict or callable or True, default=None

A map that transforms time elements to date-time-objects. If time-elements are already unix-epoch-timestamps set to True.

Attributes
discrete

Methods

draw

fit

map_datetime

map_time

save

save_address

show

__delattr__(self, name, /)

Implement delattr(self, name).

__dir__()

default dir() implementation

__eq__(self, value, /)

Return self==value.

__format__()

default object formatter

__ge__(self, value, /)

Return self>=value.

__getattribute__(self, name, /)

Return getattr(self, name).

__gt__(self, value, /)

Return self>value.

__hash__(self, /)

Return hash(self).

__init_subclass__()

This method is called when a class is subclassed.

The default implementation does nothing. It may be overridden to extend subclasses.

__le__(self, value, /)

Return self<=value.

__lt__(self, value, /)

Return self<value.

__ne__(self, value, /)

Return self!=value.

__new__(*args, **kwargs)

Create and return a new object. See help(type) for accurate signature.

__reduce__()

helper for pickle

__reduce_ex__()

helper for pickle

__repr__(self, /)

Return repr(self).

__setattr__(self, name, value, /)

Implement setattr(self, name, value).

__sizeof__()

size of object in memory, in bytes

__str__(self, /)

Return str(self).

__subclasshook__()

Abstract classes can override this to customize issubclass().

This is invoked early on by abc.ABCMeta.__subclasscheck__(). It should return True, False or NotImplemented. If it returns NotImplemented, the normal algorithm is used. Otherwise, it overrides the normal algorithm (and the outcome is cached).

__weakref__

list of weak references to the object (if defined)

Examples using stream_graph.Visualizer