Currently, using the plotly.graph_objs package throws an error AttributeError: 'Figure' object has no attribute 'show' when trying to plot candlestick chart using the following code block.
import plotly.graph_objs as go
fig = go.Figure(data=[go.Candlestick(x=h1['open'].index,
open = h1['open'],
high = h1['high'],
low = h1['low'],
close = h1['close'])])
fig.show()
A possible solution is to upgrade plotly package to 4.0.0 version in RE as suggested on stackoverflow
Currently, using the
plotly.graph_objs
package throws an errorAttributeError: 'Figure' object has no attribute 'show'
when trying to plot candlestick chart using the following code block.A possible solution is to upgrade
plotly
package to 4.0.0 version in RE as suggested on stackoverflow