Skip to main content

A Python package for creating shareable, interactive visualizations in the browser

Project description

figpack

A Python package for creating shareable, interactive visualizations in the browser.

Overview

figpack enables you to create interactive data visualizations that can be displayed in a web browser and optionally shared online. The package focuses on timeseries data visualization with support for complex, nested layouts.

Key Features

  • Interactive timeseries graphs with line series, markers, and interval plots
  • Flexible layout system with boxes, splitters, and tab layouts
  • Web-based rendering that works in any modern browser
  • Shareable visualizations that can be uploaded and shared via URLs
  • Zarr-based data storage for efficient handling of large datasets

Installation

Install figpack using pip:

pip install figpack

Quick Start

import numpy as np
import figpack.views as vv

# Create a timeseries graph
graph = vv.TimeseriesGraph(y_label="Signal")

# Add some data
t = np.linspace(0, 10, 1000)
y = np.sin(2 * np.pi * t)
graph.add_line_series(name="sine wave", t=t, y=y, color="blue")

# Display the visualization
graph.show(open_in_browser=True)

Examples

See the examples/ directory.

Usage Modes

Local Development

view.show(open_in_browser=True)

Sharing Online

Set the FIGPACK_UPLOAD_PASSCODE environment variable and use:

view.show(upload=True, open_in_browser=True)

Development Mode

Set _dev=True in the call to show() to enable development mode, which allows for live updates and debugging with figpack-gui.

License

Apache-2.0

Contributing

Visit the GitHub repository for issues, contributions, and the latest updates.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

figpack-0.1.2.tar.gz (368.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

figpack-0.1.2-py3-none-any.whl (370.1 kB view details)

Uploaded Python 3

File details

Details for the file figpack-0.1.2.tar.gz.

File metadata

  • Download URL: figpack-0.1.2.tar.gz
  • Upload date:
  • Size: 368.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for figpack-0.1.2.tar.gz
Algorithm Hash digest
SHA256 f7b969587db4d8defebb8a0def4c3712a7d52bedaa96a89b6645223477a4ce96
MD5 55ae79942ccaeba405492c4553f9c5cc
BLAKE2b-256 8d60ae6380e656b1e485efd904d4a391164fc092cab700e8d792f233535ac6d7

See more details on using hashes here.

Provenance

The following attestation bundles were made for figpack-0.1.2.tar.gz:

Publisher: deploy-to-pypi.yml on magland/figpack

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file figpack-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: figpack-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 370.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for figpack-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 8a1de8a126551ffc4ead0226a114e2743fa9575794541fa067c3a33f19741258
MD5 86a96861c6e87cacaf3a448610373142
BLAKE2b-256 0333500b9ea6e6cb1b9e755692e855705448986823045e39552f11eb06646f7d

See more details on using hashes here.

Provenance

The following attestation bundles were made for figpack-0.1.2-py3-none-any.whl:

Publisher: deploy-to-pypi.yml on magland/figpack

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page