Matplotlib.axis.Tick.get_children() in Python Last Updated : 21 Apr, 2022 Comments Improve Suggest changes Like Article Like Report matplotlib.axis.Tick.get_children() Function in axis module of matplotlib library is used to get the list of the child Artists of this Artist. Syntax: Tick.get_children(self) Parameters: This method does not accepts any parameter. Return value: This method return the list of the child Artists of this Artist. Below examples illustrate the matplotlib.axis.Tick.get_children() function in matplotlib.axis: Example 1: Python3 # Implementation of matplotlib function from matplotlib.axis import Tick import matplotlib.pyplot as plt from matplotlib.lines import Line2D import numpy as np from numpy.random import rand fig, ax2 = plt.subplots() ax2.hexbin(range(10), rand(10), picker=True) print("First 10 child Artists of this Artist \n", *list(ax2.get_children())[:10], sep="\n") fig.suptitle("""matplotlib.axis.Tick.get_children() function Example\n""", fontweight="bold") plt.show() Output: First 10 child Artists of this Artist <matplotlib.collections.PolyCollection object at 0x0AF49930> Spine Spine Spine Spine XAxis(80.0,52.8) YAxis(80.0,52.8) Text(0.5, 1.0, '') Text(0.0, 1.0, '') Text(1.0, 1.0, '')Example 2: Python3 # Implementation of matplotlib function from matplotlib.axis import Tick import matplotlib.pyplot as plt import numpy as np from matplotlib.patches import Ellipse NUM = 20 ells = [Ellipse(xy=np.random.rand(2) * 10, width=np.random.rand()*4, height=np.random.rand()*4, angle=np.random.rand() * 360) for i in range(NUM)] fig, ax = plt.subplots(subplot_kw={'aspect': 'equal'}) print("Last 10 child Artists of this Artist \n") for e in ells: ax.add_artist(e) e.set_clip_box(ax.bbox) e.set_alpha(np.random.rand()) e.set_facecolor(np.random.rand(4)) print(*list(ax.get_children())[-10:], sep="\n") ax.set_xlim(0, 10) ax.set_ylim(0, 10) fig.suptitle("""matplotlib.axis.Tick.get_children() function Example\n""", fontweight="bold") plt.show() Output: Last 10 child Artists of this Artist Spine Spine Spine Spine XAxis(80.0,52.8) YAxis(80.0,52.8) Text(0.5, 1.0, '') Text(0.0, 1.0, '') Text(1.0, 1.0, '') Rectangle(xy=(0, 0), width=1, height=1, angle=0) Comment More infoAdvertise with us Next Article Matplotlib.axis.Tick.get_children() in Python S SHUBHAMSINGH10 Follow Improve Article Tags : Python Python-matplotlib Matplotlib-Axis Class Practice Tags : python Similar Reads Matplotlib.axis.Tick.get_figure() 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.get_figure() Function The Tick.get_figure() function in ax 2 min read Matplotlib.axis.Tick.get_contains() 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 is used for working with the broader SciPy stack. matplotlib.axis.Tick.get_contains() Function The Tick.get_contains() functio 2 min read Matplotlib.axis.Tick.get_clip_on() in Python Matplotlib is a library in Python and it is a 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.get_clip_on() Function The Tick.get_clip_on() function i 2 min read Matplotlib.axes.Axes.get_children() 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. 7 min read Matplotlib.axis.Tick.get_clip_box() in Python Matplotlib is a library in Python and it is a  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.get_clip_box() Function The Tick.get_clip_box() functio 6 min read Matplotlib.axis.Tick.get_clip_path() in Python Matplotlib is a library in Python and it is a 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.get_clip_path() Function The Tick.get_clip_path() functi 2 min read Matplotlib.axis.Tick.get_gid() 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.get_gid() Function The Tick.get_gid() function in axis mod 2 min read Matplotlib.axes.Axes.get_yticks() 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.get_xticks() 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.axis.Tick.get_snap() 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.get_snap() Function The Tick.get_snap() function in axis m 2 min read Like