Show Sidebar Hide Sidebar

Public vs Private Graphs in Pandas

How to set the privacy settings of plotly graphs in pandas.

# Learn about API authentication here: https://plot.ly/pandas/getting-started
# Find your api_key here: https://plot.ly/settings/api

import plotly.plotly as py
import plotly.graph_objs as go

data = [
    go.Scatter(
        x=[0, 2, 4],
        y=[0, 4, 2]
    )
]
plot_url = py.plot(data, filename='privacy-true', world_readable=True)
# Learn about API authentication here: https://plot.ly/pandas/getting-started
# Find your api_key here: https://plot.ly/settings/api

import plotly.plotly as py
import plotly.graph_objs as go

data = [
    go.Scatter(
        x=[0, 2, 4],
        y=[0, 4, 2]
    )
]
plot_url = py.plot(data, filename='privacy-false', world_readable=False)
Still need help?
Contact Us

For guaranteed 24 hour response turnarounds, upgrade to a Developer Support Plan.