Я пробовал следующее:
Код: Выделить всё
legendActor=vtkLegendBoxActor()
textProp=vtkTextProperty()
textProp.SetFontSize(3)
textProp.SetVerticalJustificationToCentered()
legendActor.SetEntryTextProperty(textProp)
Код: Выделить всё
legendActor.GetEntryTextProperty().GetFontSize()
Спасибо.
Подробнее здесь: https://stackoverflow.com/questions/756 ... -font-size