PEtab-dev / libpetab-python

Python package for working with PEtab files
https://libpetab-python.readthedocs.io
MIT License
14 stars 6 forks source link

Make validate_visualization_df work without matplotlib installation #215

Closed dweindl closed 1 year ago

dweindl commented 1 year ago

Only import plotting functions in petab.visualize if matplotlib is installed.

Closes #212

codecov-commenter commented 1 year ago

Codecov Report

Merging #215 (597464e) into develop (25ee7aa) will decrease coverage by 0.01%. The diff coverage is 85.71%.

@@             Coverage Diff             @@
##           develop     #215      +/-   ##
===========================================
- Coverage    76.32%   76.32%   -0.01%     
===========================================
  Files           34       34              
  Lines         3168     3172       +4     
  Branches       768      769       +1     
===========================================
+ Hits          2418     2421       +3     
  Misses         552      552              
- Partials       198      199       +1     
Impacted Files Coverage Δ
petab/visualize/__init__.py 88.88% <85.71%> (-11.12%) :arrow_down: