Matplotlib.axis.Axis.set() 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.set() Function The Axis.set() function in axis module of matplotlib library is a property batch setter. Pass kwargs to set properties. Syntax: Axis.set(self, **kwargs) Parameters: This method does not accepts any parameters other than **kwargs. Return value: This method does not return any value. Below examples illustrate the matplotlib.axis.Axis.set() function in matplotlib.axis:Example 1: Python3 # Implementation of matplotlib function from matplotlib.axis import Axis import matplotlib import matplotlib.pyplot as plt import numpy as np t = np.arange(0.0, 2, 0.001) s = 1 + np.sin(8 * np.pi * t)*0.4 fig, ax = plt.subplots() ax.plot(t, s) Axis.set(ax, xlabel ='X-Axis', ylabel ='Y-Axis', xlim =(0, 1.5), ylim =(0.5, 1.5)) ax.grid() fig.suptitle('matplotlib.axis.Axis.set() \ function Example\n', fontweight ="bold") plt.show() Output: Example 2: Python3 # Implementation of matplotlib function from matplotlib.axis import Axis import numpy as np import matplotlib.pyplot as plt np.random.seed(19680801) fig, ax = plt.subplots() x, y, s, c = np.random.rand(4, 200) s *= 200 ax.scatter(x, y, s, c) Axis.set(ax, xlabel ='X-Axis', ylabel ='Y-Axis', xlim =(0, 0.5), ylim =(0, 0.5)) ax.grid() fig.suptitle('matplotlib.axis.Axis.set() \ function Example\n', fontweight ="bold") plt.show() Output: Comment More infoAdvertise with us Next Article Matplotlib.axis.Axis.set() function in Python S SHUBHAMSINGH10 Follow Improve Article Tags : Python Python-matplotlib Matplotlib-Axis Class Practice Tags : python Similar Reads Matplotlib.axis.Axis.set_gid() 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_gid() Function The Axis.set_gid() function in axis mod 2 min read Matplotlib.axis.Axis.set_snap() 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_snap() Function The Axis.set_snap() function in axis m 2 min read Matplotlib.axis.Axis.set_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.set_ticks() Function The Axis.set_ticks() function in axis 2 min read Matplotlib.axis.Axis.set_units() 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_units() Function The Axis.set_units() function in axis 2 min read Matplotlib.axis.Axis.set_label() 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_label() Function The Axis.set_label() function in axis 2 min read Matplotlib.axis.Axis.set_figure() 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_figure() Function The Axis.set_figure() function in ax 2 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.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.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 Like