Skip to content

Commit

Permalink
fix: use mode=lines instead of model=line in new plotly API (#223) (
Browse files Browse the repository at this point in the history
#224)

* fix: use `mode=lines` instead of `model=line` in new plotly API

* chore: pin plotly version to >3.0.0
  • Loading branch information
phantomas1234 authored Dec 18, 2018
1 parent 159ba25 commit 3edf27c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cameo/visualization/plotting/with_plotly.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ def _make_production_envelope(self, dataframe, variable, color=None):
y.extend([lb[0], ub[0]])

scatter = go.Scatter(x=x, y=y,
mode="line",
mode="lines",
name=variable,
hoverinfo='none',
fillcolor=color,
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@

extra_requirements = {
'docs': ['Sphinx>=1.3.5', 'numpydoc>=0.5'],
'plotly': ['plotly>=1.9.6'],
'plotly': ['plotly>=3.0.0'],
'bokeh': ['bokeh<=0.12.1'],
'jupyter': ['jupyter>=1.0.0', 'ipywidgets>=4.1.1'],
'test': ['pytest', 'pytest-cov', 'pytest-benchmark'],
Expand Down

0 comments on commit 3edf27c

Please sign in to comment.