Matplotlib.axis.Axis.remove() function in Python Last Updated : 10 Jun, 2020 Comments Improve Suggest changes Like Article Like Report Matplotlib is a library in Python and it is numerical – mathematical extension for NumPy library. It is an amazing visualization library in Python for 2D plots of arrays and used for working with the broader SciPy stack. Matplotlib.axis.Axis.remove() Function The Axis.remove() function in axis module of matplotlib library is used to remove the artist from the figure if possible. Syntax: Axis.remove(self) Parameters: This method does not accepts any parameter. Return value: This method return the figure after removal of the artist. Below examples illustrate the matplotlib.axis.Axis.remove() function in matplotlib.axis:Example 1: Python3 # Implementation of matplotlib function from matplotlib.axis import Axis import matplotlib.pyplot as plt fig, axs = plt.subplots() axs.plot([1, 2, 3]) # use of remove() method Axis.remove(axs) fig.suptitle('matplotlib.axis.Axis.remove() \ function Example\n', fontweight ="bold") plt.show() Output: Example 2: Python3 # Implementation of matplotlib function from matplotlib.axis import Axis import matplotlib.pyplot as plt fig, (axs, axs2) = plt.subplots(2, 1) gs = axs2.get_gridspec() # use of remove() method Axis.remove(axs) axbig = fig.add_subplot(gs[1:, -1]) axbig.annotate("Removed one Axes", (0.4, 0.5), xycoords ='axes fraction', va ='center') fig.suptitle('matplotlib.axis.Axis.remove() \ function Example\n', fontweight ="bold") plt.show() Output: Comment More infoAdvertise with us Next Article Matplotlib.axis.Axis.remove() function in Python S SHUBHAMSINGH10 Follow Improve Article Tags : Python Python-matplotlib Matplotlib-Axis Class Practice Tags : python Similar Reads Matplotlib.axis.Axis.set() function in Python Matplotlib is a library in Python and it is numerical â mathematical extension for NumPy library. It is an amazing visualization library in Python for 2D plots of arrays and used for working with the broader SciPy stack. Matplotlib.axis.Axis.set() Function The Axis.set() function in axis module of m 2 min read Matplotlib.axis.Axis.remove_callback() function in Python Matplotlib is a library in Python and it is numerical â mathematical extension for NumPy library. It is an amazing visualization library in Python for 2D plots of arrays and used for working with the broader SciPy stack. Matplotlib.axis.Axis.remove_callback() Function The Axis.remove_callback() func 2 min read Matplotlib.axis.Tick.remove() function in Python Matplotlib is a library in Python and it is numerical â mathematical extension for NumPy library. It is an amazing visualization library in Python for 2D plots of arrays and used for working with the broader SciPy stack. Matplotlib.axis.Tick.remove() Function The Tick.remove() function in axis modul 1 min read Matplotlib.axis.Axis.update() function in Python Matplotlib is a library in Python and it is numerical â mathematical extension for NumPy library. It is an amazing visualization library in Python for 2D plots of arrays and used for working with the broader SciPy stack. Matplotlib.axis.Axis.update() Function The Axis.update() function in axis modul 2 min read Matplotlib.axis.Axis.reset_ticks() function in Python Matplotlib is a library in Python and it is numerical â mathematical extension for NumPy library. It is an amazing visualization library in Python for 2D plots of arrays and used for working with the broader SciPy stack. Matplotlib.axis.Axis.reset_ticks() Function The Axis.reset_ticks() function in 2 min read Matplotlib.axis.Axis.set_visible() function in Python Matplotlib is a library in Python and it is numerical â mathematical extension for NumPy library. It is an amazing visualization library in Python for 2D plots of arrays and used for working with the broader SciPy stack. Matplotlib.axis.Axis.set_visible() Function The Axis.set_visible() function in 1 min read Matplotlib.axis.Axis.cla() function in Python Matplotlib is a library in Python and it is numerical â mathematical extension for NumPy library. It is an amazing visualization library in Python for 2D plots of arrays and used for working with the broader SciPy stack. matplotlib.axis.Axis.cla() Function The Axis.cla() function in axis module of m 1 min read Matplotlib.axis.Axis.pan() function in Python Matplotlib is a library in Python and it is numerical â mathematical extension for NumPy library. It is an amazing visualization library in Python for 2D plots of arrays and used for working with the broader SciPy stack. Matplotlib.axis.Axis.pan() Function The Axis.pan() function in axis module of m 2 min read Matplotlib.axis.Axis.get_visible() function in Python Matplotlib is a library in Python and it is numerical â mathematical extension for NumPy library. It is an amazing visualization library in Python for 2D plots of arrays and used for working with the broader SciPy stack. Matplotlib.axis.Axis.get_visible() Function The Axis.get_visible() function in 2 min read Matplotlib.axis.Axis.draw() function in Python Matplotlib is a library in Python and it is numerical â mathematical extension for NumPy library. It is an amazing visualization library in Python for 2D plots of arrays and used for working with the broader SciPy stack. Matplotlib.axis.Axis.draw() Function The Axis.draw() function in axis module of 1 min read Like