gpsaggese/helpers / .claude/skills/notebook.create_animation
notebook.create_animation
VerifiedCreate an animation from an ipywidget interact function using a description
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 947 B |
SKILL.md
View on GitHub---
description: Create an animation from an ipywidget interact function using a description
model: haiku
---
# Goal
- Given the function passed that can go in `ipywidget.interact()` create an animation
using the template below:
```python
# Parameters for video generation.
n_steps = 11
n_samples_fixed = 300
dependence_values = np.linspace(0.0, 1.0, n_steps)
# Prepare values list for generate_animation.
values = []
for val in dependence_values:
values.append({"dependence": val, "n_samples": n_samples_fixed})
# Directory to save frames.
dst_dir = "./figures/Lesson94_Joint_Entropy_video"
# Generate animation frames with fixed dimensions.
ut.generate_animation(
utils.plot_joint_entropy_interactive,
values,
dst_dir,
incremental=False,
figsize=(20, 5),
dpi=150
)
```
# Conventions
- Always follow the conventions and guidelines in `.claude/skills/notebook.rules.md`
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| deprecation-and-migrationaddyosmani/agent-skillsManages deprecation and migration. Use when removing old systems, APIs, or features. Use when migrating users from one implementation to another. Use when migrating a database schema in production, such as renaming or dropping a column without downtime (expand/contract). Use when deciding whether to maintain or sunset existing code. | Stars: 119k | Updated | Claude CodeCodex | Verified | Install |
| performance-optimizationaddyosmani/agent-skillsOptimizes application performance across frontend, backend, queries, and databases. Use when performance requirements exist, when you suspect performance regressions, when Core Web Vitals or load times need improvement, when N+1 query patterns need fixing, or when profiling reveals bottlenecks. | Stars: 119k | Updated | Claude CodeCodex | Verified | Install |
| agent-cost-reportthedotmack/claude-memBelievable agent cost report for any period, default the last 7 full days PT, not counting today. Measured tokens from Claude Code transcripts priced at OpenRouter list prices (ESTIMATED), measured provider spend when a sanctioned source exists, note-taker cost separate, Timing-style HTML/PDF plus report.json, line-items.csv, evidence.json. | Stars: 118k | Updated | Claude CodeCodex | Verified | Install |
| agent-cost-reportthedotmack/claude-memBelievable agent cost report for any period, default the last 7 full days PT, not counting today. Measured tokens from Claude Code transcripts priced at OpenRouter list prices (ESTIMATED), measured provider spend when a sanctioned source exists, note-taker cost separate, Timing-style HTML/PDF plus report.json, line-items.csv, evidence.json. | Stars: 118k | Updated | Claude CodeCodex | Verified | Install |