Modify axes range using plotly
A solution that works with subplots is:
fig.update_yaxes(range=[0, 0.4], row=1, col=1)
import plotly.graph_objs as go
layout = go.Layout(
yaxis=dict(
range=[0, 0.4]
)
)
Dataframe.iplot(kind='bubble', x='branch', y='retention', size='active_users', text='active_users',
xTitle='', yTitle='Retention',
filename='cufflinks/PlotName', layout = layout)
This will do the trick.