.. _axes_grid-simple_axisline3:

axes_grid example code: simple_axisline3.py
===========================================



.. plot:: /home/mandrake/rpm/BUILD/matplotlib-0.99.3/doc/mpl_examples/axes_grid/simple_axisline3.py

::

    import matplotlib.pyplot as plt
    from mpl_toolkits.axes_grid.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()
    
    

Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)