Skip to content

Commit 238a044

Browse files
committed
chore: add TODO for plot_pair_ef
1 parent dcd2244 commit 238a044

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

okama/frontier/single_period.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -915,12 +915,6 @@ def plot_transition_map(self, x_axe: str = "risk", figsize: Optional[tuple] = No
915915
916916
Parameters
917917
----------
918-
bounds : tuple of ((float, float),...)
919-
Bounds for the assets weights. Each asset can have weights limitation from 0 to 1.0.
920-
If an asset has limitation for 10 to 20%, bounds are defined as (0.1, 0.2).
921-
bounds = ((0, .5), (0, 1)) shows that in Portfolio with two assets first one has weight limitations
922-
from 0 to 50%. The second asset has no limitations.
923-
924918
x_axe : {'risk', 'cagr'}, default 'risk'
925919
Show the relation between weights and CAGR (if 'cagr') or between weights and Risk (if 'risk').
926920
CAGR or Risk are displayed on the x-axis.
@@ -1020,6 +1014,7 @@ def plot_pair_ef(self, tickers="tickers", figsize: Optional[tuple] = None) -> pl
10201014
>>> ax.plot(df4['Risk'], df4['Mean return'], color = 'black', linestyle='--')
10211015
>>> plt.show()
10221016
"""
1017+
# TODO: Add bounds
10231018
if len(self.symbols) < 3:
10241019
raise ValueError("The number of symbols cannot be less than 3")
10251020
# self._verify_axes()

0 commit comments

Comments
 (0)