Skip to content

Conversation

@has2k1
Copy link
Owner

@has2k1 has2k1 commented Oct 28, 2025

closes #966

@codecov
Copy link

codecov bot commented Oct 29, 2025

Codecov Report

❌ Patch coverage is 91.71123% with 62 lines in your changes missing coverage. Please review.
✅ Project coverage is 86.75%. Comparing base (0da5f04) to head (320d52d).

Files with missing lines Patch % Lines
...ine/_mpl/layout_manager/_composition_side_space.py 89.10% 22 Missing ⚠️
plotnine/_mpl/layout_manager/_layout_tree.py 77.77% 14 Missing ⚠️
plotnine/_mpl/utils.py 89.28% 8 Missing and 1 partial ⚠️
plotnine/composition/_compose.py 93.87% 4 Missing and 2 partials ⚠️
...e/_mpl/layout_manager/_composition_layout_items.py 90.69% 2 Missing and 2 partials ⚠️
plotnine/_mpl/layout_manager/_side_space.py 92.68% 2 Missing and 1 partial ⚠️
plotnine/_mpl/layout_manager/_plot_side_space.py 97.75% 2 Missing ⚠️
plotnine/composition/_plot_annotation.py 93.33% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1002      +/-   ##
==========================================
+ Coverage   86.73%   86.75%   +0.01%     
==========================================
  Files         198      202       +4     
  Lines       13246    13596     +350     
  Branches     1653     1678      +25     
==========================================
+ Hits        11489    11795     +306     
- Misses       1208     1251      +43     
- Partials      549      550       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

This allows us to associate gridspecs more consistently, where the a
plots and compositions can both a "container" 1x1 gridspec. So that
composition items are to a composition what facets(panels) are to a
plot.
This change is in preparation for an similar function that will work for
compositions.
The plot_composition test images have changed because the compositions
now have a plot margin.
We are preparing to accurately resize compositions that have
annotations.
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.

Feature request: add plot_annotation to add Titles, subtitles and captions to composite plots

2 participants