From ff7d981c617b9e26b3084c8bc84b38781d583de1 Mon Sep 17 00:00:00 2001 From: Sergey Kikevich Date: Fri, 19 May 2023 18:04:28 +0300 Subject: [PATCH] chore: update code style (flake8) --- okama/__init__.py | 1 + okama/frontier/single_period.py | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/okama/__init__.py b/okama/__init__.py index 36a73aa..d04c121 100644 --- a/okama/__init__.py +++ b/okama/__init__.py @@ -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") diff --git a/okama/frontier/single_period.py b/okama/frontier/single_period.py index 110ddfa..8442e0f 100644 --- a/okama/frontier/single_period.py +++ b/okama/frontier/single_period.py @@ -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')