data-morph icon indicating copy to clipboard operation
data-morph copied to clipboard

feat: add x and y medians to plot

Open brunorosilva opened this issue 1 year ago • 1 comments

Fixes #181

Describe your changes

Compute the median values for x and for y using the pd.Series.median method. Added median to the get_values docstring.

Checklist

  • [x] Test cases have been modified/added to cover any code changes.
  • [x] Docstrings have been modified/created for any code changes.
  • [x] All linting and formatting checks pass (see the contributing guidelines for more information).

brunorosilva avatar Jul 13 '24 12:07 brunorosilva

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 98.82%. Comparing base (18ae0bb) to head (81f69e9). Report is 1 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #188      +/-   ##
==========================================
+ Coverage   98.80%   98.82%   +0.01%     
==========================================
  Files          84       84              
  Lines        2099     2128      +29     
  Branches      123      128       +5     
==========================================
+ Hits         2074     2103      +29     
  Misses         24       24              
  Partials        1        1              
Files with missing lines Coverage Δ
src/data_morph/__init__.py 100.00% <100.00%> (ø)
src/data_morph/cli.py 100.00% <100.00%> (ø)
src/data_morph/data/stats.py 100.00% <100.00%> (ø)
src/data_morph/morpher.py 100.00% <100.00%> (ø)
src/data_morph/plotting/static.py 100.00% <100.00%> (ø)
tests/data/test_stats.py 100.00% <100.00%> (ø)
tests/plotting/test_animation.py 100.00% <ø> (ø)
tests/plotting/test_static.py 100.00% <100.00%> (ø)
tests/test_cli.py 100.00% <ø> (ø)
:rocket: New features to boost your workflow:
  • :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

codecov[bot] avatar Jul 13 '24 12:07 codecov[bot]