sphinx-plotly-directive
A directive for including a plotly figure in a Sphinx document
Decision gist · record as of 2026-08-14
No, unless you are working with an older, stable Sphinx and Plotly stack and can tolerate the risk of unmaintained code. The package is abandoned with no updates since 2021-02-27. For new projects, consider alternatives that are actively maintained. If you must use it, pin your dependencies to versions known to work and test thoroughly.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Sphinx to be installed and configured; the directive must be registered in your Sphinx conf.py extensions list.
- Low install friction with only plotly and pandas as runtime dependencies.
- However, the package is abandoned—last release was 2021-02-27 and last commit 2022-10-25.
License · maintenance · safety
(unclear) — License treatment is unclear—no SPDX identifier or raw license text is recorded. Before relying on this package in a project with licensing constraints, verify the actual license from the repository.
last release 2021-02-27 (1994 days) · last repo commit 2022-10-25 · 18 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 104,987 downloads/mo, #12,728 on PyPI
Alternatives
Verify before relying
pip install sphinx-plotly-directive
# In your Sphinx conf.py, add 'sphinx_plotly_directive' to extensions
# Then in a .rst file:
# .. plotly::
#
# import plotly.express as px
# px.scatter(x=[0, 1, 2], y=[0, 1, 4])- Compatibility with current versions of Sphinx, Plotly, and pandas since last release was 2021-02-27.
- Whether the unclear license permits your intended use case.
- Whether the package works reliably with modern Python versions despite requiring >=3.6.
What it is and what it does
sphinx-plotly-directive is a Sphinx extension that lets you embed interactive Plotly charts directly into documentation by writing Python code in a special directive block. When Sphinx builds your docs, the directive executes the code and renders the resulting Plotly figure inline, similar to how Matplotlib's plot directive works. It depends on plotly and pandas to generate and manipulate the visualizations.
The package is designed for technical documentation where you want live, interactive charts rather than static images. However, it has been abandoned since early 2021 with no commits since 2022-10-25. This means it may not work reliably with recent versions of Sphinx, Plotly, or Python, and any bugs or incompatibilities will not be addressed by the maintainer.
Use it for
- Add interactive scatter plots, line charts, or other Plotly visualizations to API or library documentation.
- Build scientific or data-analysis documentation where readers can hover over data points to see values.
- Create tutorial or guide documents that demonstrate Plotly usage with live, embedded examples.
- Generate reports or technical specs that include interactive charts without requiring separate HTML files.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
No, unless you are working with an older, stable Sphinx and Plotly stack and can tolerate the risk of unmaintained code.
The package is abandoned with no updates since 2021-02-27. For new projects, consider alternatives that are actively maintained. If you must use it, pin your dependencies to versions known to work and test thoroughly.
Install
sphinx-plotly-directive on PyPI
Before you install
Low install friction with only plotly and pandas as runtime dependencies. However, the package is abandoned—last release was 2021-02-27 and last commit 2022-10-25. No active maintenance means bugs and compatibility issues are unlikely to be fixed.
Requires Sphinx to be installed and configured; the directive must be registered in your Sphinx conf.py extensions list.
License in practice
License treatment is unclear—no SPDX identifier or raw license text is recorded. Before relying on this package in a project with licensing constraints, verify the actual license from the repository.
Quickstart
pip install sphinx-plotly-directive
# In your Sphinx conf.py, add 'sphinx_plotly_directive' to extensions
# Then in a .rst file:
# .. plotly::
#
# import plotly.express as px
# px.scatter(x=[0, 1, 2], y=[0, 1, 4])
Verify before relying
- Compatibility with current versions of Sphinx, Plotly, and pandas since last release was 2021-02-27.
- Whether the unclear license permits your intended use case.
- Whether the package works reliably with modern Python versions despite requiring >=3.6.
Package facts
| License | Not declared unclear |
| Python support | Supports the current Python release >=3.6 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 2 packagesplotlypandas |
| Maintenance | Abandoned 1,994 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 104,987 / month, #12,728 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
Evidence: sphinx_plotly_directive-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 › “sphinx plotly directive”
- sphinx-plotly-directiveAdds a Sphinx directive to embed interactive Plotly figures directly…
- sphinx-panelsA Sphinx extension that adds directives for creating grid-based…
- sphinx-promptSphinx Prompt is a Sphinx extension that renders shell and code…
Give your agent the search over MCP, or paste the wish link into any chat.
More Sphinx packages
Parses Python docstrings in ReST, Google, Numpydoc, and Epydoc formats, extracting structured information like descriptions, parameters, return types, and exceptions.
Install it if you need to programmatically read and extract structured data from Python docstrings.
Sphinx generates professional documentation from reStructuredText source files, producing HTML, PDF, EPUB, and other formats with automatic cross-references, code highlighting, and hierarchical navigation.
A Sphinx extension that outputs documentation in serialized HTML formats (JSON and pickle) alongside standard HTML.
Alabaster is a clean, responsive Sphinx theme for documentation that requires Python 3.10 or newer and Sphinx 6.2 or newer.
A Sphinx extension that generates HTML help files from reStructuredText documentation source.
A Sphinx extension that converts documentation source files into QtHelp format, enabling integration with Qt-based help systems and documentation viewers.
However, be aware that maintenance is dormant—if you rely on it long-term, monitor Sphinx compatibility and consider whether QtHelp remains the right format for your…
See also sphinxcontrib-youtube · plotly · plotly-express · sphinxcontrib-plantuml · sphinx-panels · sphinxcontrib-mermaid · ridgeplot · sphinx-prompt · kaleido · sphinxcontrib-video