import pandas as pd
import plotly.graph_objects as go
from IPython.display import display
import plotly.io as pio
fig = go.Figure(data=[go.Candlestick(x=btcusd_history_df['time'],
open=btcusd_history_df['open'],
high=btcusd_history_df['high'],
low=btcusd_history_df['low'],
close=btcusd_history_df['close'])])
fig.update_layout(xaxis_rangeslider_visible=False, title = '')
fig.show()
pio.write_image(fig, 'target.jpeg') #Burda indirmeye çalıştım.