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 7260db0 commit ab7f112Copy full SHA for ab7f112
causallearn/graph/GraphClass.py
@@ -193,10 +193,9 @@ def draw_pydot_graph(self):
193
warnings.filterwarnings("ignore", category=UserWarning)
194
pyd = GraphUtils.to_pydot(self.G)
195
tmp_png = pyd.create_png(f="png")
196
+ pyd.write_png("result.png")
197
fp = io.BytesIO(tmp_png)
198
img = mpimg.imread(fp, format='png')
199
plt.axis('off')
200
plt.imshow(img)
201
plt.show()
-
202
setup.py
@@ -3,7 +3,7 @@
3
with open('README.md', 'r') as fh:
4
README = fh.read()
5
6
-VERSION = '0.1.1.8'
+VERSION = '0.1.1.9'
7
8
setuptools.setup(
9
name='causal-learn',
tests/result.png
91.5 KB
0 commit comments