.. 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_gallery_text_labels_and_annotations_arrow_simple_demo.py: ================= Arrow Simple Demo ================= .. image:: /gallery/text_labels_and_annotations/images/sphx_glr_arrow_simple_demo_001.png :alt: arrow simple demo :class: sphx-glr-single-img .. code-block:: default import matplotlib.pyplot as plt ax = plt.axes() ax.arrow(0, 0, 0.5, 0.5, head_width=0.05, head_length=0.1, fc='k', ec='k') plt.show() .. _sphx_glr_download_gallery_text_labels_and_annotations_arrow_simple_demo.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: arrow_simple_demo.py ` .. container:: sphx-glr-download sphx-glr-download-jupyter :download:`Download Jupyter notebook: arrow_simple_demo.ipynb ` .. only:: html .. rst-class:: sphx-glr-signature Keywords: matplotlib code example, codex, python plot, pyplot `Gallery generated by Sphinx-Gallery `_