.. DO NOT EDIT. .. THIS FILE WAS AUTOMATICALLY GENERATED BY SPHINX-GALLERY. .. TO MAKE CHANGES, EDIT THE SOURCE PYTHON FILE: .. "gallery/axisartist/simple_axisline3.py" .. LINE NUMBERS ARE GIVEN BELOW. .. only:: html .. meta:: :keywords: codex .. 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_axisartist_simple_axisline3.py: ================ Simple Axisline3 ================ .. GENERATED FROM PYTHON SOURCE LINES 7-19 .. image-sg:: /gallery/axisartist/images/sphx_glr_simple_axisline3_001.png :alt: simple axisline3 :srcset: /gallery/axisartist/images/sphx_glr_simple_axisline3_001.png, /gallery/axisartist/images/sphx_glr_simple_axisline3_001_2_00x.png 2.00x :class: sphx-glr-single-img .. code-block:: Python import matplotlib.pyplot as plt from mpl_toolkits.axisartist.axislines import Axes fig = plt.figure(figsize=(3, 3)) ax = fig.add_subplot(axes_class=Axes) ax.axis["right"].set_visible(False) ax.axis["top"].set_visible(False) plt.show() .. _sphx_glr_download_gallery_axisartist_simple_axisline3.py: .. only:: html .. container:: sphx-glr-footer sphx-glr-footer-example .. container:: sphx-glr-download sphx-glr-download-jupyter :download:`Download Jupyter notebook: simple_axisline3.ipynb ` .. container:: sphx-glr-download sphx-glr-download-python :download:`Download Python source code: simple_axisline3.py ` .. only:: html .. rst-class:: sphx-glr-signature `Gallery generated by Sphinx-Gallery `_