File tree 3 files changed +10
-3
lines changed
3 files changed +10
-3
lines changed Original file line number Diff line number Diff line change 2
2
All notable changes to this project will be documented in this file.
3
3
This project adheres to [ Semantic Versioning] ( http://semver.org/ ) .
4
4
5
+ ## [ 2.0.14] - 2017-08-09
6
+ ### Fixed
7
+ - [ Sharekey enabling issue] ( https://github.com/plotly/plotly.py/issues/719 ) where plots were made private instead of secret.
8
+ - Issue removing rug plots from violin plots with multiple traces.
9
+
5
10
## [ 2.0.13] - 2017-08-04
6
11
### Updated
7
12
- Updated ` plotly.min.js ` to version 1.29.1 for ` plotly.offline ` .
Original file line number Diff line number Diff line change 19
19
import copy
20
20
import json
21
21
import os
22
+ import time
22
23
import warnings
23
24
import webbrowser
24
25
@@ -1304,15 +1305,16 @@ def add_share_key_to_url(plot_url, attempt=0):
1304
1305
username = urlsplit .path .split ('/' )[1 ].split ('~' )[1 ]
1305
1306
idlocal = urlsplit .path .split ('/' )[2 ]
1306
1307
fid = '{}:{}' .format (username , idlocal )
1307
-
1308
1308
body = {'share_key_enabled' : True , 'world_readable' : False }
1309
1309
response = v2 .files .update (fid , body )
1310
1310
1311
1311
# Sometimes a share key is added, but access is still denied.
1312
1312
# Check that share_key_enabled is set to true and
1313
1313
# retry if this is not the case
1314
1314
# https://github.com/plotly/streambed/issues/4089
1315
- if not v2 .files .retrieve (fid ).json ()['share_key_enabled' ]:
1315
+ time .sleep (4 )
1316
+ share_key_enabled = v2 .files .retrieve (fid ).json ()['share_key_enabled' ]
1317
+ if not share_key_enabled :
1316
1318
attempt += 1
1317
1319
if attempt == 50 :
1318
1320
raise exceptions .PlotlyError (
Original file line number Diff line number Diff line change 1
- __version__ = '2.0.13 '
1
+ __version__ = '2.0.14 '
You can’t perform that action at this time.
0 commit comments