util module¶
-
class
mavis.illustrate.util.
Tag
(elementname, content='', **kwargs)[source]¶ Bases:
svgwrite.base.BaseElement
-
mavis.illustrate.util.
dynamic_label_color
(color)[source]¶ calculates the luminance of a color and determines if a black or white label will be more contrasting