Questions tagged [pydot]

pydot is a Python module to serve as an easy interface to Graphviz's dot language.

For more information, check:

202 questions
0
votes
1 answer

How can I make my node text bold using attributes of the nodes when trying to draw graph structure using pydot and graphviz?

I have created a node using pydot and GraphViz as follows: import pydot graph = pydot.Dot(graph_type = 'digraph') a = pydot.Node("First Node", style = "filled", color = "red") graph.add_node(a) I want text of node a to be bold. How can I do it? …
Suraj Regmi
  • 193
  • 2
  • 10
0
votes
1 answer

Drawing graphs in python - pydotplus error

I am lost in all the python libraries for drawing graphs. I wish I knew one that is flexible and with documentation... I have spent substantial time playing with networkx to find out that it is not as good for my task (e.g. overlapping labels for…
galapah
  • 379
  • 1
  • 2
  • 14
0
votes
1 answer

Conda cannot install pydot-ng with python3 (Unsatisfiable error)

I have Anaconda 4.3.23 on Ubuntu 16.04 LTS. When I try to install pydot-ng package using conda install pydot-ng I get the following error: UnsatisfiableError: The following specifications were found to be in conflict: - pydot-ng -> python 2.7* ->…
pseudomarvin
  • 1,477
  • 2
  • 17
  • 32
0
votes
3 answers

pydot has no attribute 'find graphviz'

I'm running Anaconda, python 3.5 on a Windows 65-bit machine. I've already successfully run conda install -c anaconda graphviz as well as pydot. After importing theano, pydot, and numpy, and instantiating the theano function f, when I try run…
Kenton K Yee
  • 11
  • 1
  • 3
0
votes
1 answer

Pydot won't create a graph

yesterday I added pydot package by installing it via pip in command line. I can import the package and even create an object, but when I want to create a graph by: graph.write_jpg('example1_graph.jpg') I get the following error: Exception:…
0
votes
1 answer

can't get pydot to find graphviz on windows 10

I'm trying to run a Random Forest analysis on Python 2.7 and I get this error while trying to create the graph of the decision trees. error I've tried reinstalling pydot and graphviz in alternating orders and I've also tried adding dot.exe to my…
0
votes
0 answers

graphviz: how to produce a decision tree

i am having a problem producing a visual image of a decision tree. i am using python 2.7 and i have installed graphviz and pydot but when i run my code this is the error am getting "Could not run dot, ie graphviz, to produce visualization" what…
jkih
  • 1
0
votes
1 answer

Error: django.core.exceptions.ImproperlyConfigured

I am using django-extensions for graph-model representation. When running this command: $ ./manage.py graph_models -a -g -o my.png Error: django.core.exceptions.ImproperlyConfigured: App with label braces is missing a models.py module. My…
user2553017
  • 372
  • 6
  • 21
0
votes
1 answer

Fix Issue of installing "pydot"

I tried to install the pydot package with following command, sudo pip install pydot After that, I tried to test whether it's successfully installed, but encountered following error. import pydot Traceback (most recent call last): File "",…
SixSigma
  • 2,808
  • 2
  • 18
  • 21
0
votes
2 answers

How to insert a pydot chart into reportlab?

I created a graph in pydot, e.g. the python graphviz interface. Now, I would like to enter this graph into my reportlab report. Is there any direct way of doing this?
0
votes
1 answer

Real time data visualization using pydot

I have been using the pydot project to generate graphs showing relations between different data. import pydot graph = pydot.Dot(graph_type='graph') for i in range(3): edge = pydot.Edge("Root", "Connection%d" % i) …
user2061944
  • 319
  • 1
  • 3
  • 11
0
votes
3 answers

Create a permutation array from a list of lists

i have the variable 'actorslist' and its output 100 lines of this ( a line for each movie): [u'Tim Robbins', u'Morgan Freeman', u'Bob Gunton', u'William Sadler'] [u'Christian Bale', u'Heath Ledger', u'Aaron Eckhart', u'Michael Caine'] etc. Then I…
kegewe
  • 291
  • 1
  • 4
  • 14
0
votes
1 answer

Pydot creates graph in one line

I have used pydot to create a network link graph for my log files. However, my graph turns out to be a long graph. Any way to rearrange it? I have attached the image for reference Pydot graph
user2633882
  • 1,551
  • 3
  • 11
  • 6
0
votes
1 answer

Using a DOT graph as a basis for tree GUI

I want to use a graph that is generated by DOT (pyDot in python) as the basis for an interactive Tree-structured GUI in which each of the nodes in the Tree could be widgets. The tree will basically be a binary Morse Code tree which start at the top…
-1
votes
1 answer

How to change graph layout engine used in pydot?

I'm currently using pydot to generate some graphs for a school project, and I want to experiment with using different graph layout engines to generate the graphs. At the moment, all my graphs are created using the Dot layout engine, but I'd like to…
1 2 3
13
14