plasmidcanvas._curvedtext

Module Contents

Classes

CurvedText

A text object that follows an arbitrary curve.

class plasmidcanvas._curvedtext.CurvedText(x, y, text, axes, **kwargs)

Bases: matplotlib.text.Text

Inheritance diagram of plasmidcanvas._curvedtext.CurvedText

A text object that follows an arbitrary curve.

set_zorder(zorder)
draw(renderer, *args, **kwargs)

Overload of the Text.draw() function. Do not do do any drawing, but update the positions and rotation angles of self.__Characters.

update_positions(renderer)

Update positions and rotations of the individual text elements.