`gca()` with keyword arguments was deprecated in Matplotlib 3.4 using`subplot()` or `add_subplot()`may resolve the question