Provide LaTeX-interpreted labels in the VH diagram.

class posydon.visualization.VH_diagram.MathTextLabel.MathTextLabel(parent=None, **kwargs)[source]

Bases: PyQt5.QtWidgets.QWidget

Custom label to display LaTeX formula.

Initialize a MathTextLabel instance.

setText(text)[source]

Set the diplayed text.

Parameters

text (str) – Text to display, interpreted as LaTeX formula.