cramer_chart removd from equity.ipynb fixes #3122 (#3132)

Co-authored-by: Henrique Joaquim <h.joaquim@campus.fct.unl.pt>
Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com>
This commit is contained in:
zafar hussain
2022-10-28 18:40:22 +05:00
committed by GitHub
parent eaa0a96f7e
commit 61996cc31b

View File

@@ -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": {