Iplot ignores default privacy configuration


According to the documentation, the following code should create a private chart. However, the chart is created as public. Any idea what needs to be done?

import plotly
import cufflinks as cf

import plotly.tools as tls

plotly.tools.set_config_file(world_readable=False, sharing='private')

t = pd.DataFrame({"val": [1, 2, 3, 2, 1]})
t.iplot(filename = "iplot-default")


Apparently, I used the wrong statement to set the settings. THere’s a different function for the settings of cufflinks:

cf.set_config_file(offline=False, world_readable=False, sharing='private')