Matplotlib.axes.Axes.set_zorder() in Python Last Updated : 30 Apr, 2020 Comments Improve Suggest changes Like Article Like Report Matplotlib is a library in Python and it is numerical – mathematical extension for NumPy library. The Axes Class contains most of the figure elements: Axis, Tick, Line2D, Text, Polygon, etc., and sets the coordinate system. And the instances of Axes supports callbacks through a callbacks attribute. matplotlib.axes.Axes.set_zorder() Function The Axes.set_zorder() function in axes module of matplotlib library is used to set the zorder for the artist. Syntax: Axes.set_zorder(self, level) Parameters: This method accepts only one parameters. level: This parameter contains the float value. Returns: This method does not return any value. Below examples illustrate the matplotlib.axes.Axes.set_zorder() function in matplotlib.axes: Example 1: Python3 # Implementation of matplotlib function import numpy as np import matplotlib.pyplot as plt d = np.arange(100).reshape(10, 10) xx, yy = np.meshgrid(np.arange(11), np.arange(11)) fig, ax = plt.subplots() ax.set_aspect(1) m = ax.pcolormesh(xx, yy, d) m.set_zorder(-15) fig.suptitle('matplotlib.axes.Axes.set_zorder() function\ Example', fontweight ="bold") plt.show() Output: Example-2: Python3 # Implementation of matplotlib function import numpy as np import matplotlib.pyplot as plt xx = np.random.rand(16, 30) fig, (ax3, ax4) = plt.subplots(1, 2) m = ax3.pcolor(xx) ax3.set_title("No Zorder value ") m = ax4.pcolor(xx) m.set_zorder(-20) ax4.set_title("Zorder Value : -20") fig.suptitle('matplotlib.axes.Axes.set_zorder() \ function Example', fontweight ="bold") plt.show() Output: Comment More infoAdvertise with us Next Article Matplotlib.axes.Axes.set_zorder() in Python S SHUBHAMSINGH10 Follow Improve Article Tags : Python Write From Home Python-matplotlib Matplotlib axes-class Practice Tags : python Similar Reads Matplotlib.axes.Axes.set() in Python Axes.set() function in Matplotlib is used to set multiple Axes properties at once using keyword arguments (**kwargs). This is a convenient way to configure an Axes object with labels, limits, title and more, all in one call. It's key features include:Acts as a batch property setter for Axes.Uses key 2 min read Matplotlib.axes.Axes.get_zorder() in Python Matplotlib is a library in Python and it is numerical â mathematical extension for NumPy library. The Axes Class contains most of the figure elements: Axis, Tick, Line2D, Text, Polygon, etc., and sets the coordinate system. And the instances of Axes supports callbacks through a callbacks attribute. 1 min read Matplotlib.axes.Axes.set_xbound() in Python Matplotlib is a library in Python and it is numerical - mathematical extension for NumPy library. The Axes Class contains most of the figure elements: Axis, Tick, Line2D, Text, Polygon, etc., and sets the coordinate system. And the instances of Axes supports callbacks through a callbacks attribute. 2 min read Matplotlib.axes.Axes.set_ybound() in Python Matplotlib is a library in Python and it is numerical - mathematical extension for NumPy library. The Axes Class contains most of the figure elements: Axis, Tick, Line2D, Text, Polygon, etc., and sets the coordinate system. And the instances of Axes supports callbacks through a callbacks attribute. 2 min read matplotlib.axes.Axes.step() in Python Matplotlib is a library in Python and it is numerical - mathematical extension for NumPy library. The Axes Class contains most of the figure elements: Axis, Tick, Line2D, Text, Polygon, etc., and sets the coordinate system. And the instances of Axes supports callbacks through a callbacks attribute. 2 min read Like