Tkinter-based backend 

Let's try to copy the following code to a separate text file and name it After that, type python in your terminal (Mac/Linux) or Command Prompt (Windows). If you are unsure about how to open a terminal or Command Prompt, refer to Chapter 1, Hello Plotting World!, for more details:

import matplotlibimport matplotlib.pyplot as pltimport textwrap # Standard library for text wrapingimport requestsimport pandas as pdfrom bs4 import BeautifulSoup# Specify the urlurl = ""# Query the website and get the html responseresponse = requests.get(url)# Parse the returned html using BeautifulSoupbs = BeautifulSoup(response.text)# Select the table header by CSS ...

Get Matplotlib 2.x By Example now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.