mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-10-29 05:21:48 +00:00
fix rm command (#4890)
Co-authored-by: Henrique Joaquim <h.joaquim@campus.fct.unl.pt>
This commit is contained in:
committed by
James Maslek
parent
7cba702226
commit
839638bf05
@@ -340,7 +340,6 @@ def display_roadmap(
|
||||
)
|
||||
|
||||
df_copy = df_copy[df_copy["Date"].notnull()]
|
||||
titles = list(df_copy[df_copy["Date"] > df_prices.index[0]]["Title"])
|
||||
|
||||
max_price = df_prices["Close"].max()
|
||||
for counter, x in enumerate(roadmap_dates):
|
||||
@@ -348,7 +347,7 @@ def display_roadmap(
|
||||
fig.add_annotation(
|
||||
x=x,
|
||||
y=max_price * 0.7,
|
||||
text=titles[counter],
|
||||
text=df.iloc[counter]["Title"],
|
||||
textangle=90,
|
||||
font=dict(size=15),
|
||||
xshift=10,
|
||||
|
||||
@@ -307,7 +307,7 @@ def print_rich_table(
|
||||
try:
|
||||
if not isinstance(df[col].iloc[0], pd.Timestamp):
|
||||
df[col] = pd.to_numeric(df[col])
|
||||
except ValueError:
|
||||
except (ValueError, TypeError):
|
||||
pass
|
||||
|
||||
def _get_headers(_headers: Union[List[str], pd.Index]) -> List[str]:
|
||||
|
||||
Reference in New Issue
Block a user