Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
181 commits
Select commit Hold shift + click to select a range
4d9400e
Remove conda environment specs (moving to venv)
Jan 8, 2025
c16a87b
Create placeholder class for NormalizedDataManager
Jan 8, 2025
22263ca
Implement basic ability to append data to manager
Jan 8, 2025
058de10
Add support for named data
Jan 9, 2025
a039d93
Update dependency versions
Jan 11, 2025
43ad2c0
Update pandas version
Jan 11, 2025
49c1a70
Change pipelines to run on main commits only
Jan 11, 2025
5c282b0
Implement data validator
Jan 11, 2025
d481b3a
Add validator checks to NormalizedDataManager
Jan 11, 2025
53b5024
Add methods to drop data (also required moving uuid information to se…
Jan 13, 2025
4dfb3c2
Fix iloc syntax
Jan 13, 2025
bab9e54
Store normalized data
Jan 14, 2025
c034bfb
Implement DataFrameNormalizer
Jan 15, 2025
324ffb9
Add test for multiple normalized data
Jan 15, 2025
6ccaffe
Rename file for NormalizedDataManager
Jan 15, 2025
02af798
Add todo
Jan 15, 2025
a2fb57d
Implement the DataFrameNormalizer append method (assumes that bottoms…
Jan 16, 2025
3352be2
Update to pyproject.toml (no longer use setup.py)
kravitsjacob Jul 23, 2025
3613915
Update the development pipeline
kravitsjacob Jul 23, 2025
c3af0cf
Implement outline of array normalizer
kravitsjacob Jul 24, 2025
17621de
Add normalization method
kravitsjacob Jul 24, 2025
ab9071f
Array normalizer normalizes the incoming data
kravitsjacob Jul 24, 2025
15bcd91
Add to_dict and from_dict methods
kravitsjacob Jul 24, 2025
56cae9f
Reimplement ArrayNormalizer to stores the raw values
kravitsjacob Aug 1, 2025
35f5a85
Add missing tests
kravitsjacob Aug 1, 2025
495353c
add schema version for serialization
kravitsjacob Aug 2, 2025
d4b43e6
Add skeleton classes for normalized arrays
kravitsjacob Aug 1, 2025
62235a3
Make sure array is np.float64
kravitsjacob Aug 3, 2025
3462de8
Rename min_val and max_vav to reflect normalization bounds
kravitsjacob Aug 3, 2025
97419e6
Make min_val_normalization public
kravitsjacob Aug 3, 2025
be3f88e
Implement custom min and max value logic
kravitsjacob Aug 3, 2025
0a8d766
Add method to set custom bounds
kravitsjacob Aug 3, 2025
c798353
Add method for appending arrays
kravitsjacob Aug 3, 2025
61f8258
Implement method to remove data at indices
kravitsjacob Aug 3, 2025
16e38f3
Make skeleton of BaseNormalizedArray
kravitsjacob Aug 3, 2025
2e1fd0e
Implement intial logic for numeric and base normalized array
kravitsjacob Aug 3, 2025
eb7f3df
Use pydantic validate arguments
kravitsjacob Aug 3, 2025
810d220
Update to nondepricated pydantic calls
kravitsjacob Aug 3, 2025
409af5e
Add custom bound endpoint and properties
kravitsjacob Aug 3, 2025
f1047cb
Implement serialization methods for numeric normalized array
kravitsjacob Aug 3, 2025
1727eaf
Implement intial version of CategoricalNormalizedArray
kravitsjacob Aug 3, 2025
ad7d5e1
Adjust array classes such that base class assumes no type and type is…
kravitsjacob Aug 3, 2025
cdb4e78
Implement categorical to_dict, from_dict, and append methods
kravitsjacob Aug 4, 2025
f1ccb69
Ensure array is alwauys stored as list
kravitsjacob Aug 4, 2025
bf96e56
Initial skeleton of normalized matrix
kravitsjacob Aug 5, 2025
d854062
Reusable validation
kravitsjacob Aug 5, 2025
e5b1467
Make row and column properties designated @properties
kravitsjacob Aug 5, 2025
316ecd9
Implement get normalized array method for NormalizedMatrix
kravitsjacob Aug 5, 2025
331c487
Add enum for column type and methods to get array values
kravitsjacob Aug 5, 2025
3d85d22
Be clear that None is not supported in matrix
kravitsjacob Aug 5, 2025
5c79e76
change pytest to dev dependency
kravitsjacob Aug 6, 2025
4afc666
Add append method to NormalizedMatrix
kravitsjacob Aug 6, 2025
ba7cfba
Add todict and from dict methods to NormalizedMatrix
kravitsjacob Aug 6, 2025
b701c47
Add docstrings for NamedNormalizedMatrixView
kravitsjacob Aug 7, 2025
d8cf84e
Minor PEP8 of NamedNormalizedMatrixView
kravitsjacob Aug 7, 2025
8e4c8db
Remove to/from_dict methods for deeper layers (only outer layers will…
kravitsjacob Aug 7, 2025
4d5c635
Add method to normalized matrix for removing rows
kravitsjacob Aug 7, 2025
9586ffe
Create a NamedNormalizedMatrixView for named data
kravitsjacob Aug 7, 2025
ba96a25
Implement numeric axis tick manager
kravitsjacob Aug 9, 2025
2d57d83
Implement auto tick generation functionality built on matplotlib
kravitsjacob Aug 9, 2025
c34defc
Add observers to array normalizer for when normalization is recomputed
kravitsjacob Aug 9, 2025
4bee90e
Expose observers to base normalized array
kravitsjacob Aug 9, 2025
fe2eaab
Skeleton remaining classes
kravitsjacob Aug 9, 2025
7131e41
Remove legacy code (from previous implementation of paxplot)
kravitsjacob Aug 9, 2025
08aecde
Update testing pipeline to not run legacy tests
kravitsjacob Aug 9, 2025
30bc0a5
Fix yaml synatax
kravitsjacob Aug 9, 2025
8b01f1a
Update from legacy package resource approach
kravitsjacob Aug 9, 2025
dcb4ec9
Update from legacy pydantic class configuration
kravitsjacob Aug 9, 2025
c608621
Implement plot model data methods
kravitsjacob Aug 9, 2025
b154aaa
Add column naming to PlotModel
kravitsjacob Aug 9, 2025
0ee4a7d
Add observers for when normalization is recomputed for the numeric ax…
kravitsjacob Aug 10, 2025
8e03bf8
Update class constructor to allow for axis data
kravitsjacob Aug 10, 2025
a2e7568
Require axis data as input for numeric axis tick manager
kravitsjacob Aug 11, 2025
80ba0ed
Implement categorical axis tick manager (only support for same number…
kravitsjacob Aug 11, 2025
de8138c
Ensure that set ticks of numeric tick manager doesn't create new inst…
kravitsjacob Aug 11, 2025
9e3a434
Create method to update categorical array so that set_ticks doesn't n…
kravitsjacob Aug 11, 2025
2a16a23
Switch categorical array to use a list to keep track of indices
kravitsjacob Aug 11, 2025
ddc9adb
Ensure that appending categorical data updates categorical ticks
kravitsjacob Aug 11, 2025
8300155
Rename array property to values when using anything derived from Base…
kravitsjacob Aug 12, 2025
1f8227b
Normalized array classes no longer use pydantic
kravitsjacob Aug 12, 2025
58c643e
Update docstrings for normalized array to be more explicit about type…
kravitsjacob Aug 12, 2025
c37988d
Update the normalized matrix to expose the underlying arrays rather t…
kravitsjacob Aug 13, 2025
64bdd8b
Update the named normalized matrix view to follow the convention of t…
kravitsjacob Aug 13, 2025
8efca7b
Update plot verbage to be consistent with subclasses
kravitsjacob Aug 13, 2025
c96fc3f
Align get_column_values_normalized to align with subclasses
kravitsjacob Aug 13, 2025
65912bd
Move data manager tests
kravitsjacob Aug 13, 2025
47cabf7
Create axis tick manager coordinate to handle multiple axis tick mangers
kravitsjacob Aug 22, 2025
e9d89ce
Switch to single plot with overlaid axes
kravitsjacob Aug 24, 2025
64b3f22
Switch last tick to right tick
kravitsjacob Aug 24, 2025
bde8943
Switch using main axis x positions rather than figure positions
kravitsjacob Aug 24, 2025
566edc4
Use default vertical lines for axes not having to redraw them
kravitsjacob Aug 24, 2025
e0238e4
Refactor matplotlib render to be a bit more dry
kravitsjacob Aug 24, 2025
06aa4f7
Minor PEP8 improvments
kravitsjacob Aug 24, 2025
cc899e1
Rename plot components to tick collection and categorical ticks and n…
kravitsjacob Aug 24, 2025
7e6d069
Add tick collection to plot model
kravitsjacob Aug 24, 2025
56e13de
Update test for appending data with ticks (bounds won't be reset)
kravitsjacob Aug 24, 2025
9183a68
First version of matplotlib renderer
kravitsjacob Aug 24, 2025
e56a508
Move matplotlib render tests
kravitsjacob Aug 25, 2025
d86ee87
Skeleton of controller
kravitsjacob Aug 28, 2025
826d284
Add refactor ideas
kravitsjacob Aug 28, 2025
556ff64
Isolate legacy items
kravitsjacob Aug 29, 2025
68bd001
Ignore IDE settings
kravitsjacob Aug 30, 2025
651584f
Add folder structure to refactor plan
kravitsjacob Aug 30, 2025
024ec68
Implement structures (CategoricalArray, NumericalArray, and Matrix)
kravitsjacob Aug 30, 2025
ca298e2
Add NaN support for data structures
kravitsjacob Aug 30, 2025
03031e7
Use base array for recycling logic of numerical and categorical array
kravitsjacob Aug 30, 2025
a0fc05f
Minor PEP8 refactoring
kravitsjacob Aug 30, 2025
6659222
Implement custom axis limit data classes
kravitsjacob Sep 2, 2025
bd2ae2f
Fix testing import problem
kravitsjacob Sep 2, 2025
b53557b
Add set_values methods for arrays
kravitsjacob Sep 6, 2025
ca4ec8b
Implement tick structures
kravitsjacob Sep 6, 2025
4ad2b01
Lint the tick structures
kravitsjacob Sep 6, 2025
60c7c69
Lint the base array tests
kravitsjacob Sep 6, 2025
138bc9f
Tick manager design document
kravitsjacob Sep 6, 2025
53c32d1
Implement tick manager and tests
kravitsjacob Sep 8, 2025
9b414dc
lint the tick manager and tests
kravitsjacob Sep 8, 2025
a62d5e8
Create axis label class
kravitsjacob Sep 8, 2025
a4ff95e
Fix base array nan implemenation
kravitsjacob Sep 8, 2025
2e64e81
Draft of plot mode design
kravitsjacob Sep 12, 2025
0bc1dcc
Make arrays use set_values on initialization
kravitsjacob Sep 12, 2025
5bbd5fb
Introduce a set method for ticks
kravitsjacob Sep 12, 2025
05b528e
Add similar set_data method for matrix
kravitsjacob Sep 12, 2025
7491aec
Update plot model design
kravitsjacob Sep 12, 2025
e7f0c98
Update refactor idea design to have render data classes
kravitsjacob Sep 12, 2025
384659b
Remove views from design document
kravitsjacob Sep 12, 2025
32d104f
Initial plot model implementation
kravitsjacob Sep 14, 2025
06c7100
Don't expose structures in plot model
kravitsjacob Sep 14, 2025
2d05c42
Add get methods for data
kravitsjacob Sep 14, 2025
5a2a33c
Add get methods for ticks from plot model
kravitsjacob Sep 14, 2025
4952639
Linting of plot model
kravitsjacob Sep 14, 2025
0c87a8d
Update arrays with standard verbiage
kravitsjacob Sep 18, 2025
2f7ae87
Make sure remaining structures use update verbiage
kravitsjacob Sep 18, 2025
0069051
Update plot models to use update veribiage
kravitsjacob Sep 18, 2025
7078b6e
rename matrix to array manager
kravitsjacob Sep 28, 2025
1e30692
Rename column reference to arrays
kravitsjacob Sep 28, 2025
e9943a4
Update references from "data" to "values"
kravitsjacob Sep 28, 2025
26cbe31
Update tests for array and tick managers
kravitsjacob Sep 28, 2025
ec32622
Update plot model to use array manager
kravitsjacob Sep 28, 2025
def6ece
Set line length to be 88
kravitsjacob Sep 28, 2025
f62d378
Update ticks to use standard verbiage
kravitsjacob Sep 28, 2025
3b4838c
Update tick manager to follow new verbiage convention
kravitsjacob Sep 28, 2025
33ad933
Partial refactor of matrix
kravitsjacob Sep 28, 2025
18794b3
Updated plot model with new verbiage
kravitsjacob Sep 29, 2025
80ab73d
Rename plot model to be "high dimensional plot model"
kravitsjacob Sep 29, 2025
fed414d
Lint the array structures and tests
kravitsjacob Sep 29, 2025
24bba0e
Lint the arrays and tests
kravitsjacob Sep 29, 2025
ad92842
Lint the array manager
kravitsjacob Sep 29, 2025
d1123f7
pylint tick manager
kravitsjacob Sep 29, 2025
7536ff0
Fix typo of tick manger
kravitsjacob Sep 29, 2025
9814efe
Lint the high dimensional plot model
kravitsjacob Sep 29, 2025
6da3970
Move legacy code to legacy folder
Sep 10, 2026
f74eea0
Move axis tick implementation plan to legacy folder
Sep 10, 2026
9d19c5e
Initial redesign document
Sep 12, 2026
680cb91
simplify design document
Sep 12, 2026
066253c
Add colorbar and colors to design
Sep 12, 2026
c9c5be1
Add performance considerations
Sep 12, 2026
2d1e5fb
Add tooling and CI/CD documentation to design.md
Sep 13, 2026
bbb6a57
Add documentation references
Sep 13, 2026
7b53a0e
Revise testing documentation to emphasize unit and integration tests,…
Sep 13, 2026
e50110f
Add file organization section to design.md outlining package structure
Sep 13, 2026
52c5619
Remove implementation steps section from design.md to streamline docu…
Sep 13, 2026
fe157be
Clarify CI implementation instructions in design.md
Sep 13, 2026
ca2b887
Add project name formatting guidelines to design.md
Sep 13, 2026
7819d3c
Remove to dependabot and docs theme update
Sep 19, 2026
efcc26b
Major: Refactor code structure for improved readability and maintaina…
Oct 18, 2026
38638ce
Refactor workflow testing functions to improve structure and add JSON…
Oct 18, 2026
159c50a
Enhance axis visibility configuration in rendering
Oct 19, 2026
c1fad92
Refactor axis configuration and improve data handling in tests
Oct 25, 2026
5715a03
Refactor colorbar and font handling in parallel plot tests
Nov 26, 2026
fb05259
Enhance JSON serialization to maintain readability and support one li…
Nov 26, 2026
3454256
Add functions for calculating data limits and adjusting tick label po…
Nov 27, 2026
e56cf06
Add performance test for large dataset workflow in integration tests
Nov 27, 2026
6608216
Refactor rendering and state management in paxplot
Nov 27, 2026
a9c0144
Decouple from matplotlib by removing unused classes and updating meth…
Nov 27, 2026
3143caa
Refactor code structure for improved readability and maintainability
Nov 27, 2026
aaa1122
Trigger CI on pull request
Nov 27, 2026
198f68a
Merge remote-tracking branch 'origin/main' into 31-decouple-from-matp…
Nov 27, 2026
72c6394
Pin setup-uv to exact version tag v10.4.0
Nov 27, 2026
5022d3c
Convert docs to MyST Markdown with sphinx-gallery and bump to 1.0.0
Nov 28, 2026
a5833cc
Reorganize docs around a single Getting Started guide
Dec 1, 2026
578a873
Move axis titles below the plot area
Dec 1, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Build

on:
push:
pull_request:

jobs:
package:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- run: uv sync --extra dev
- run: uv run python -m build
- uses: actions/upload-artifact@v4
with:
name: dist
path: dist/*
36 changes: 36 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: CI

on:
push:
branches: [main]
pull_request:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- uses: astral-sh/setup-uv@v10.4.0
- run: uv sync --extra dev
- run: uv run ruff format --check .
- run: uv run ruff check .

test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
include:
- { os: ubuntu-latest, python-version: "3.12" }
- { os: ubuntu-latest, python-version: "3.13" }
- { os: ubuntu-latest, python-version: "3.14" }
- { os: windows-latest, python-version: "3.14" }
steps:
- uses: actions/checkout@v7
- uses: astral-sh/setup-uv@v10.4.0
- run: uv sync --extra dev --python ${{ matrix.python-version }}
- run: uv run pytest --cov=paxplot --cov-report=term
21 changes: 21 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: CodeQL

on:
schedule:
- cron: "22 5 * * 1"
workflow_dispatch:

jobs:
analyze:
runs-on: ubuntu-latest
permissions:
security-events: write
packages: read
actions: read
contents: read
steps:
- uses: actions/checkout@v4
- uses: github/codeql-action/init@v3
with:
languages: python, actions
- uses: github/codeql-action/analyze@v3
24 changes: 0 additions & 24 deletions .github/workflows/development.yml

This file was deleted.

42 changes: 42 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Docs

on:
pull_request:
push:
branches: [main]

permissions:
contents: read
pages: write
id-token: write

concurrency:
group: pages
cancel-in-progress: false

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- uses: astral-sh/setup-uv@v10.4.0
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- run: uv sync --group docs
- run: uv run sphinx-build -W --keep-going -b html docs/source docs/build/html
- uses: actions/upload-pages-artifact@v3
if: github.ref == 'refs/heads/main'
with:
path: docs/build/html

deploy:
if: github.ref == 'refs/heads/main'
needs: build
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- id: deployment
uses: actions/deploy-pages@v4
36 changes: 0 additions & 36 deletions .github/workflows/publish_testing.yml

This file was deleted.

23 changes: 23 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Release

on:
push:
tags: ["v*"]

permissions:
id-token: write
contents: read

jobs:
publish:
runs-on: ubuntu-latest
environment: pypi
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- run: uv sync --extra dev
- run: uv run python -m build
- uses: pypa/gh-action-pypi-publish@release/v1
24 changes: 0 additions & 24 deletions .github/workflows/sphinx.yml

This file was deleted.

31 changes: 0 additions & 31 deletions .github/workflows/version_testing.yml

This file was deleted.

16 changes: 15 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ coverage.xml
*.py,cover
.hypothesis/
.pytest_cache/
.ruff_cache/

# Translations
*.mo
Expand All @@ -70,6 +71,9 @@ instance/

# Sphinx documentation
docs/_build/
docs/build/
docs/source/auto_examples/
docs/source/sg_execution_times.rst

# PyBuilder
target/
Expand Down Expand Up @@ -104,6 +108,10 @@ celerybeat.pid
# Environments
.env
.venv
.venv-check/
.tmp/
.uv-cache/
.uv-python/
env/
venv/
ENV/
Expand Down Expand Up @@ -135,4 +143,10 @@ dmypy.json
.vscode

# Sphinx
*generated*
*generated*

# Generated by the serialization example
examples/plot.json

# Cursor
.cursor/
16 changes: 6 additions & 10 deletions CITATION.cff
Original file line number Diff line number Diff line change
@@ -1,27 +1,23 @@
# This CITATION.cff file was generated with cffinit.
# Visit https://bit.ly/cffinit to generate yours today!

cff-version: 1.2.0
title: Paxplot
title: paxplot
message: >-
Paxplot is a Python visualization library for
parallel coordinate plots based on matplotlib.
paxplot stores serializable parallel coordinate plot definitions and renders
them with Matplotlib.
type: software
authors:
- given-names: Jacob
email: kravitsjacob@gmail.com
orcid: 'https://orcid.org/0000-0002-9170-0496'
orcid: "https://orcid.org/0000-0002-9170-0496"
family-names: Kravits
identifiers:
- type: doi
value: 10.1008/paxplot.v0.1.4-beta
repository-code: 'https://github.com/paxplot/paxplot'
repository-code: 'https://github.com/onethousandeight/paxplot'
url: 'https://docs.paxplot.org'
keywords:
- high-dimensional-data
- matplotlib
- multi-objective
- parallel-coordinates-plot
license: MIT
version: v0.1.4-beta
date-released: '2022-04-20'
version: 1.0.0
Loading
Loading