xgi icon indicating copy to clipboard operation
xgi copied to clipboard

add examples to Gallery

Open maximelucas opened this issue 4 months ago • 2 comments

The Gallery of our online docs, is now generated with Sphinx-gallery. It's used for example by Matplotlib and NetworkX.

It would be nice to add more examples to the Gallery.

To add an example, simply add a single plot_*.py file containing the python code to one of the subfolders in the examples/ folder.

Ideas of examples to add:

  • layouts :
    • random
    • others
  • stats:
    • examples with other stats, including edge stats in different formats.
    • easy plotting of degree distribution (and edge size distribution)
  • advanced:
    • directed hypergraph
    • some filtering, coloring some subhypergraph
  • new section "controlling colors and shapes:
    • examples where we show many ways to set colors, sizes, shapes of nodes, etc.
  • new section "algorithms":
    • examples to visualize algorithms, like giant component, assortativity, etc

Feel free to add more stuff to this list, we have many examples in the tutos that we can use too.

maximelucas avatar Oct 24 '24 07:10 maximelucas