.. DO NOT EDIT. .. THIS FILE WAS AUTOMATICALLY GENERATED BY SPHINX-GALLERY. .. TO MAKE CHANGES, EDIT THE SOURCE PYTHON FILE: .. "gallery/basic/plot_big_curves.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_basic_plot_big_curves.py: Big curves ========== This example showcases the ability of `iplotx` to curve edges at a certain tension setting. .. GENERATED FROM PYTHON SOURCE LINES 7-25 .. image-sg:: /gallery/basic/images/sphx_glr_plot_big_curves_001.png :alt: plot big curves :srcset: /gallery/basic/images/sphx_glr_plot_big_curves_001.png :class: sphx-glr-single-img .. rst-class:: sphx-glr-script-out .. code-block:: none [] | .. code-block:: Python import igraph as ig import matplotlib.pyplot as plt import iplotx as ipx g = ig.Graph(edges=[(0, 1), (0, 0)]) layout = [[0, 0], [1, 0]] fig, ax = plt.subplots() ipx.plot( g, layout=layout, ax=ax, edge_curved=True, edge_tension=10, edge_looptension=10, ) .. rst-class:: sphx-glr-timing **Total running time of the script:** (0 minutes 0.029 seconds) .. _sphx_glr_download_gallery_basic_plot_big_curves.py: .. only:: html .. container:: sphx-glr-footer sphx-glr-footer-example .. container:: sphx-glr-download sphx-glr-download-jupyter :download:`Download Jupyter notebook: plot_big_curves.ipynb ` .. container:: sphx-glr-download sphx-glr-download-python :download:`Download Python source code: plot_big_curves.py ` .. container:: sphx-glr-download sphx-glr-download-zip :download:`Download zipped: plot_big_curves.zip ` .. only:: html .. rst-class:: sphx-glr-signature `Gallery generated by Sphinx-Gallery `_