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

Initial sphinx-gallery #609

Merged
merged 9 commits into from
Oct 24, 2024
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
61 changes: 61 additions & 0 deletions docs/source/auto_examples/advanced/index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@


.. _sphx_glr_auto_examples_advanced:

Advanced
--------


.. raw:: html

<div class="sphx-glr-thumbnails">

.. thumbnail-parent-div-open

.. raw:: html

<div class="sphx-glr-thumbcontainer" tooltip="Set colormaps and show colorbars.">

.. only:: html

.. image:: /auto_examples/advanced/images/thumb/sphx_glr_plot_colormaps_colorbars_thumb.png
:alt:

:ref:`sphx_glr_auto_examples_advanced_plot_colormaps_colorbars.py`

.. raw:: html

<div class="sphx-glr-thumbnail-title">Colormaps and colorbars</div>
</div>


.. raw:: html

<div class="sphx-glr-thumbcontainer" tooltip="Draw hypergraph with labels.">

.. only:: html

.. image:: /auto_examples/advanced/images/thumb/sphx_glr_plot_labels_thumb.png
:alt:

:ref:`sphx_glr_auto_examples_advanced_plot_labels.py`

.. raw:: html

<div class="sphx-glr-thumbnail-title">Show labels</div>
</div>


.. thumbnail-parent-div-close

.. raw:: html

</div>


.. toctree::
:hidden:

/auto_examples/advanced/plot_colormaps_colorbars
/auto_examples/advanced/plot_labels

Original file line number Diff line number Diff line change
@@ -0,0 +1,295 @@
{
"H": [
{
"is_class": false,
"is_explicit": false,
"module": "xgi.core.hypergraph",
"module_short": "xgi",
"name": "Hypergraph"
},
{
"is_class": false,
"is_explicit": false,
"module": "xgi.core",
"module_short": "xgi",
"name": "Hypergraph"
},
{
"is_class": false,
"is_explicit": false,
"module": "xgi",
"module_short": "xgi",
"name": "Hypergraph"
}
],
"H.edges.size": [
{
"is_class": false,
"is_explicit": false,
"module": "xgi.core.hypergraph",
"module_short": "xgi",
"name": "Hypergraph.edges"
},
{
"is_class": false,
"is_explicit": false,
"module": "xgi.core",
"module_short": "xgi",
"name": "Hypergraph.edges"
},
{
"is_class": false,
"is_explicit": false,
"module": "xgi",
"module_short": "xgi",
"name": "Hypergraph.edges"
}
],
"H.nodes.degree": [
{
"is_class": false,
"is_explicit": false,
"module": "xgi.core.hypergraph",
"module_short": "xgi",
"name": "Hypergraph.nodes"
},
{
"is_class": false,
"is_explicit": false,
"module": "xgi.core",
"module_short": "xgi",
"name": "Hypergraph.nodes"
},
{
"is_class": false,
"is_explicit": false,
"module": "xgi",
"module_short": "xgi",
"name": "Hypergraph.nodes"
}
],
"_": [
{
"is_class": false,
"is_explicit": false,
"module": "matplotlib.collections",
"module_short": "matplotlib.collections",
"name": "LineCollection"
},
{
"is_class": false,
"is_explicit": false,
"module": "matplotlib",
"module_short": "matplotlib",
"name": "LineCollection"
}
],
"ax": [
{
"is_class": false,
"is_explicit": false,
"module": "matplotlib.axes._axes",
"module_short": "matplotlib.axes",
"name": "Axes"
},
{
"is_class": false,
"is_explicit": false,
"module": "matplotlib.axes",
"module_short": "matplotlib.axes",
"name": "Axes"
},
{
"is_class": false,
"is_explicit": false,
"module": "matplotlib",
"module_short": "matplotlib",
"name": "Axes"
}
],
"collections": [
{
"is_class": false,
"is_explicit": false,
"module": "builtins",
"module_short": "builtins",
"name": "tuple"
}
],
"edge_col": [
{
"is_class": false,
"is_explicit": false,
"module": "matplotlib.collections",
"module_short": "matplotlib.collections",
"name": "PatchCollection"
},
{
"is_class": false,
"is_explicit": false,
"module": "matplotlib",
"module_short": "matplotlib",
"name": "PatchCollection"
}
],
"fig": [
{
"is_class": false,
"is_explicit": false,
"module": "matplotlib.figure",
"module_short": "matplotlib.figure",
"name": "Figure"
},
{
"is_class": false,
"is_explicit": false,
"module": "matplotlib",
"module_short": "matplotlib",
"name": "Figure"
}
],
"hyperedges": [
{
"is_class": false,
"is_explicit": false,
"module": "builtins",
"module_short": "builtins",
"name": "list"
}
],
"node_col": [
{
"is_class": false,
"is_explicit": false,
"module": "matplotlib.collections",
"module_short": "matplotlib.collections",
"name": "PathCollection"
},
{
"is_class": false,
"is_explicit": false,
"module": "matplotlib",
"module_short": "matplotlib",
"name": "PathCollection"
}
],
"plt.colorbar": [
{
"is_class": false,
"is_explicit": false,
"module": "builtins",
"module_short": "builtins",
"name": "function"
},
{
"is_class": false,
"is_explicit": false,
"module": "matplotlib.pyplot",
"module_short": "matplotlib.pyplot",
"name": "colorbar"
}
],
"plt.show": [
{
"is_class": false,
"is_explicit": false,
"module": "builtins",
"module_short": "builtins",
"name": "function"
},
{
"is_class": false,
"is_explicit": false,
"module": "matplotlib.pyplot",
"module_short": "matplotlib.pyplot",
"name": "show"
}
],
"plt.subplots": [
{
"is_class": false,
"is_explicit": false,
"module": "builtins",
"module_short": "builtins",
"name": "function"
},
{
"is_class": false,
"is_explicit": false,
"module": "matplotlib.pyplot",
"module_short": "matplotlib.pyplot",
"name": "subplots"
}
],
"pos": [
{
"is_class": false,
"is_explicit": false,
"module": "builtins",
"module_short": "builtins",
"name": "dict"
}
],
"xgi.Hypergraph": [
{
"is_class": true,
"is_explicit": false,
"module": "xgi.core.hypergraph",
"module_short": "xgi",
"name": "Hypergraph"
},
{
"is_class": true,
"is_explicit": false,
"module": "xgi.core",
"module_short": "xgi",
"name": "Hypergraph"
},
{
"is_class": true,
"is_explicit": false,
"module": "xgi",
"module_short": "xgi",
"name": "Hypergraph"
},
{
"is_class": false,
"is_explicit": false,
"module": "xgi",
"module_short": "xgi",
"name": "Hypergraph"
}
],
"xgi.barycenter_spring_layout": [
{
"is_class": false,
"is_explicit": false,
"module": "builtins",
"module_short": "builtins",
"name": "function"
},
{
"is_class": false,
"is_explicit": false,
"module": "xgi",
"module_short": "xgi",
"name": "barycenter_spring_layout"
}
],
"xgi.draw": [
{
"is_class": false,
"is_explicit": false,
"module": "builtins",
"module_short": "builtins",
"name": "function"
},
{
"is_class": false,
"is_explicit": false,
"module": "xgi",
"module_short": "xgi",
"name": "draw"
}
]
}
Loading
Loading