-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Update python-igraph references #4383
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
Conversation
@@ -55,7 +55,7 @@ Namely, if the distance(`V[i], V[j]`), belongs to the $K^{th}$ interval associat | |||
|
|||
We processed data provided by [Eurovision Song Contest](http://www.eurovision.tv/page/history/by-year/contest?event=2083#Scoreboard), and saved the corresponding graph in a `gml` file. Now we can read the `gml` file and define an [`igraph.Graph`](http://igraph.org/python/) object. | |||
|
|||
Install the Python libraries with `sudo pip install python-igraph` and `sudo pip install networkx`. | |||
Install the Python libraries with `pip install igraph` and `sudo pip install networkx`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we remove the second sudo
too?
@@ -31,7 +31,7 @@ Plotly's Python library is free and open source! [Get started](https://plot.ly/p | |||
|
|||
|
|||
#### Comparison | |||
In this tutorial we plot the same network - the coauthorship network of scientists working on network theory and experiment - first as an `igraph.Graph` object, with the Kamada-Kawai layout, and then as a `networkx.Graph`, with the Fruchterman-Reingold layout. Install the Python libraries with `sudo pip install python-igraph` and `sudo pip install networkx`. | |||
In this tutorial we plot the same network - the coauthorship network of scientists working on network theory and experiment - first as an `igraph.Graph` object, with the Kamada-Kawai layout, and then as a `networkx.Graph`, with the Fruchterman-Reingold layout. Install the Python libraries with `pip install igraph` and `sudo pip install networkx`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same Q
@alexcjohnson looking closer at those examples that use sudo, they are actually for Python 2 and Plotly.py v3, so probably best not to update them at all. |
ah yep, makes sense. Not sure if it's worth removing those pages... could be worthwhile in fact adding links from them to dash-cytoscape docs as the more modern and powerful solution for the same kind of needs. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💃 You're still changing the Py2 pages from python-igraph
to igraph
- but I think that's OK, really nobody should be using Py2 anymore and recent igraph
and python-igraph
are apparently literally the same code.
To close #4285
Couldn't find a reason for the
sudo pip install
references on the original PR, #4289, and it seems to work fine without