def __init__(self, show_backend=False): if show_backend: import matplotlib print(matplotlib.get_backend())