Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug fixes for tear sheet plots #687

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

HidenobuTokuda
Copy link

Bug fix 1 (tears.py)

In create_full_tear_sheet function, turnover_denom was not passed to create_txn_tear_sheet function (so this fix added it).

Without this fix, plotting.plot_turnover and plotting.plot_daily_turnover_hist use the default value of 'AGB' when they are called from create_full_tear_sheet (via create_txn_tear_sheet).

Bug fix 2 (plotting.py)

Deleted ax.set_ylim((0, 2)) from plot_turnover function, because daily turnover can be over 2.

Added "turnover_denom" param when calling "create_txn_tear_sheet" from "create_full_tear_sheet"
Deleted "ax.set_ylim((0, 2))" from plot_turnover because daily turnover can be over 2.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant