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

example python code for igraph #93

Closed
idc9 opened this issue Sep 5, 2016 · 13 comments
Closed

example python code for igraph #93

idc9 opened this issue Sep 5, 2016 · 13 comments
Labels

Comments

@idc9
Copy link

idc9 commented Sep 5, 2016

I recently started using igraph and find the process of orienting myself to the package a little slow due to the lack of example code. A number of my collaborators had similar experiences. The tutorial is certainly a good starting place and I've found a few other sources of example code. There is a lot of example code in R from the SAND textbook, however, not as many (that I can find) in Python.

I find that small worked out examples (that display results of the code) are the best way to learn a new package. For example check out the examples of how to do basic tasks with pandas on Chris Albon's website. These were far more helpful for learning how to use pandas than the pandas documentation.

igraph is a wonderful package and deserves example python code that lowers the barrier to entry for new users.

Does anyone know of a good source of example code that I'm missing? If so these should be linked to on the website. Otherwise it might be worth creating a bunch of examples and posting them to the website.

@ntamas
Copy link
Member

ntamas commented Sep 7, 2016

You are totally right, the documentation of python-igraph is a bit lacking, mostly due to lack of spare time on my side (I am not working in academia any more so I am unable to dedicate as much time to igraph as I used to). If anyone is willing to contribute example code, I'd be happy to link to it from the main webpage or even include it on the main webpage.

@adodell
Copy link

adodell commented Jul 10, 2018

@ntamas I'd be willing to redo the Tutorial on the python-igraph site, since it's written for Python 2.7 and igraph 6.0. It also looks like a few of the visuals are wrong in the tutorial, and there should be a section at the end detailing how to save the graph as an SVG, PNG, etc.

I could even write some more documentation or examples, if you give me some direction on what is needed and the format you'd like the docs/examples to be written in.

@ntamas
Copy link
Member

ntamas commented Jul 11, 2018

Thanks for your offer! The tutorial is in the python-igraph repo in the doc/source subdirectory; the pages are written in reStructuredText and the figures are plain PNG files (see the doc/source/figures subdir). Feel free to make any modifications in a fork and then send a pull request with the documentation improvements.

@stale
Copy link

stale bot commented Jan 31, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Jan 31, 2020
@szhorvat
Copy link
Member

@adodell Are you still feeling up for it? :-)

@stale
Copy link

stale bot commented Mar 31, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Mar 31, 2020
@vtraag
Copy link
Member

vtraag commented Mar 31, 2020

Regarding this, @jboynyc is working on this in PR #279. Perhaps we should already merge that PR, so that we already include those contributions? We can then continue with improving the documentation.

@stale stale bot removed the stale label Mar 31, 2020
@jboynyc
Copy link
Contributor

jboynyc commented Apr 1, 2020

My available time to work on the documentation overhaul has shrunk pretty dramatically, so I think merging in incremental changes might be the best bet right now.

@ntamas
Copy link
Member

ntamas commented Apr 1, 2020

Okay, I'm reviewing and merging #279 soon.

@clncy
Copy link

clncy commented May 13, 2020

I'd be happy to contribute to the docs. Unless there is something else that is more of a priority, shall I work on the graph analysis section?

@ntamas
Copy link
Member

ntamas commented May 14, 2020

That would be awesome. The graph generation is also a good candidate. Thanks a lot in advance!

@szhorvat
Copy link
Member

@clncy If you're looking for "cool examples" or visualizations to include, feel free to borrow from the IGraph/M docs any way you like.

@stale
Copy link

stale bot commented Jul 13, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Jul 13, 2020
@stale stale bot closed this as completed Jul 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

7 participants