Skip to content

Instantly share code, notes, and snippets.

@JoeRicotta
JoeRicotta / sim_synergy.py
Created September 15, 2023 16:05
synergy index simulation
import tkinter
from matplotlib.backends.backend_tkagg import (
FigureCanvasTkAgg, NavigationToolbar2Tk)
# Implement the default Matplotlib key bindings.
from matplotlib.backend_bases import key_press_handler
from matplotlib.figure import Figure
import matplotlib.image as mpimg
from matplotlib.patches import Rectangle