plotly-stubs
Type stubs for plotly.
Decision gist · record as of 2026-08-14
Yes, if you use plotly and want type checking support. The package is lightweight (no dependencies), actively maintained, and carries a permissive MIT license. Install it alongside plotly to unlock IDE autocompletion and type-checker integration with zero runtime cost. Only skip it if you do not use type checking or do not use plotly.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires plotly to be installed separately; stubs alone do not provide plotly functionality, only type information.
- Low friction to install—a pure stub package with no runtime dependencies.
- Actively maintained as of the last commit on 2026-08-14, with regular releases since first release on 2025-02-18.
License · maintenance · safety
permissive license (permissive) — MIT License permits free use, modification, and distribution with minimal restrictions, making it safe to add to any project without licensing concerns.
last release 2026-04-11 (125 days) · last repo commit 2026-08-14 · 11 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 257,522 downloads/mo, #8,443 on PyPI
Alternatives
Verify before relying
pip install plotly-stubs
# In your code, plotly imports now have type hints:
import plotly.graph_objects as go
fig = go.Figure()
fig.add_trace(go.Scatter(x=[1, 2], y=[3, 4]))
fig.show()- Coverage and completeness of type stubs relative to the full plotly API surface.
- Compatibility with specific plotly versions or version ranges.
- Whether stubs are kept in sync with plotly releases automatically or manually.
What it is and what it does
plotly-stubs is a stub-only package that adds type annotations to plotly, the popular Python visualization library. It contains no runtime code—only `.pyi` files that tell type checkers like mypy what types plotly's functions and classes expect and return. When installed alongside plotly, it enables your IDE to provide accurate autocompletion and allows type checkers to catch type errors before runtime.
The package is designed for developers who use plotly with modern Python versions (3.11 through 3.14) and want static type safety. It has no runtime dependencies, so it adds no overhead to your environment—it only improves the development experience by making plotly's API surface visible to type-aware tools.
Use it for
- Enable mypy or pyright type checking on code that uses plotly for data visualization.
- Get IDE autocompletion and parameter hints when writing plotly chart code.
- Catch type mismatches in plotly function calls before running your code.
- Integrate plotly into a strictly typed Python project without losing type safety.
- Document plotly API expectations in a codebase using type annotations.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you use plotly and want type checking support.
The package is lightweight (no dependencies), actively maintained, and carries a permissive MIT license. Install it alongside plotly to unlock IDE autocompletion and type-checker integration with zero runtime cost. Only skip it if you do not use type checking or do not use plotly.
Install
plotly-stubs on PyPI
Before you install
Low friction to install—a pure stub package with no runtime dependencies. Actively maintained as of the last commit on 2026-08-14, with regular releases since first release on 2025-02-18.
Requires plotly to be installed separately; stubs alone do not provide plotly functionality, only type information.
License in practice
MIT License permits free use, modification, and distribution with minimal restrictions, making it safe to add to any project without licensing concerns.
Quickstart
pip install plotly-stubs
# In your code, plotly imports now have type hints:
import plotly.graph_objects as go
fig = go.Figure()
fig.add_trace(go.Scatter(x=[1, 2], y=[3, 4]))
fig.show()
Verify before relying
- Coverage and completeness of type stubs relative to the full plotly API surface.
- Compatibility with specific plotly versions or version ranges.
- Whether stubs are kept in sync with plotly releases automatically or manually.
Package facts
| License | permissive license permissive |
| Python support | Supports the current Python release >=3.11 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Actively maintained 125 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 257,522 / month, #8,443 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaEnvironment :: ConsoleIntended Audience :: DevelopersIntended Audience :: Science/ResearchLicense :: OSI Approved :: MIT LicenseOperating System :: MacOSOperating System :: Microsoft :: WindowsOperating System :: POSIX :: LinuxProgramming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Scientific/EngineeringTopic :: Software Development :: Libraries :: Python Modules |
Evidence: plotly_stubs-0.1.3-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “plotly type stubs”
- plotly-stubsProvides static type annotations (stubs) for the plotly library,…
- sphinx-plotly-directiveAdds a Sphinx directive to embed interactive Plotly figures directly…
- reflex-components-plotlyProvides Plotly chart and graph components for the Reflex web…
Give your agent the search over MCP, or paste the wish link into any chat.
More Scientific/Engineering packages
NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.
pandas provides fast, flexible data structures (Series and DataFrame) for loading, cleaning, transforming, and analyzing labeled or relational data in Python.
scipy provides numerical algorithms for mathematics, science, and engineering—including optimization, integration, linear algebra, Fourier transforms, signal and image processing, and ODE solvers—built on numpy arrays.
scikit-learn provides a comprehensive Python library for supervised and unsupervised machine learning, including classification, regression, clustering, dimensionality reduction, and model evaluation tools built on NumPy and SciPy.
Install it if you need to train, evaluate, or deploy supervised or unsupervised learning models.
dill extends Python's pickle module to serialize and deserialize a much wider range of Python objects, including functions, lambdas, classes, and interpreter sessions, to byte streams for storage or network transmission.
Multiprocess is an enhanced fork of Python's standard multiprocessing library that uses dill for better serialization, allowing you to spawn processes with a threading-like API and share complex objects between them.
Install it if you use multiprocessing and encounter pickle serialization limits with lambdas or complex objects.
See also types-sqlalchemy-utils · types-smorest · types-pysaml2 · streamlit-plotly-events · plotly · plotly-express · j2lint · flake8-typing-imports · dash-core-components · shellcheck-py