pyfeyn2.feynmandiagram.Texted

class pyfeyn2.feynmandiagram.Texted(text: Optional[str] = '')[source]

Bases: object

__init__(text: Optional[str] = '') None

Methods

__init__([text])

set_text(*args, **kwargs)

Deprecated since version 2.0.7.1.

with_text(value[, k])

Set text to value and return self.

Attributes

text

Text the object

set_text(*args, **kwargs)[source]

Deprecated since version 2.0.7.1: This will be removed in 2.2. Use with…().

Deprecated since version 2.0.7.1: This will be removed in 2.2. Use label=””

text: Optional[str] = ''

Text the object

with_text(value, k='text')

Set text to value and return self.