This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import tkinter as tk | |
| from matplotlib.mathtext import math_to_image | |
| from io import BytesIO | |
| from PIL import ImageTk, Image | |
| class Application(tk.Frame): | |
| def __init__(self, master=None): | |
| tk.Frame.__init__(self, master) | |
| self.pack() | |
| self.createWidgets() |