Navigate:
All Reposplotly.py
~$PLOTLY0.1%

plotly.py: Interactive graphing library for Python

Interactive browser-based charts from Python with declarative API.

LIVE RANKINGS • 06:51 AM • STEADY
OVERALL
#186
12
DEVELOPER TOOLS
#36
4
30 DAY RANKING TREND
ovr#186
·Devel#36
STARS
18.2K
FORKS
2.8K
DOWNLOADS
7D STARS
+10
7D FORKS
+2
See Repo:
Share:

Learn more about plotly.py

plotly.py is a Python graphing library that generates interactive visualizations rendered in web browsers. It wraps plotly.js and provides a high-level, declarative API for constructing charts without requiring direct JavaScript knowledge. The library supports rendering in Jupyter notebooks, standalone HTML files, and integration with Dash applications for building dashboards. Charts are built using SVG and WebGL rendering depending on the chart type and complexity.

plotly.py

1

Declarative API design

Uses a high-level, declarative syntax through modules like plotly.express that abstract away underlying plotly.js complexity. This approach allows users to specify what data to visualize without managing rendering details.

2

Multiple deployment contexts

Visualizations can be rendered in Jupyter notebooks, marimo, standalone HTML files, or embedded in Dash applications. This flexibility supports different workflows from exploratory analysis to production dashboards.

3

Comprehensive chart library

Ships with over 30 chart types including 3D graphs, statistical charts, SVG maps, and financial charts. The underlying plotly.js library provides both SVG and WebGL rendering options for different performance and quality trade-offs.


pip install plotly

vv6.4.0

Upgrades plotly.js to 3.2.0 and deprecates create_hexbin_mapbox in favor of create_hexbin_map.

  • Replace create_hexbin_mapbox calls with create_hexbin_map before the deprecated function is removed.
  • Use new hovertemplatefallback and texttemplatefallback attributes for fallback template handling in charts.
vv6.3.1

Patch release fixing Kaleido image export dimensions, Scattergl text rendering, and fig.show() behavior with ipython installed.

  • Update to Plotly.js 3.1.1 resolves Scattergl plots failing to render when text elements are present.
  • Kaleido exports now correctly respect width and height specified in plot layout instead of ignoring them.
vv6.3.0

Maintenance release updating Plotly.js to 3.1.0, exposing a Chrome helper function, and fixing spurious deprecation warnings.

  • Call `plotly.io.get_chrome()` directly in scripts to retrieve the Chrome instance for rendering operations.
  • Upgrade to Plotly.js 3.1.0; consult upstream release notes for chart behavior changes and new features.


[ EXPLORE MORE ]

Related Repositories

Discover similar tools and frameworks used by developers