Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
12 lines (9 sloc) 284 Bytes
"""
Show some text as a corner annotation.
Fonts: arial, courier, times.
"""
from vtkplotter import show, Text, Cube
with open("annotations.py") as fname:
t = fname.read()
actor2d = Text(t, pos=3, s=1.2, c='k', bg="lb", font="courier")
show(actor2d, Cube(), verbose=0, axes=0)
You can’t perform that action at this time.