Open zhang-qiang-github opened 7 months ago
Try
import vedo
positions = [[0,0,1],[0,0,2]]
planes = []
for i,p in enumerate(positions):
pp = vedo.Plane(p, normal=[1,0,0])
pp.color(i).legend(f"plane{i}")
planes.append(pp)
lb = vedo.LegendBox(planes, markers=['s','o'], font='Bongas')
vedo.show(planes, lb).close()
I add legend to my window, and the code is:
And the result is:
The font in legend is too small to see. How can I make the fond larger?
Thanks in advanced~~~