fix calls to etree object to properly set height and width
@@ -280,7 +280,8 @@ def compose_view(bg_svgs, fg_svgs, ref=0, out_file='report.svg'):
]
fig.append(newroots)
out_file = op.abspath(out_file)
- fig.root.setsize("", "")
+ fig.root.set("width", "")
+ fig.root.set("height", "")
fig.save(out_file)
# Add styles for the flicker animation
