From bb00b1bd2b4088b8165fc06c8e75f944ff464d34 Mon Sep 17 00:00:00 2001 From: Tassilo Klein Date: Wed, 5 Oct 2022 08:50:53 +0200 Subject: [PATCH] fixed typos in example for Jupyter notebook (#2687) Co-authored-by: minhhoang1023 <40023817+minhhoang1023@users.noreply.github.com> Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com> --- website/content/api/_index.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/website/content/api/_index.md b/website/content/api/_index.md index 4a33c761db0..ad1a50f5607 100644 --- a/website/content/api/_index.md +++ b/website/content/api/_index.md @@ -136,10 +136,10 @@ from openbb_terminal.api import openbb # Fetches data from the api gme = openbb.stocks.load("gme") # Calculates logarithmic returns -gme["Log Returns"] = np.log(gme["Adj Close"]/gme["Adjusted Close"].shift(1)) +gme["Log Returns"] = np.log(gme["Adj Close"]/gme["Adj Close"].shift(1)) # Plots the return distributions gme["Log Returns"].hist(bins=1000) -plt.thight_layout() +plt.tight_layout() plt.show() ```