We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac39870 commit 716aea1Copy full SHA for 716aea1
src/ogdf_python/pythonize/render.py
@@ -13,8 +13,7 @@ def GraphAttributes_to_html(self):
13
SVGConf.bezierInterpolation(True)
14
SVGConf.curviness(0.3)
15
with tempfile.NamedTemporaryFile("w+t", suffix=".svg", prefix="ogdf-python-") as f:
16
- # os = cppyy.gbl.std.ofstream(f.name)
17
- # cppyy.bind_object(cppyy.addressof(os), "std::basic_ostream<char>")
18
- cppyy.gbl.ogdf.GraphIO.drawSVG(self, f.name, SVGConf)
19
- # os.close()
+ os = cppyy.gbl.std.ofstream(f.name)
+ cppyy.gbl.ogdf.GraphIO.drawSVG(self, os, SVGConf)
+ os.close()
20
return f.read()
0 commit comments