bqscales
Grammar of Graphics in Python.
What it is and what it does
bqscales is a Python library that brings grammar-of-graphics principles to Jupyter-based interactive visualization. It integrates with the ipywidgets ecosystem and depends on numpy, traitlets, and traittypes—all standard Jupyter infrastructure—making it a natural fit for notebook-based data exploration and visualization workflows.
The library is designed for developers and data scientists working in Jupyter environments who want to build interactive visualizations using a grammar-of-graphics model. It has been actively maintained since its 2021 release, with recent updates as of 2025-12-10, and carries no known security vulnerabilities.
Use it for:
- Build interactive exploratory visualizations in Jupyter notebooks using declarative scale and aesthetic mappings
- Compose reusable, layered graphics for data analysis using grammar-of-graphics principles within Jupyter
- Create linked, interactive multi-view dashboards in Jupyter combining ipywidgets with custom interactions
- Teach data visualization design using a grammar-of-graphics framework in notebook-based educational settings
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
bqscales implements a grammar-of-graphics layer for creating interactive visualizations in Jupyter notebooks using ipywidgets and numpy.
Yes, if you work in Jupyter notebooks and want a grammar-of-graphics approach to interactive visualization. The package has low install friction, permissive Apache 2.0 licensing, active maintenance, and no known vulnerabilities. It is a specialized tool for a specific use case, so install only if that matches your workflow.
Install
bqscales on PyPI
pip
pip install bqscalesuv
uv add bqscalespoetry
poetry add bqscalesInstalling bqscales
Before you install
Low install friction with a pure-Python wheel. Actively maintained as of 2026-08-05 with recent release activity.
License in practice
Apache 2.0 permissive license allows commercial and derivative use with minimal restrictions—attribution and license inclusion required for distributions.
Quickstart
pip install bqscales
import bqscales
from ipywidgets import VBox
# Use bqscales with ipywidgets in Jupyter
Requires Jupyter notebook or compatible environment; intended for interactive use within ipywidgets-based notebooks.
Verify before relying
- Specific grammar-of-graphics API surface and how it differs from or complements existing visualization approaches
- Whether bqscales is actively used in production or remains a research/experimental project given low star count of 7
- Concrete examples of scale and aesthetic mapping functionality provided by the library
Package facts
| License | Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 1. Definitions. "License" shall mean the terms and conditions for… (full text in the JSON record) (permissive) |
| Python support | supports the current Python release (>=3.6) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 4 — ipywidgets, numpy, traitlets, traittypes |
| Maintenance | actively maintained — 247 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 210,236/month — #9,500 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: bqscales-0.3.7-py3-none-any.whl
Keywords: bqplot, d3, graphics, ipython, jupyter, plotting, widgets
Tags
More Graphics packages
Pillow adds image processing capabilities to…
permissive · top 100 on PyPI
fonttoolsfonttools manipulates font files in multiple…
permissive · top 1,000 on PyPI
matplotlib-inlineEnables matplotlib figures to display inline…
permissive · top 1,000 on PyPI
pymupdfPyMuPDF extracts, renders, converts, and…
agpl · top 1,000 on PyPI
pypdfium2pypdfium2 is a Python binding to PDFium that…
permissive · top 1,000 on PyPI
altairAltair is a declarative Python library for…
permissive · top 1,000 on PyPI
bqplotbqplot is a 2-D interactive plotting library…
permissive · top 15,000 on PyPI
ipywidgetsipywidgets provides interactive HTML widgets…
permissive · top 1,000 on PyPI
ipytreeipytree provides a tree-structure widget for…
permissive · top 15,000 on PyPI
plotnineplotnine implements a grammar of graphics for…
permissive · top 5,000 on PyPI
ggplotggplot is a Python implementation of the…
permissive · top 15,000 on PyPI
ipyvueProvides a Jupyter widget base for building…
permissive · top 15,000 on PyPI
mizaniMizani provides scales and transformations for…
permissive · top 5,000 on PyPI
ipymplipympl enables interactive matplotlib plots in…
permissive · top 5,000 on PyPI
jupyter-leafletjupyter-leaflet provides interactive map…
permissive · top 15,000 on PyPI