stefmolin / data-morph

Morph an input dataset of 2D points into select shapes, while preserving the summary statistics to a given number of decimal points through simulated annealing. It is intended to be used as a teaching tool to illustrate the importance of data visualization.
https://stefaniemolin.com/data-morph/
MIT License
71 stars 20 forks source link

Add test for ShapeFactory plotting method used in the docs. #128

Closed stefmolin closed 1 year ago

codecov[bot] commented 1 year ago

Codecov Report

Merging #128 (f08c850) into main (3cb8c90) will increase coverage by 1.43%. The diff coverage is 100.00%.

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/stefmolin/data-morph/pull/128/graphs/tree.svg?width=650&height=150&src=pr&token=3SEEG9SZQO&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Stefanie+Molin)](https://app.codecov.io/gh/stefmolin/data-morph/pull/128?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Stefanie+Molin) ```diff @@ Coverage Diff @@ ## main #128 +/- ## ========================================== + Coverage 95.93% 97.37% +1.43% ========================================== Files 42 42 Lines 1624 1636 +12 Branches 305 311 +6 ========================================== + Hits 1558 1593 +35 + Misses 64 39 -25 - Partials 2 4 +2 ``` | [Impacted Files](https://app.codecov.io/gh/stefmolin/data-morph/pull/128?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Stefanie+Molin) | Coverage Δ | | |---|---|---| | [tests/shapes/test\_factory.py](https://app.codecov.io/gh/stefmolin/data-morph/pull/128?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Stefanie+Molin#diff-dGVzdHMvc2hhcGVzL3Rlc3RfZmFjdG9yeS5weQ==) | `100.00% <100.00%> (ø)` | | ... and [3 files with indirect coverage changes](https://app.codecov.io/gh/stefmolin/data-morph/pull/128/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Stefanie+Molin)