Install any skill in seconds. Free to start, no credit card required.
Get Started Free →brycewang-stanford/plotly-interactive-guide
Guide to Plotly.py for interactive scientific visualizations in Python
Passed 22 of 23 test cases with the skill, and 20 of 23 without it.
2 fixed20 passed either way1 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 2 test cases the skill fixed. Same model, same prompt, with and without the skill.
When saving a Plotly figure as a vector PDF or high-resolution PNG for publication, standard exports produce low-DPI default renders and fail without headless browser rendering dependencies. What parameter in write_image scales up resolution, and what Python engine package must be installed?
| Checked | Without skill | With skill |
|---|---|---|
| sets scale=3 in write_image | Missed | Passed |
| requires kaleido for static image export | Passed | Passed |
The instructions your model reads when the skill loads.
Plotly.py is a high-level, interactive graphing library for Python with over 18K stars on GitHub. Built on top of plotly.js (which itself uses D3.js and WebGL), Plotly enables researchers to create publication-quality interactive figures directly from Python code. The library integrates seamlessly with pandas DataFrames, NumPy arrays, and the broader scientific Python ecosystem.
What sets Plotly apart for academic researchers is its Plotly Express module, which provides a concise, high-level API for creating complex visualizations in a single function call. Researchers can go from a pandas DataFrame to a fully interactive figure in one line of code, then customize it further as needed. Every Plotly figure is inherently interactive, supporting hover tooltips, zoom, pan, and selection out of the box.
Plotly also offers Dash, a framework for building analytical web applications entirely in Python. This allows researchers to create interactive dashboards for exploring experimental data, sharing results with collaborators, or building supplementary interactive materials for publications without needing front-end development skills.
Plotly Express provides the fastest path from data to visualization. It works directly with pandas DataFrames and supports faceting, color mapping, animation, and trendlines.
import plotly.express as px
import pandas as pd
import numpy as np
# Simulated experimental data
np.random.seed(42)
df = pd.DataFrame({
'concentration': np.random.uniform(0.1, 10, 200),
'response': np.random.normal(0, 1, 200),
'treatment': np.random.choice(['Drug A', 'Drug B', 'Control'], 200),
'cell_line': np.random.choice(['HeLa', 'MCF7', 'A549'], 200)
})
df['response'] = df['concentration'] * 0.8 + df['response']
fig = px.scatter(
df,
x='concentration',
y='response',
color='treatment',
facet_col='cell_line',
trendline='ols',
title='Dose-Response Across Cell Lines',
labels={'concentration': 'Concentration (uM)', 'response': 'Normalized Response'},
test cases passed, vs 20 / 23 without
Published skills whose descriptions closely match this one, with their headline benchmark lift.
More skills from the same source and nearby in the registry, with their headline benchmark lift.