Hello,
I have a problem when running this simple code in order to check
whether the image would be shown.This code was the best I could come up
with and after I run it I always get a new window loading for a split sec
and then nothing(I don't get any errors just a blank output).
import pyparsing
import pydot
graph = pydot.Dot(graph_type="digraph")
graph.add_node(pydot.Node('pointA', label='A'))
from IPython.display import Image
Image(graph.create(graph.prog, 'png'))
These are the topics I have come across but it seems to me that none of
them were directly related to mine issue here.I apologize in advance if I
was missing some basic stuff here and any kind of advice and help would be
greatly appreciated!
1.
https://stackoverflow.com/questions/11854847/display-an-image-from-a-file-in-an-ipython-notebook
2.
https://stackoverflow.com/questions/43406106/ipython-core-display-image-object-cant-be-displayed-in-spyder-while-pil-image-i
I have stumbled upon a couple of more similar topics some of them saying
that I have to call a path of the image withing the variable but I really
don't understand why it is necessary.
Vuk P.
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
Virus-free.
www.avast.com
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
--
You received this message because you are subscribed to the Google Groups
"spyder" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/spyderlib.
For more options, visit https://groups.google.com/d/optout.