问题
I have used cufflinks to plot a few subplots, their scale ranges are different. I want same scales so I can compare the subplots. Is there a way to customize the axes of each subplot in cufflinks?
This link shows the picture of the subplots, the subplots of row 1, column1 and column2 have different ranges on the y axes. Is there a way to change the range of graph DRV.FV to -5 to 10?
MCVE:
df=cf.datagen.lines(4)
df.iplot(subplots=True, subplot_titles=True, legend=False)
I have taken this from the official plotly website.
Don't be alarmed if you run this and get a different sub plot because every time the data generated is random. So the plot will be different. The question here is just how to obtain same scale ranges on the sub plots.
来源:https://stackoverflow.com/questions/60700125/is-there-a-way-to-normalize-the-scales-of-axes-in-subplots-in-cufflinks-library