Version 3.1.2
matplotlib

matplotlib.axis.Axis.get_rasterized

Axis.get_rasterized()

Return whether the artist is to be rasterized.