Merge pull request #1006 from freqtrade/update_plotly

Update plotly
This commit is contained in:
Janne Sinivirta 2018-07-11 07:20:33 +03:00 committed by GitHub
commit 8b72560eba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -22,4 +22,4 @@ coinmarketcap==5.0.3
scikit-optimize==0.5.2
# Required for plotting data
#plotly==2.7.0
#plotly==3.0.0

View File

@ -271,7 +271,7 @@ def generate_graph(pair, trades: pd.DataFrame, data: pd.DataFrame, args) -> tool
x=data.date,
y=data.bb_lowerband,
name='BB lower',
line={'color': "transparent"},
line={'color': 'rgba(255,255,255,0)'},
)
bb_upper = go.Scatter(
x=data.date,
@ -279,7 +279,7 @@ def generate_graph(pair, trades: pd.DataFrame, data: pd.DataFrame, args) -> tool
name='BB upper',
fill="tonexty",
fillcolor="rgba(0,176,246,0.2)",
line={'color': "transparent"},
line={'color': 'rgba(255,255,255,0)'},
)
fig.append_trace(bb_lower, 1, 1)
fig.append_trace(bb_upper, 1, 1)