Skip to content

Commit

Permalink
Merge pull request #70 from epispot/patch-66
Browse files Browse the repository at this point in the history
Fix #66
  • Loading branch information
quantum9Innovation committed Jun 19, 2021
2 parents 93869ad + 36cca46 commit dfa4d6a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,10 @@ before_install:
install:
- pip install numpy
- pip install matplotlib
- pip install SciencePlots
- sudo apt-get install dvipng texlive-latex-extra texlive-fonts-recommended cm-super # install LaTeX requirements for Travis CI
- pip install pandas
- pip install plotly
- pip install SciencePlots
- pip install pytest
- pip install coverage
- pip install codecov
Expand Down
3 changes: 2 additions & 1 deletion epispot/plots/native.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ def stacked(Model, time_frame, title='Compartment Populations over Time',
if log:
plt.yscale('log')
plt.title(title)
plt.legend(loc='upper left', facecolor='white')
plt.legend(loc="lower center", bbox_to_anchor=(0.5, -0.2), borderaxespad=0, ncol=2)
plt.tight_layout()

return plt

0 comments on commit dfa4d6a

Please sign in to comment.