feat(plotting): percentage point primitive and centralized theme defaults#89
Open
acere wants to merge 2 commits into
Open
feat(plotting): percentage point primitive and centralized theme defaults#89acere wants to merge 2 commits into
acere wants to merge 2 commits into
Conversation
…efaults Add a standard visualization for percentage metrics (fractions of a total) rendered as a point on a [0%, 100%] line with a colored fill segment. Changes: - Add llmeter/plotting/defaults.py: centralize DEFAULT_TEMPLATE and get_colorway() so all charts share consistent theme and color management - Add llmeter/plotting/percentage.py: percentage_point() and percentage_points() functions for visualizing rate metrics - Migrate all hardcoded "plotly_white" in plotting.py to DEFAULT_TEMPLATE - Add user guide page (docs/user_guide/plotting.md) covering theme management and the percentage primitive with usage examples - Add API reference pages for the new modules - Update mkdocs.yml navigation
athewsey
force-pushed
the
feat/plotting-percentage-primitive
branch
from
June 24, 2026 09:31
595f09b to
3f59d34
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #88
Summary
llmeter.plotting.defaultswithDEFAULT_TEMPLATEandget_colorway(). All existing plotting functions now reference these instead of hardcoding"plotly_white". Users can switch the global theme in one place.What was tested
zensical build --cleanNew public API