

.. _sphx_glr_gallery_userdemo_simple_axisline3.py:


================
Simple Axisline3
================





.. image:: /gallery/userdemo/images/sphx_glr_simple_axisline3_001.png
    :align: center





.. code-block:: python

    import matplotlib.pyplot as plt
    from mpl_toolkits.axisartist.axislines import Subplot

    fig = plt.figure(1, (3, 3))

    ax = Subplot(fig, 111)
    fig.add_subplot(ax)

    ax.axis["right"].set_visible(False)
    ax.axis["top"].set_visible(False)

    plt.show()

**Total running time of the script:** ( 0 minutes  0.027 seconds)



.. container:: sphx-glr-footer


  .. container:: sphx-glr-download

     :download:`Download Python source code: simple_axisline3.py <simple_axisline3.py>`



  .. container:: sphx-glr-download

     :download:`Download Jupyter notebook: simple_axisline3.ipynb <simple_axisline3.ipynb>`

.. rst-class:: sphx-glr-signature

    `Generated by Sphinx-Gallery <https://sphinx-gallery.readthedocs.io>`_
