Skip to content

mavis/illustrate/util

MIN_PIXEL_ACCURACY

MIN_PIXEL_ACCURACY = 1

class LabelMapping

class Tag

inherits svgwrite.base.BaseElement

dynamic_label_color()

calculates the luminance of a color and determines if a black or white label will be more contrasting

def dynamic_label_color(color):

Args

  • color