Figure#

class src.pyconverter.xml2py.ast_tree.Figure(element, parse_children=True)#

Bases: Element

Provides the figure element.

Overview#

to_rst

Return a string to enable converting the element to an RST format.

title

First title element found in the figure element.

graphic

First graphic element found in the figure element.

Import detail#

from src.pyconverter.xml2py.ast_tree import Figure

Property detail#

property Figure.title#

First title element found in the figure element.

property Figure.graphic#

First graphic element found in the figure element.

Method detail#

Figure.to_rst(indent='', max_length=100, fcache=None)#

Return a string to enable converting the element to an RST format.