Skip to main content

GoldenViz

GoldenViz is a lightweight Python library for checking Matplotlib charts against practical data visualization rules.

It is designed as a visual QA and teaching layer. GoldenViz does not create charts for you; it inspects charts you already made and returns structured feedback.

GoldenViz is inspired by the course and book: The 25 Golden Rules of Data Viz.

Installation

pip install GoldenViz

Then import the package with the same capitalization:

import GoldenViz as gv

Quickstart

import matplotlib.pyplot as plt
import GoldenViz as gv

fig, ax = plt.subplots()
ax.plot([2021, 2022, 2023], [10, 13, 16])
ax.set_title("Revenue trend by year")
ax.set_xlabel("Year")
ax.set_ylabel("Revenue (M EUR)")

gv.check(fig)

Running the code displays the Matplotlib chart first, then a GoldenViz report. The report summarizes the checks and lists the rules that need attention:

GoldenViz report
Automatic visual QA for the 25 Golden Rules.

PASS 25 | WARNING 0 | FAIL 0

Axis: Revenue trend by year
Needs attention: none

Passing checks include:
- Clear title: PASS
- Axis labels: PASS
- Units and scale clarity: PASS

The documentation includes the rendered chart and full HTML report preview: https://goldenviz.readthedocs.io/en/latest/installation.html

Report preview:

GoldenViz report preview

To get a structured report instead of displaying it:

report = gv.analyze(fig)
print(report.summary_counts)

Notebook auto mode

import GoldenViz as gv

gv.auto()

When auto mode is enabled, GoldenViz tries to show a report after Matplotlib figures are rendered in notebook workflows.

Documentation

Full installation, usage, examples, API, citation, license, and trademark information are available in the documentation:

https://goldenviz.readthedocs.io

Project status

GoldenViz is currently an alpha package. The implementation is Matplotlib-first, with Seaborn charts supported when they produce standard Matplotlib axes.

GoldenViz uses heuristic checks. It can help detect common chart quality issues, but it does not replace human judgment and may produce false positives or false negatives.

See CHANGELOG.md for release notes.

Development

From a local checkout:

pip install -e .

For documentation work:

pip install -e ".[docs]"

For tests:

pip install -e ".[test]"
pytest

License

GoldenViz is free and open source software licensed under the GNU Affero General Public License version 3 or later (AGPL-3.0-or-later). See LICENSE.

Commercial licensing, enterprise use cases, hosted services, or integrations that require terms different from AGPLv3 may be available by separate written agreement.

GoldenViz and the GoldenViz logo are trademarks or claimed trademarks of Wajdi Ben Saad. Use of the code under AGPLv3 does not grant permission to use the GoldenViz name or logo to imply endorsement, official status, or partnership. See TRADEMARKS.md.

Contributing

Contributions are welcome. See CONTRIBUTING.md for the development workflow and contribution licensing terms.

Metadata

Release files for GoldenViz 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for GoldenViz 0.1.1
File Size Uploaded
goldenviz-0.1.1.tar.gz 37.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for GoldenViz 0.1.1
File Interpreter ABI Platform
goldenviz-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 84.2 kB

Release files / goldenviz-0.1.1.tar.gz

Download URL goldenviz-0.1.1.tar.gz
Size 37.4 kB
Tags Source
SHA-256 checksum
How to use checksums
b227c27b5a6fe8173d4ee93feff0b578f4433e4b69c4eb27fb141945c2ed55ba
BLAKE2b-256 checksum
How to use checksums
f0beea39aefd94be72eef84876d12aee3d007489e7186c91fee876b7d3912245
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 16, 2026.

Transparency log

Release files / goldenviz-0.1.1-py3-none-any.whl

Download URL goldenviz-0.1.1-py3-none-any.whl
Size 46.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d922560fdb303ddf1b2711075ca88ff3dc8a53d07fe393a06df11b71bfd18e2c
BLAKE2b-256 checksum
How to use checksums
81ddecf8208348909d6970c861e5488d35e366ce865ec0c8ba9a055730ecc02e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 16, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page