.. DO NOT EDIT. .. THIS FILE WAS AUTOMATICALLY GENERATED BY SPHINX-GALLERY. .. TO MAKE CHANGES, EDIT THE SOURCE PYTHON FILE: .. "sphinx_gallery_output/plot_01_default.py" .. LINE NUMBERS ARE GIVEN BELOW. .. only:: html .. note:: :class: sphx-glr-download-link-note Click :ref:`here ` to download the full example code .. rst-class:: sphx-glr-example-title .. _sphx_glr_sphinx_gallery_output_plot_01_default.py: Default Design ============== Default visualisation for an unweighted graph. .. GENERATED FROM PYTHON SOURCE LINES 8-30 .. image-sg:: /sphinx_gallery_output/images/sphx_glr_plot_01_default_001.png :alt: plot 01 default :srcset: /sphinx_gallery_output/images/sphx_glr_plot_01_default_001.png :class: sphx-glr-single-img .. code-block:: default import matplotlib.pyplot as plt from netgraph import Graph cube = [ (0, 1), (1, 2), (2, 3), (3, 0), (4, 5), (5, 6), (6, 7), (7, 4), (0, 4), (2, 6), (1, 5), (3, 7) ] Graph(cube) plt.show() .. rst-class:: sphx-glr-timing **Total running time of the script:** ( 0 minutes 0.141 seconds) .. _sphx_glr_download_sphinx_gallery_output_plot_01_default.py: .. only :: html .. container:: sphx-glr-footer :class: sphx-glr-footer-example .. container:: sphx-glr-download sphx-glr-download-python :download:`Download Python source code: plot_01_default.py ` .. container:: sphx-glr-download sphx-glr-download-jupyter :download:`Download Jupyter notebook: plot_01_default.ipynb ` .. only:: html .. rst-class:: sphx-glr-signature `Gallery generated by Sphinx-Gallery `_