python - Plotly: getting 'Alert!: HREF in BASE tag is not an absolute URL' error -
problem:
is possible install/use plotly on cygwin?
the sordid details:
i'm following getting started (initial plot display) procedure in plotly
on cygwin.
no errors reported pip install
stage, , credential file (~/.plotly/.credentials)
looks fine (i've masked characters here), viz.:
$ cat ~/.plotly/.credentials { "username": "roxxxxxak", "stream_ids": [ "suxxxxx16n", "nqfxxxxxx5", "sxxxxxxj00" ], "api_key": "2qxxxxxxxv" }
however, when enter following in interactive python:
import plotly.plotly py plotly.graph_objs import * trace0 = scatter( x=[1, 2, 3, 4], y=[10, 15, 13, 17] ) trace1 = scatter( x=[1, 2, 3, 4], y=[16, 5, 11, 9] ) data = data([trace0, trace1]) unique_url = py.plot(data, filename = 'basic-line')
plotly trying create plot in browser window, enters me lynx
- asks me authorize cookies:
plot.ly cookie: csrftok=yuckfrjig5cmhw2oq027qhmepm0 allow? (y/n/always/never)
but, instead of producing plot, error:
alert!: href in base tag not absolute url.
???
and lynx
window end in.
google is not my friend, none of results hints causing error here (see notes below).
can better google , suggest how solve 'not absolute url' error?
notes:
- on ubuntu, above procedure does end plot.
- the following urls pursued, did not produce sulutions:
edit 1:
- installed latest python (2.7.10) on cygwin: did not solve problem.
not sure if fix problem, seems despite error message if follow link shown before asked accept cookies (for me https://plot.ly/~myusername/9) still show updated version of graph creating.
Comments
Post a Comment