Skip to content
This repository was archived by the owner on Aug 29, 2025. It is now read-only.
This repository was archived by the owner on Aug 29, 2025. It is now read-only.

Running separately from your cloud service #37

@dmitriy-serdyuk

Description

@dmitriy-serdyuk

Is it possible to run the dashboard separately from the plot.ly site?

I tried to run the server as explained in the documentation, then I took one of the examples from here and got the following error:

In [6]: graph_url1 = py.plot({
    'data': [{'x': [1, 2, 3], 'y': [3, 1, 5]}],
    'layout': {
        'title': 'earnings',
        # graphs embedded in dashboards look best if the margins are tightened up
        'margin': {'l': 30, 'r': 30, 'b': 30, 't': 60}
    }
}, filename='dashboard/earnings',
sharing='secret')
---------------------------------------------------------------------------
PlotlyError                               Traceback (most recent call last)
<ipython-input-6-b046deafadb8> in <module>()
      7     }
      8 }, filename='dashboard/earnings',
----> 9 sharing='secret')

/Users/dima/miniconda2/lib/python3.5/site-packages/plotly/plotly/plotly.py in plot(figure_or_data, validate, **plot_options)
    234
    235     plot_options = _plot_option_logic(plot_options)
--> 236     res = _send_to_plotly(figure, **plot_options)
    237     if res['error'] == '':
    238         if plot_options['auto_open']:

/Users/dima/miniconda2/lib/python3.5/site-packages/plotly/plotly/plotly.py in _send_to_plotly(figure, **plot_options)
   1385
   1386     if 'error' in r and r['error'] != '':
-> 1387         raise exceptions.PlotlyError(r['error'])
   1388
   1389     # Check if the url needs a secret key

PlotlyError: Error: One or more folders cannot be saved. You have reached the limit of the number of folders you can create with your subscription. If you would like to create more folders, please upgrade your account at https://plot.ly/settings/subscription.

How do I tell the library that I'd like to use my own server?

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions