Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ## Install the Backend
- ```bash
- sudo apt-get install tk-dev python-tk python3-tk
- ```
- ## Install Matplotlib
- ```bash
- pip install matplotlib
- ```
- ## Check Backend
- ```python
- import matplotlib.pyplot as plt
- plt.get_backend() # Should print `TkAgg`.
- ```
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement