Skip to content

Draft pull request - #32

Open
kravitsjacob wants to merge 181 commits into
mainfrom
31-decouple-from-matplotlib
Open

kravitsjacob wants to merge 181 commits into
mainfrom
31-decouple-from-matplotlib

Conversation

@kravitsjacob

Copy link
Copy Markdown
Collaborator

No description provided.

kravitsjacob added 23 commits September 11, 2026 21:05
… including usage of `syrupy` for structured snapshots.
- Added visibility attributes for axis spine, label, tick marks, and tick labels in the RenderAxis class.
- Updated rendering logic in matplotlib.py to respect these visibility settings when rendering axes.
- Modified prepare.py to include visibility settings from the axis configuration.
- Introduced new AxisSpineStyle, TextStyle, and TickMarkStyle classes in schema.py to manage visibility settings.
- Updated tests to validate the behavior of visibility settings, ensuring they persist through state changes and are correctly rendered.
- Enhanced integration tests to cover various visibility configurations for axes and their components.
- Updated axis configuration methods to use new structure for titles, ticks, and spines.
- Enhanced data handling in tests to support numpy arrays and missing values.
- Improved validation checks for axis limits and tick configurations.
- Refactored test cases to ensure consistency with new axis and data structures.
- Added tests for color mapping, tick counts, and handling of constant/missing columns.
- Updated JSON serialization and deserialization to align with new schema versioning.
- Updated colorbar label handling to use `title` instead of `label` for consistency across tests.
- Enhanced font specifications for axis titles and tick labels, ensuring independent application of font styles.
- Added tests to verify that font properties are preserved during rendering and that invalid font models are handled correctly.
- Adjusted figure size calculations in snapshot tests to accommodate additional axis configurations.
- Ensured that hidden decorations maintain geometry and tick configurations.
- Improved handling of numeric and categorical scaling in _scaling.py, including better validation for axis limits and enhanced handling of missing values.
- Updated color resolution logic in _styles.py to streamline color mapping and normalization.
- Enhanced tick label resolution in _ticks.py to ensure proper label application and validation against tick values.
- Modified data structure in data.py to enforce non-null line properties.
- Improved matplotlib rendering in matplotlib.py to align font properties with rcParams and handle unsupported font weights with warnings.
- Enhanced state serialization in serialization.py to reject non-finite values and ensure proper JSON formatting.
- Added comprehensive tests for data preparation, tick label handling, and state validation to ensure robustness against non-finite values and mismatched configurations.
- Updated dependencies in uv.lock to conditionally include pandas for development.
…od signatures to return Self for better type hinting
@kravitsjacob kravitsjacob linked an issue Nov 27, 2026 that may be closed by this pull request
kravitsjacob added 6 commits November 27, 2026 10:02
…lotlib

# Conflicts:
#	.github/workflows/sphinx.yml
#	CITATION.cff
#	README.md
#	docs/source/conf.py
#	docs/source/release.rst
#	setup.py
#	src/paxplot/core.py
- Rewrite docs pages from reStructuredText to MyST and build an examples
  gallery from the scripts in examples/ with sphinx-gallery
- Move docs dependencies into a uv dependency-group and drop
  docs/requirements.txt
- Split GitHub Pages deploy into its own job, build with -W --keep-going,
  and pin the workflow actions
- Add tests/test_docs.py guarding API coverage, literalinclude paths,
  and gallery image sources
- Add CONTRIBUTING.md and point README contributors to it
- Rebrand as paxplot under onethousandeight/paxplot and bump version
  to 1.0.0
- Fold Advanced Usage into Getting Started and the focused examples
- Reduce the gallery to eight examples and set their order explicitly
- Add a Matplotlib callout example documenting the render coordinate system
- Align the README, API intro, and gallery header with the new structure

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Decouple from matplotlib

1 participant