pydot Questions

4

Solved

I execute the code following on my machine( Win10, python 2.7, Anaconda&Spyder) and meet ImportError: No module named pydotplus . import networkx as nx from networkx.drawing.nx_pydot import wr...
Blocking asked 2/5, 2016 at 9:44

1

Solved

I have a very simple graph that I want to plot as svg. For example: # graph.dot graph { a -- b; b -- c; } I am currently using pydot to read the file and then generate the svg file as fol...
Catarinacatarrh asked 11/7, 2016 at 7:46

3

Solved

I'm trying to visualize my DecisionTree, but getting the error The code is: X = [i[1:] for i in dataset]#attribute y = [i[0] for i in dataset] clf = tree.DecisionTreeClassifier() dot_data = Strin...
Lightfingered asked 3/7, 2015 at 14:20

1

I would like to add multiline tool-tip for the nodes in the graph I am generating using pydot. Here is what I am doing: node = pydot.Node('abc', style='filled', fillcolor='#CCFF00', fontsize=12) t...
Rida asked 21/5, 2013 at 14:0

2

Solved

I'm using pydot in order to draw graphs in python. I'd like to represent a decision tree, say something like (a1,a2,a3 are attributes and two classes are 0 and 1: a1>3 / \ a2>10 a3>-7 ...
Gobbler asked 22/10, 2012 at 13:36

1

I'm using pydot for parsing dot files in python. I can't find a way to parse comments present in the dot file itself, is there any way to do it? By just looking at the documentation I couldn't fin...
Thevenot asked 6/2, 2014 at 14:27

6

Solved

I am trying to make a few interactive graph visualisations in my Django web application using Python. I found Graphviz and was able to output a static graph (as a .png image) on my application usin...
Antakiya asked 16/5, 2011 at 16:46

3

I am using Graphviz in Python via pydot. The diagram I am making has many clusters of directed graphs. pydot is putting them next to each other horizontally resulting in an image that is very wide....
Lattimore asked 7/2, 2010 at 1:6

2

Solved

I have a dictionary object as such: menu = {'dinner':{'chicken':'good','beef':'average','vegetarian':{'tofu':'good','salad':{'caeser':'bad','italian':'average'}},'pork':'bad'}} I'm trying to cre...

© 2022 - 2024 — McMap. All rights reserved.