Package rekall :: Package plugins :: Package renderers :: Module visual_aides :: Class MapLegend
[frames] | no frames]

Class MapLegend

source code


Describes a (heat) map using colors, sigils and optional description.

Attributes: notes: Optional text to display next to the legend (depends on renderer.) legend: List of tuples of ((str) sigil, (str) name, (r,g,b) color).

Sigils, names and colors: A name is a long, descriptive title of each range. E.g. "ACPI Memory" A sigil is a short (len 1-2) symbol which will be displayed within each cell for more clarity (by some renderers). E.g. "Ac" A color is a tuple of (red, green, blue) and is exactly what it sounds like.

Instance Methods
 
__init__(self, legend, notes=None)
x.__init__(...) initializes x; see help(type(x)) for signature
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties

Inherited from object: __class__

Method Details

__init__(self, legend, notes=None)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)