Legend fonts get messed up saving screenshot using pvpython

Make sure you set the view size to the same size as you image with something like:
view.ViewSize = [1024, 1024]

if your image is 1024 x 1204 pixels. I think there is something like this commented out in your script produced by the trace.

1 Like