.. DO NOT EDIT. .. THIS FILE WAS AUTOMATICALLY GENERATED BY SPHINX-GALLERY. .. TO MAKE CHANGES, EDIT THE SOURCE PYTHON FILE: .. "gallery/fun/plot_67.py" .. LINE NUMBERS ARE GIVEN BELOW. .. only:: html .. note:: :class: sphx-glr-download-link-note :ref:`Go to the end ` to download the full example code. .. rst-class:: sphx-glr-example-title .. _sphx_glr_gallery_fun_plot_67.py: 6-7 === This example shows that yo 6-7. .. GENERATED FROM PYTHON SOURCE LINES 7-55 .. image-sg:: /gallery/fun/images/sphx_glr_plot_67_001.png :alt: plot 67 :srcset: /gallery/fun/images/sphx_glr_plot_67_001.png :class: sphx-glr-single-img .. code-block:: Python import igraph as ig import matplotlib.pyplot as plt import iplotx as ipx g6 = ig.Graph.Ring(11, directed=True) g0 = ig.Graph.Ring(4, directed=True) gdash = ig.Graph(edges=[(0, 1), (1, 0)], directed=True) g7 = ig.Graph.Ring(6, directed=True) g67 = ig.disjoint_union([g6, g0, gdash, g7]) layout = [ # 6 [0, 0], [1, 0], [2, 1], [2, 3], [1, 4], [0.8, 4], [2, 6], [1, 6], [0, 4], [-1, 2], [-1, 1], # 0 [0.3, 1.5], [1.0, 1.5], [1.0, 2.5], [0.3, 2.5], # dash [3, 2], [5, 2], # 7 [6, 0], [7, 0], [8, 6], [6, 6], [6, 5], [7, 5], ] with ipx.style.context("unicorn"): ipx.network( g67, layout, node_size=9, edge_linewidth=4, ) .. rst-class:: sphx-glr-timing **Total running time of the script:** (0 minutes 0.048 seconds) .. _sphx_glr_download_gallery_fun_plot_67.py: .. only:: html .. container:: sphx-glr-footer sphx-glr-footer-example .. container:: sphx-glr-download sphx-glr-download-jupyter :download:`Download Jupyter notebook: plot_67.ipynb ` .. container:: sphx-glr-download sphx-glr-download-python :download:`Download Python source code: plot_67.py ` .. container:: sphx-glr-download sphx-glr-download-zip :download:`Download zipped: plot_67.zip ` .. only:: html .. rst-class:: sphx-glr-signature `Gallery generated by Sphinx-Gallery `_