Skip to content

Commit

Permalink
chore: update code style (flake8)
Browse files Browse the repository at this point in the history
  • Loading branch information
chilango74 committed May 19, 2023
1 parent 0abc085 commit ff7d981
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions okama/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,5 @@ def __getattr__(name):
return okama.api.namespaces.get_macro_namespaces()
raise AttributeError(f"module '{__name__}' has no attribute '{name}'")


__version__ = version("okama")
3 changes: 2 additions & 1 deletion okama/frontier/single_period.py
Original file line number Diff line number Diff line change
Expand Up @@ -927,7 +927,8 @@ def plot_transition_map(self, x_axe: str = 'risk', figsize: Optional[tuple] = No
>>> x.plot_transition_map()
>>> plt.show()
Transition Map with default setting show the relation between Risk (stanrd deviation) and assets weights for optimized portfolios.
Transition Map with default setting show the relation between Risk (stanrd deviation) and assets weights for
optimized portfolios.
The same relation for CAGR can be shown setting x_axe='cagr'.
>>> x.plot_transition_map(x_axe='cagr')
Expand Down

0 comments on commit ff7d981

Please sign in to comment.