New: Server-side SVG and PNG rendering for six 2D families and World Map.
FastPlotPy: charts for Python and Jupyter
FastPlotPy brings the FastPlotJs chart families to Python, with interactive browser and Jupyter views and renderer-neutral scene generation. The release is available on PyPI as 0.5.0a3.
Install the public alpha
Use Python 3.11 or newer. This pinned command installs the release currently described here:
python -m pip install fastplotpy==0.5.0a3PyPI provides wheels for Windows x86-64 and Linux x86-64 with glibc 2.38 or newer, plus a source distribution. Installed wheel behavior was verified on CPython 3.12 on Windows x64 and Linux x86-64; other Python versions and platforms have not been verified for this release. A source install needs a working Rust and C/C++ build toolchain. macOS has no published wheel or validated source-build result. Check PyPI release files for availability.
Your first Python chart
Create a line chart with the public Python API. In Jupyter, displaying chart opens the interactive browser-backed view.
from fastplotpy import createChart
chart = createChart({
"type": "line",
"width": 800,
"height": 400,
"engine": "auto",
"data": [{"x": 0, "y": 12}, {"x": 1, "y": 18}],
"axes": {"show": True},
})
chart # Display in JupyterFor scene generation without a browser, use plot(options). The Python package provides the twelve chart families represented in the FastPlotJs gallery; the JavaScript examples on this site use JavaScript syntax and are not Python API documentation.
World Map points and country areas
Use type: "map" to place numeric values at longitude and latitude coordinates on a bundled offline land basemap. The browser and Jupyter view supports bounded zoom and pan, tooltips, clicks, labels, and a color-scale legend. Try the live JavaScript map to see the visual behavior; use the FastPlotPy package for Python-specific usage.
from fastplotpy import createChart
chart = createChart({
"type": "map", "width": 800, "height": 440,
"map": {"projection": "equirectangular", "basemap": "world",
"colorScaleLegend": {"title": "Value"}},
"traces": [{"name": "Locations", "data": [
{"longitude": -74.006, "latitude": 40.7128, "value": 12, "label": "New York"},
{"longitude": 139.6917, "latitude": 35.6895, "value": 34, "label": "Tokyo"},
]}],
"interactions": {"tooltip": True},
})
chart # Display in JupyterThe map uses an equirectangular projection. Add map.regions for offline country-area values; region IDs use bundled Natural Earth ADM0_A3 codes. Static server Map SVG/PNG export is available through renderMapToSVG and renderMapToPNG. Online tiles and geocoding are absent; strict Rust browser scene-engine selection is unsupported.
Browser and Jupyter interaction
The Python package includes a local browser frontend for Canvas, pointer and WebGL behavior. A loopback bridge connects the chart session to Python for state and callbacks. Zoom, selection, and other supported interactions run in the browser or Jupyter view. See the PyPI description for Python-specific behavior.
Alpha availability and limits
0.5.0a3 is a pre-release. Five 3D families remain experimental; the Python native 3D PNG path has Windows validation only. The Python source repository is private. Use the public PyPI package for installation and release details.
