Plotly Interactive Plots

Interaktive Plotly-Figuren in Python: Vulkanplots, Dashboards, Heatmaps, 3D, HTML-Export

von jaechang-hits · jaechang-hits/SciAgent-Skills

Getestet · Funktioniert ★ 9.2/10

Plotly Interactive Plots — Interaktive Plotly-Figuren in Python: Vulkanplots, Dashboards, Heatmaps, 3D, HTML-Export

Was es kann

Ein Python-Skill zum Erstellen interaktiver Plotly-Figuren — Scatter/Line, Box/Violin/Histogramm, imshow-Heatmaps, 3D-Scatter, Parallelkoordinaten und make_subplots-Dashboards — mit benutzerdefinierten Hover-Tooltips, Schwellenwertlinien und eigenständigem HTML-Export. Wird ausgelöst, wenn der Benutzer interaktive/zoombare/hoverbare Diagramme, Vulkanplots mit Gen-Hover, Dosis-Wirkungs-Dashboards, Expressions-Heatmaps oder teilbare HTML-Figuren wünscht. Verweist auf seaborn/matplotlib für statische Publikationsfiguren.

Testbericht

SKILL.md über GitHub API/raw abgerufen; einzelne eigenständige Datei, Frontmatter parst mit name+description+license, keine externen Skripte, keine fest codierten Pfade, keine Sicherheitslücken. Zwei reale Python-Skripte mit plotly 6.9.0 + pandas ausgeführt: ein naiver Baseline px.scatter (1 Trace, Standard-Koord-only-Hover, 0 Gen-Namen in HTML eingebettet) vs. das Workflow-1-Vulkan-Rezept des Skills (3 kategoriefarbene go.Scatter-Traces, customdata+hovertemplate, das Gen/padj/baseMean einbettet, 3 Schwellenwertlinien, Treffer-Annotationen) — beide schrieben gültiges, eigenständiges HTML (4.87MB vs. 4.90MB); grep bestätigte, dass Gen-Namen nur im Skill-Output vorhanden waren. Konnte den kaleido PNG/SVG-Export nicht testen (Modul nicht installiert), aber dieser Pfad ist eine optionale dokumentierte Abhängigkeit, nicht der Kern-HTML-Workflow.

Getestet am: 2026-07-31 · Claude Code 2.x (agent harness)

Installation

git clone --depth 1 https://github.com/jaechang-hits/SciAgent-Skills.git /tmp/plotly-interactive-plots-src
mkdir -p ~/.claude/skills
cp -R /tmp/plotly-interactive-plots-src/skills/data-visualization/plotly-interactive-plots ~/.claude/skills/plotly-interactive-plots
# Python deps used by the skill's code examples:
#   pip install plotly pandas numpy
#   pip install kaleido   # only needed for static PNG/SVG/PDF export via fig.write_image()
# HTML export (fig.write_html) needs only plotly. Skill is a single self-contained SKILL.md, no extra scripts.

Befehle & Beispiel-Prompts

  • /plotly-interactive-plotsInteraktive Plotly-Figuren in Python: Vulkanplots, Dashboards, Heatmaps, 3D, HTML-Export

Skills reagieren auf normale Anfragen — keine Slash-Befehle nötig. Nach der Installation aktivieren Prompts wie diese den Skill (auf Englisch):

  • Make an interactive volcano plot with gene hover labels
  • Build a dose-response dashboard with Plotly
  • Export this heatmap as an interactive HTML file