From 61996cc31bff86b0dc850c787015a3b4dcdbb4fc Mon Sep 17 00:00:00 2001 From: zafar hussain Date: Fri, 28 Oct 2022 18:40:22 +0500 Subject: [PATCH] cramer_chart removd from equity.ipynb fixes #3122 (#3132) Co-authored-by: Henrique Joaquim Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com> --- .../reports/templates/equity.ipynb | 26 +------------------ 1 file changed, 1 insertion(+), 25 deletions(-) diff --git a/openbb_terminal/reports/templates/equity.ipynb b/openbb_terminal/reports/templates/equity.ipynb index 71bd3dd486e..17cfb827bea 100644 --- a/openbb_terminal/reports/templates/equity.ipynb +++ b/openbb_terminal/reports/templates/equity.ipynb @@ -503,27 +503,6 @@ "google_regions_chart = f.getvalue().decode(\"utf-8\")" ] }, - { - "cell_type": "code", - "execution_count": null, - "id": "4043b492", - "metadata": {}, - "outputs": [], - "source": [ - "fig, ax = plt.subplots(figsize=(11, 3), dpi=150)\n", - "openbb.stocks.ba.cramer_ticker(\n", - " symbol,\n", - " external_axes=[\n", - " ax,\n", - " ],\n", - " chart=True,\n", - ")\n", - "fig.tight_layout()\n", - "f = io.BytesIO()\n", - "fig.savefig(f, format=\"svg\")\n", - "cramer_chart = f.getvalue().decode(\"utf-8\")" - ] - }, { "cell_type": "code", "execution_count": null, @@ -1530,9 +1509,6 @@ "except:\n", " pass\n", "htmlcode += widgets.row(\n", - " [widgets.h(3, f\"Lord Cramer's recommendation for {symbol}\") + cramer_chart]\n", - ")\n", - "htmlcode += widgets.row(\n", " [widgets.h(3, f\"Stocktwits sentiment for {symbol}\") + stocktwits_sentiment]\n", ")\n", "body += widgets.add_tab(\"Behavioural Analysis\", htmlcode)\n", @@ -1580,7 +1556,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.9.13" + "version": "3.9.10" }, "vscode": { "interpreter": {