matplotlib.axis.XAxis.is_transform_set

XAxis.is_transform_set(self)

Return whether the Artist has an explicitly set transform.

This is True after set_transform has been called.