plotly
Skill15 starsChanged 42 days agoMITView on GitHub
Expert Plotly visualization assistance covering interactive D3/WebGL charts, Dash dashboards, Plotly Express, and animations. Use when building interactive web charts and analytical data applications.
15 other projects use a version of this.
Adopted by
Most recently taken up by
- BrightGold70/skillstheir own version, first seen Nov 8, 2026
- DAAF-Contribution-Community/daaftheir own version, first seen Nov 3, 2026
- MarieLynneBlock/arcanum-artifextheir own version, first seen Nov 1, 2026
- garri333/Skillstheir own version, first seen Oct 11, 2026
- wu-yc/LabClawtheir own version, first seen Oct 8, 2026
- hanlinlibham/skillstheir own version, first seen Jul 4, 2026
Used with
Projects with it also use statsmodels.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
tondevrelSkillstatsmodels
Advanced statistical modeling and hypothesis testing. Complementary to SciPy's stats module, it provides classes and functions for the estimation of many different statistical models, as well as for conducting statistical tests and statistical data exploration. Use for linear regression, GLM, time series analysis, ANOVA, survival analysis, causal inference, and statistical hypothesis testing. Load when working with OLS, WLS, logistic regression, Poisson regression, ARIMA, SARIMAX, statistical diagnostics, p-values, confidence intervals, or R-style statistical analysis.
Also in 4 projects that use this
Other versions15 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 15
- wu-yc/LabClaw★ 1.1ksame name
- LeonChaoX/qinyan-academic-skills★ 910same name
- DAAF-Contribution-Community/daaf★ 239same name
- qinyan-ai/qinyan-academic-skills★ 80same name
- Barrios88/barrios-skills★ 63same name
- Chanw-research/claude-code-paper-writing★ 42same name
- tondevrel/scientific-agent-skills★ 22same name
- ZanderRuss/obsidian-claude★ 19same name
- MarieLynneBlock/arcanum-artifex★ 4same name
- JunMA98/Computer-science-claude-skills★ 3same name
5 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository350 other files it gives its agents.
- airflowSkill
- catboostSkill
- claudeSkill
- comfyuiSkill
- cursor-aiSkill
- dalleSkill
- daskSkill
- dbtSkill
- deepseekSkill
- fastaiSkill
- geminiSkill
- github-copilotSkill
- huggingfaceSkill
- jaxSkill
- jupyterSkill
- kerasSkill
- langchainSkill
- lightgbmSkill
- llamaindexSkill
- llamaSkill
- matplotlibSkill
- midjourneySkill
- mistralSkill
- mlflowSkill
- nltkSkill
- numpySkill
- ollamaSkill
- openai-gptSkill
- opencvSkill
- pandasSkill
- perplexitySkill
- polarsSkill
- pytorchSkill
- raySkill
- scikit-learnSkill
- seabornSkill
- spacySkill
- sparkSkill
- stable-diffusionSkill
- tensorflowSkill
- vaexSkill
- weights-biasesSkill
- whisperSkill
- xgboostSkill
- api-gatewaySkill
- clean-architectureSkill
- cqrsSkill
- domain-driven-designSkill
- event-drivenSkill
- event-sourcingSkill
- graphqlSkill
- grpcSkill
- hexagonalSkill
- microservicesSkill
- modular-monolithSkill
- monolithSkill
- rest-apiSkill
- sagaSkill
- serverlessSkill
- service-meshSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
4 rules. 0 are common, 1 is distinctive, and 3 are very specific to this project.
0
Common
Most of the 15 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 123
Problem: Default white themes mismatch dark mode application dashboards.
- Very specific: line 146
Start with plotly.express for rapid prototyping.
- Very specific: line 147
Use include_plotlyjs="cdn" when exporting HTML files to reduce file size from 3MB down to a few kilobytes.
- Very specific: line 148
Use WebGL-accelerated traces (go.Scattergl) when rendering more than 50,000 points to keep the browser responsive.
“Common” is measured: kept by at least 6 in 10 of the 15 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Plotly
Plotly generates publication-quality interactive charts, dashboards, and analytical visualizations across Python, R, and JavaScript.
When to Use
- Interactive Web Dashboards & Visualizations: Building zoomable, pan-able, and hover-interactive charts in Python/JS.
- Financial & Candlestick Charts: Displaying high-frequency stock, crypto, and commodity data with interactive range sliders.
- 3D Surface & Geospatial Mapping: Rendering 3D point clouds, geospatial choropleth maps, and WebGL scatter plots.
- Jupyter & Streamlit Integration: Embedding interactive visualizations into Streamlit, Dash, or JupyterLab.
Quick Start
import plotly.express as px
# Create interactive scatter plot with hover tooltips and trendline
df = px.data.iris()
fig = px.scatter(
df, x="sepal_width", y="sepal_length",
color="species", size="petal_length",
hover_data=["petal_width"],
title="Iris Dataset - Interactive Feature Exploration"
)
# Open in browser or render in Jupyter
fig.show()Core Concepts
High-Level Charting with Plotly Express
Generating rich multi-variable interactive charts in one line:
import plotly.express as px
import pandas as pd
# Load sample dataset
df = px.data.gapminder().query("year == 2007")
fig = px.scatter(
df,
x="gdpPercap",
y="lifeExp",
size="pop",
color="continent",
hover_name="country",
log_x=True,
size_max=60,
title="Global Health vs. Wealth (2007)",
labels={"gdpPercap": "GDP per Capita (USD)", "lifeExp": "Life Expectancy (Years)"},
template="plotly_white"
)
# Customize hover tooltip formatting
fig.update_traces(
hovertemplate="<b>%{hovertext}</b><br>GDP/Capita: $%{x:,.2f}<br>Life Expectancy: %{y:.1f} yrs<extra></extra>"
)
# Export interactive HTML widget
fig.write_html("interactive_scatter.html", include_plotlyjs="cdn")Financial Candlestick Chart with Range Slider (graph_objects)
Detailed technical analysis with interactive time navigation:
import plotly.graph_objects as go
import pandas as pd
df = pd.read_csv('https://raw.githubusercontent.com/plotly/datasets/master/finance-charts-apple.csv')
fig = go.Figure(data=[go.Candlestick(
x=df['Date'],
open=df['AAPL.Open'],
high=df['AAPL.High'],
low=df['AAPL.Low'],
close=df['AAPL.Close'],
name='AAPL'
)])
fig.update_layout(
title='Apple Inc. (AAPL) Stock Price',
yaxis_title='Stock Price (USD)',
xaxis_rangeslider_visible=True,
template='plotly_dark'
)
fig.write_html("candlestick_chart.html")Interactive Subplot Grid with Secondary Y-Axis
Combining bar charts and line charts across synchronized subplots:
from plotly.subplots import make_subplots
import plotly.graph_objects as go
fig = make_subplots(specs=[[{"secondary_y": True}]])
months = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun']
fig.add_trace(go.Bar(x=months, y=[120, 150, 180, 220, 260, 310], name="Revenue ($k)"), secondary_y=False)
fig.add_trace(go.Scatter(x=months, y=[85, 88, 89, 92, 94, 95], name="Retention (%)", mode="lines+markers"), secondary_y=True)
fig.update_layout(title="H1 Revenue & Retention Trends", template="plotly_white")
fig.update_yaxes(title_text="Revenue in Thousands ($)", secondary_y=False)
fig.update_yaxes(title_text="Customer Retention Rate (%)", secondary_y=True)Common Patterns
Customizing Layout and Dark Theme Styling
Problem: Default white themes mismatch dark mode application dashboards.
Solution: Apply custom templates and update figure layout:
fig.update_layout(
template="plotly_dark",
title_font_size=20,
xaxis_title="Measurement",
yaxis_title="Count",
legend=dict(orientation="h", yanchor="bottom", y=1.02, xanchor="right", x=1),
margin=dict(l=40, r=40, t=60, b=40)
)
# Export interactive standalone HTML
fig.write_html("dashboard_chart.html")Best Practices
Do:
- Start with
plotly.expressfor rapid prototyping; drop down toplotly.graph_objectsonly for complex multi-axis layouts. - Use
include_plotlyjs="cdn"when exporting HTML files to reduce file size from 3MB down to a few kilobytes. - Use WebGL-accelerated traces (
go.Scattergl) when rendering more than 50,000 points to keep the browser responsive. - Customize
hovertemplateto display meaningful business units and currency signs cleanly.
Don't:
- Plot millions of raw points without downsampling; dense overlapping points degrade browser DOM rendering.
- Embed full static PNG images when users need zoom, pan, and hover interactivity.
- Forget to set responsive container sizing (
fig.update_layout(autosize=True)).
Troubleshooting
| Error | Cause | Solution |
fig.show() does nothing in terminal script | Terminal execution lacks browser renderer or Jupyter widget. | Export to HTML with fig.write_html("chart.html") or run in Jupyter. |
ValueError: Plotly Express cannot process wide-form data | DataFrame columns not in tidy (long) format. | Use df.melt() to convert wide DataFrame into long-form format. |
Slow rendering with 100k+ data points | SVG rendering bottleneck in browser DOM. | Use WebGL-accelerated chart variants: go.Scattergl instead of go.Scatter. |
References
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

