paper-pptxAPI referencechart.category
Category
paper-pptx 0.2.0 API reference
An extension of str that provides the category label as its string
value, and additional attributes representing other aspects of the
category.
Category(pt, idx=None)Attributes
idx
attributeidxReturn an integer representing the index reference of this category. For a leaf node, the index identifies the category. For a parent (or other ancestor) category, the index specifies the first leaf category that ancestor encloses.
label
attributelabelReturn the label of this category as a string.