Hi there,
very simple question. How can I manually specify the path for my plot with plotly python API (offline)?
If I use this way of plotting no problem:
from plotly.offline import plot
from plotly.graph_objs import Scatter, Box
plot([Scatter(x=[1, 2, 3], y=[3, 1, 6])], filename='/your/file/path')
but how can I perform the same results with this kind of scripts?
plotly.offline.plot({
"data": [
Scatter(x=[1, 2, 3], y=[3, 1, 6])
],
"layout": Layout(
showlegend=True
)
})
Thanks to all!