Advertisement
Guest User

Untitled

a guest
Oct 9th, 2019
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. ## Install the Backend
  2.  
  3. ```bash
  4. sudo apt-get install tk-dev python-tk python3-tk
  5. ```
  6.  
  7. ## Install Matplotlib
  8.  
  9. ```bash
  10. pip install matplotlib
  11. ```
  12.  
  13. ## Check Backend
  14.  
  15. ```python
  16. import matplotlib.pyplot as plt
  17. plt.get_backend() # Should print `TkAgg`.
  18. ```
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement