Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No network image produced #2

Open
GraphGrailAi opened this issue Sep 20, 2013 · 4 comments
Open

No network image produced #2

GraphGrailAi opened this issue Sep 20, 2013 · 4 comments

Comments

@GraphGrailAi
Copy link

When i run hijackers.py file in Pycharm i dont see any image.
Here is output:

D:\WinPython-32bit-2.7.5.1\python-2.7.5\python.exe "F:/Python/Graph packages/SNABook-master/chapter4/hijackers.py"
drawing nodes...
{'93_Penn': 'g', '175_WTC South': 'r', 'None': 'b', '77_Pentagon': 'm', '11_WTC North': 'c'}
drawing edges...
drawing labels...

Process finished with exit code 0

@maksim2042
Copy link
Owner

This is due to settings in matplotlib.

Do the following:

import matplotlib.pyplot as plt
plt.show()

This should resolve your problem

Max

On Fri, Sep 20, 2013 at 12:05 PM, GraphGrail [email protected]:

When i run hijackers.py file in Pycharm i dont see any image.
Here is output:

D:\WinPython-32bit-2.7.5.1\python-2.7.5\python.exe "F:/Python/Graph
packages/SNABook-master/chapter4/hijackers.py"
drawing nodes...
{'93_Penn': 'g', '175_WTC South': 'r', 'None': 'b', '77_Pentagon': 'm',
'11_WTC North': 'c'}
drawing edges...
drawing labels...

Process finished with exit code 0


Reply to this email directly or view it on GitHubhttps://github.com//issues/2
.

@GraphGrailAi
Copy link
Author

It works, thanks. Would you recommend to make this auto-behavior, without editing file?
P.S. by the way, russian main tv channel 1tv.ru published recently unofficial version of 9/11, including 3rd tower demolition etc - so i am not sure the network science are able to bare with such facts (known before but closed from public).

@maksim2042
Copy link
Owner

I'm not sure which I like better. Having auto makes things quicker; not
having it allows me to choose if I want to display or save programmatically.

Re: 1tv.ru -- their truth to propaganda ration is asymptotically
approaching zero, and so is the amount of time and attention I devote to
them ;)

On Fri, Sep 20, 2013 at 12:29 PM, GraphGrail [email protected]:

It works, thanks. Would you recommend to make this auto-behavior, without
editing file?
P.S. by the way, russian main tv channel 1tv.ru published recently
unofficial version of 9/11, including 3rd tower demolition etc - so i am
not sure the network science are able to bare with such facts (known before
but closed from public).


Reply to this email directly or view it on GitHubhttps://github.com//issues/2#issuecomment-24822879
.

@GraphGrailAi
Copy link
Author

The reason i post about 1tv.ru is that in this particular case it is better than american channels, undoubtedly. Maybe you know about unofficial version by Michael Moore - Fahrenheit 9 11 Movie. It was out in 2004 and till now american government not answering questions. So, that propaganda problem is not only in Russia.
Coming back to SNA: when we analyze terrorist networks, we should not forbid to look at the other side: is there any known network of corruption bankers, congressmans, businessmans that are involved in 3d tower demolition and twin towers destroy?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants