From 096073eb667f5be5f55cddf0c66ed1c69a111b91 Mon Sep 17 00:00:00 2001 From: Chris P Date: Wed, 10 Dec 2014 20:37:12 -0800 Subject: [PATCH 1/2] Use web_url in response instead of plotly_domain in session\nplotly_domain is not necessarily the same as `plotly_api_domain`, so parsing grid_id into plotly_domain could give the wrong URL --- plotly/plotly/plotly.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/plotly/plotly/plotly.py b/plotly/plotly/plotly.py index c37a5bab5d0..46e40017479 100644 --- a/plotly/plotly/plotly.py +++ b/plotly/plotly/plotly.py @@ -840,15 +840,13 @@ def upload(cls, grid, filename, response_columns = res['file']['cols'] grid_id = res['file']['fid'] + grid_url = res['file']['web_url'] # mutate the grid columns with the id's returned from the server cls._fill_in_response_column_ids(grid, response_columns, grid_id) grid.id = grid_id - plotly_domain = get_config()['plotly_domain'] - grid_url = '{0}/~{1}'.format(plotly_domain, grid_id.replace(':', '/')) - if meta is not None: meta_ops.upload(meta, grid=grid) From a64b172cbe61e0e0e253e173ead5e6d6aaa023d9 Mon Sep 17 00:00:00 2001 From: Chris P Date: Wed, 10 Dec 2014 20:37:50 -0800 Subject: [PATCH 2/2] bump version --- plotly/version.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plotly/version.py b/plotly/version.py index fedbd844037..0e0c880451e 100644 --- a/plotly/version.py +++ b/plotly/version.py @@ -1 +1 @@ -__version__ = '1.4.8' +__version__ = '1.4.9'