Skip to content

Commit

Permalink
Update plotting.py
Browse files Browse the repository at this point in the history
add 'average values' to pnf return_calculated_values dict.
  • Loading branch information
DanielGoldfarb authored Apr 9, 2021
1 parent 38a16dd commit 65dfaa5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/mplfinance/plotting.py
Original file line number Diff line number Diff line change
Expand Up @@ -476,6 476,7 @@ def plot( data, **kwargs ):
retdict['pnf_dates' ] = mdates.num2date(pmove_dates)
retdict['pnf_counts' ] = pmove_counts
retdict['pnf_values' ] = pmove_values
retdict['pnf_avgvals' ] = pmove_avgvals
retdict['pnf_size' ] = pmove_size
retdict['pnf_volumes' ] = volumes if config['volume'] else None
if config['mav'] is not None:
Expand Down

0 comments on commit 65dfaa5

Please sign in to comment.