Quantcast
Channel: Recent Questions - Stack Overflow
Viewing all articles
Browse latest Browse all 12111

incorrect plotly graph object output error

$
0
0

I am not sure how to address this. i tried searching but not did not find much help.

here is my code. I first ran this code with csv file and i was getting the same error. Then i tried with the following data and once again the same error.

import plotly.graph_objects as goohlc1 = go.Ohlc(x=['2000-01-01', '2000-01-02', '2000-01-03', '2000-010-04'],            open=[101,111,121,131],            high=[102,112,122.132],            low=[103,113,123,133],            close=[104,114,124,134],            name='OHLC')layout = go.Layout(title='BTC-USD OHLC Data with Monowaves',xaxis=dict(title='Date', rangeslider=dict(visible=False)),yaxis=dict(title='Price (USD)'))ohlc1 = go.Ohlc(x=['2000-01-01', '2000-01-02', '2000-01-03', '2000-010-04'],            open=[101,111,121,131],            high=[102,112,122.132],            low=[103,113,123,133],            close=[104,114,124,134],            name='OHLC')fig1 = go.Figure(data=ohlc1, layout=layout)fig1.show()

upon running this code, i get the following screen.

Browser Output Screenshot

appreciate any help.Thank you !!


Viewing all articles
Browse latest Browse all 12111

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>