Version 2.2.2
matplotlib

matplotlib.artist.Artist.get_rasterized

Artist.get_rasterized()

Return whether the artist is to be rasterized.