Fix plotpane notice

PlotlyJS actually plots to the plot pane, so the text was misleading.
This commit is contained in:
Christopher Rackauckas 2017-05-11 00:31:30 -07:00 committed by GitHub
parent 4d84ab155a
commit ee15b2c166

View File

@ -318,7 +318,7 @@ function setup_atom()
# special handling for plotly... use PlotsDisplay
function Media.render(pane::Atom.PlotPane, plt::Plot{PlotlyBackend})
display(Plots.PlotsDisplay(), plt)
s = "PlotPane turned off. The plotly and plotlyjs backends cannot render in the PlotPane due to javascript issues."
s = "PlotPane turned off. The plotly backend cannot render in the PlotPane due to javascript issues. Plotlyjs is similar to plotly and is compatible with the plot pane."
Media.render(pane, Atom.div(Atom.HTML(s)))
end
end