Version 3.1.2
matplotlib

matplotlib.axes.Axes.get_rasterized

Axes.get_rasterized()

Return whether the artist is to be rasterized.