Python - Plotly filling white image

Asked

Viewed 58 times

0

The goal is to plot a Dashboard, for this I imported the following libraries

 # Importando bibliotecas

import ipywidgets as wd
import cufflinks as cf
import pandas as pd
import yfinance as yf
import chart_studio.plotly as plt
from plotly.offline import iplot
from ipywidgets import interact, interact_manual

import plotly.io as pio
pio.renderers.default='notebook'

cf.go_offline()

And I used return qf.iplot() to plot the desired graph. However, when I do:

interface = wd.HBox([main_selector_box, secondary_selector_box])
outpt = wd.interactive_output(ta_dashboard, controls_dict)
display(interface, outpt)

Only one blank image is presented to me. I have sought help on other forums, reinstalled anaconda and even then, the problem persists. Grateful!

  • Onde vc definiu main_selector_box, secondary_selector_box, ta_dashboard, controls_dict ?

  • I did not put the whole code because it would be too long, but I defined these variables in other code "Chunks" and had no error

1 answer

0


After switching to jupyter lab, I enabled the extensions and finally managed to display Dashboard!

Browser other questions tagged

You are not signed in. Login or sign up in order to post.