pyxtviz
Panel-data visualisation for Python: from a declared panel to a finished figure in one line, with full control of the result.
xv.lines(panel, "growth", highlight=["C03", "C17"])
A sample of the units, two of them named, and the mean by year: one line.
Status: 0.0.1 in preparation, not on PyPI yet. It will be published once, with every figure of the catalogue. The core and the figures written so far are tested; see PLAN.md and CATALOGUE.md.
pyxtviz is the visualisation companion of pyxtpanel, the
foundation for panel-data management and tests. It aims at 50 to 100 useful graphics for panel data
(86 are planned), each one answering a question that a panel analyst really asks.
A first figure
import pyxtpanel as xt
import pyxtviz as xv
panel = xt.xtset(frame, "country", "year") # a declared panel, as in pyxtpanel
xv.lines(panel, "growth") # trajectories of a sample of units, and the mean
xv.distribution(panel, "growth") # spread between units and within units
xv.scatter(panel, "income", "growth") # between and within relations
xv.states(panel, "reform") # who is in which state, when (returns an Axes)
xv.attrition(panel) # entries, exits and survival of the units
xv.list_kinds() # the figures that exist
xv.set_theme("slides") # the look of every figure from now on
xv.lines(panel, "growth", lang="fr", theme="dark") # one figure in French, on a dark page
xv.states(panel, "reform", ax=my_axes) # draw inside your own axes
xv.data.attrition(panel).to_frame() # the numbers behind a figure
- One line for a finished figure: sensible defaults (variables, sample of units, labels, language). Leave the variable out and a numeric one that changes over time is chosen, with a warning.
- Full control: every function returns matplotlib objects (an
Axesfor a figure of one panel, aFigureotherwise); change anything afterwards, or draw into your own axes withax=. - Ten themes (
xv.list_themes()), four palettes checked for colour-blind readers, English and French (decimal comma included). See the gallery of themes. - What seaborn does not do for panels: between and within decompositions, one line per unit, unit-by-period maps, balance and gaps, treatment roll-out and event windows, panel diagnostics (cross-sectional dependence, unit roots by unit, residual normality).
- Light and checked: figures are computed by tested functions (
pyxtviz.data), compared withpyxtpanel, pandas and hand-computed panels; nothing is left in matplotlib's global settings.
All the figures, with the code that draws them: docs/gallery/figures.md. Which question, which figure: docs/guide.md. The documentation, with examples that are run by the tests: docs/documentation.md. Runnable scripts: examples/.
Install
Not published yet. From a clone of the repository, in an environment with Python 3.10 or later:
pip install -e . # also installs pyxtpanel, numpy, pandas, scipy and matplotlib
Learn more
- docs/documentation.md: options, themes, saving, one chapter per family.
- docs/guide.md: which question, which figure.
- PLAN.md: the work plan (blocks A to L) and its progress table.
- CATALOGUE.md: the 86 planned figures, with the question each one answers.
- ARCHITECTURE.md: how the package is built.
- CONTRIBUTING.md: how to add a figure (
python -m tools.nouveau). - CONTEXTE.md: why the package exists and how the project is run.
Licence
Metadata
Release files for pyxtviz 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pyxtviz-0.0.1.tar.gz | 445.0 kB | With provenance | Details for pyxtviz-0.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pyxtviz-0.0.1-py3-none-any.whl | Python 3 | none | any | Details for pyxtviz-0.0.1-py3-none-any.whl |
Total release size: 1.0 MB
Release files / pyxtviz-0.0.1.tar.gz
| Download URL | pyxtviz-0.0.1.tar.gz |
|---|---|
| Size | 445.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
30390cd15e8a7d5c2c9a075d7653adb1152cc5d97fb6fb1359cfb3670f333214
|
|
BLAKE2b-256 checksum How to use checksums |
d5b9691602c763db7b752d1622c3547b371d042528f3a2c9fdf980afb37fb198
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Dec 6, 2026.
Transparency logRelease files / pyxtviz-0.0.1-py3-none-any.whl
| Download URL | pyxtviz-0.0.1-py3-none-any.whl |
|---|---|
| Size | 579.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2401a40ed176a836ceea83a3a96a3ec81fc24eeb09cbb3733515e4ac03d75df6
|
|
BLAKE2b-256 checksum How to use checksums |
5b13b32b7d6caf8321c89d46be0ac123af5950b122c5188a3b7022a4e35664f6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Dec 6, 2026.
Transparency logSecurity for pyxtviz 0.0.1
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for pyxtviz-0.0.1.tar.gz
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 Dec 6, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.