PEtab-dev / libpetab-python

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

Customizable figure size #222

Closed dweindl closed 11 months ago

dweindl commented 11 months ago

Currently, there is no easy way to change figure sizes when using high-level visualization functions such as plot_problem. Generally, I'd prefer controlling plotting through matplotlib's rcParams, but this change provides at least some backwards-compatible means of changing figure sizes at a higher level by, e.g. petab.visualize.plotting.DEFAULT_FIGSIZE = (8, 4).

codecov-commenter commented 11 months ago

Codecov Report

Merging #222 (d4b5582) into develop (1aafa36) will increase coverage by 0.00%. The diff coverage is 100.00%.

@@           Coverage Diff            @@
##           develop     #222   +/-   ##
========================================
  Coverage    76.32%   76.33%           
========================================
  Files           34       34           
  Lines         3172     3173    +1     
  Branches       769      769           
========================================
+ Hits          2421     2422    +1     
  Misses         552      552           
  Partials       199      199           
Files Changed Coverage Δ
petab/visualize/plotting.py 86.91% <100.00%> (+0.04%) :arrow_up: