Skip to content

Commit

Permalink
BUG sector_mappings was not passed from full_tear_sheet to position_t…
Browse files Browse the repository at this point in the history
…ear_sheet.
  • Loading branch information
twiecki committed Oct 29, 2015
1 parent 376b74c commit 894b753
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pyfolio/tears.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,8 @@ def create_full_tear_sheet(returns, positions=None, transactions=None,
live_start_date=live_start_date,
cone_std=cone_std,
benchmark_rets=benchmark_rets,
set_context=set_context
set_context=set_context,
sector_mappings=sector_mappings
)

create_interesting_times_tear_sheet(returns,
Expand Down Expand Up @@ -366,7 +367,7 @@ def create_position_tear_sheet(returns, positions, gross_lev=None,
If True, returns the figure that was plotted on.
set_context : boolean, optional
If True, set default plotting style context.
sector_mapping: dict or pd.Series, optional
sector_mappings : dict or pd.Series, optional
Security identifier to sector mapping.
Security ids as keys, sectors as values.
"""
Expand Down

0 comments on commit 894b753

Please sign in to comment.