Parallel coordinates with Plotly offline on Python?

Hi to all,

Anyone has information (solution) to generate a parallel coordinates with Plotly offline on Python ?
The online version works OK.

Many thanks,
VGA

I think you just need to update your Python version. It probably doesnโ€™t have the latest plotly.js download.

Already done but with no effect.

@vga have you updated to 2.0.6? Thatโ€™s the version with the latest plotly.js download for offline.

Yes.

the following code is used:

from plotly.offline import plot #python package for semi interactive plots and HTML format
from plotly import tools #python package for semi interactive plots and HTML format
import plotly.graph_objs as go #python package for semi interactive plots and HTML format

data = [
go.Parcoords(
line = dict(color = โ€˜blueโ€™),
dimensions = list([
dict(range = [1,5],
constraintrange = [1,2],
label = โ€˜Aโ€™, values = [1,4]),
dict(range = [1.5,5],
tickvals = [1.5,3,4.5],
label = โ€˜Bโ€™, values = [3,1.5]),
dict(range = [1,5],
tickvals = [1,2,4,5],
label = โ€˜Cโ€™, values = [2,4],
ticktext = [โ€˜text 1โ€™, โ€˜text 2โ€™, โ€˜text 3โ€™, โ€˜text 4โ€™]),
dict(range = [1,5],
label = โ€˜Dโ€™, values = [4,2])
])
)
]

plot(data, filename=โ€˜my-graph.htmlโ€™, image=โ€˜pngโ€™);

Sorry @vga, itโ€™s version 2.0.7 (not 2.0.6) that youโ€™ll need: https://github.com/plotly/plotly.py/blob/master/CHANGELOG.md#207---2017-04-07

Excellent. It works now
Many thanks.