- Move single-file tools to tools/ organized by category (security, forensics, data, etc.) - Move multi-file projects to projects/ (go-tools, puzzlebox, timesketch, rust-tools) - Move system scripts to scripts/ (proxy, display, setup, windows) - Organize config files in config/ (shell, visidata, applications) - Move experimental tools to archive/experimental - Create 'what' fuzzy search tool with progressive enhancement (ollama->fzf->grep) - Add initial metadata database for intelligent tool discovery - Preserve git history using 'git mv' commands
18 lines
450 B
Python
18 lines
450 B
Python
import matplotlib.pyplot as plt
|
|
import numpy as np
|
|
|
|
x = np.linspace(0, 6*np.pi, 100)
|
|
y = np.sin(x)
|
|
|
|
# You probably won't need this if you're embedding things in a tkinter plot...
|
|
plt.ion()
|
|
|
|
fig = plt.figure()
|
|
ax = fig.add_subplot(111)
|
|
line1, = ax.plot(x, y, 'r-') # Returns a tuple of line objects, thus the comma
|
|
|
|
for phase in np.linspace(0, 10*np.pi, 500):
|
|
line1.set_ydata(np.sin(x + phase))
|
|
fig.canvas.draw()
|
|
fig.canvas.flush_events()
|