To check that pylab/pyplot backend of Matplotlib runs inline, we can use get_backend() method.The method returns the name of the current backend.
Example
import matplotlib inline = matplotlib.get_backend() print("Backend: ", inline)
Output
Backend: Qt5Agg