plotly / plotly.py

The interactive graphing library for Python :sparkles: This project now includes Plotly Express!
https://plotly.com/python/
MIT License
16.23k stars 2.55k forks source link

Candlestick chart fails to render on Google Colab #3309

Closed miohtama closed 4 months ago

miohtama commented 3 years ago

I am rendering Plotly Candlestick charts

My rendering code


import plotly.graph_objects as go
from plotly.offline import iplot

fig = go.Figure(data=[go.Candlestick(x=october['timestamp'],
                open=october['open'],
                high=october['high'],
                low=october['low'],
                close=october['close'])])
# Tried both methods
# fig.show()
iplot(fig)

Rendered locally:

image

Rendered on Google Colab:

image

The notebook source: https://github.com/miohtama/capitalgram-onchain-dex-quant-data/blob/master/docs/source/examples/plotting.ipynb

The Google Colab link: https://colab.research.google.com/github/miohtama/capitalgram-onchain-dex-quant-data/blob/master/docs/source/examples/plotting.ipynb

My questions are

gvwilson commented 4 months ago

Hi - we are trying to tidy up the stale issues and PRs in Plotly's public repositories so that we can focus on things that are still important to our community. Since this one has been sitting for several years, I'm going to close it; if it is still a concern, please add a comment letting us know what recent version of our software you've checked it with so that I can reopen it and add it to our backlog. Thanks for your help - @gvwilson