I'm trying to figure out how to control the layout of plotly generated graphs using cufflinks. For example: This code will generate a graph with the yaxis lables on the left side. How can I move the Y axis labels to the other side of the graph?
import pandas as pd
import cufflinks as cf
cf.go_offline()
from plotly.offline import download_plotlyjs, plot,iplot
df.iplot(kind='scatter',mode='lines+markers',x='Time',title='Events over Time',
y='Events',margin={'l':450})
I searched on the web for a while, so here I am :).
Plotly APIs are here: https://plot.ly/python/reference/#layout-yaxis-side
I'm having trouble figuring out how to apply this one though:
side ( enumerated : "top" | "bottom" | "left" | "right" )
Determines whether a x (y) axis is positioned at the "bottom" ("left") or "top" ("right") of the plotting area.