24
24
import six .moves
25
25
from requests .compat import json as _json
26
26
27
- from plotly import exceptions , tools , utils , files
27
+ from plotly import exceptions , files , session , tools , utils
28
28
from plotly .api import v1 , v2
29
29
from plotly .plotly import chunked_requests
30
- from plotly .session import (sign_in , update_session_plot_options ,
31
- get_session_plot_options )
32
30
from plotly .grid_objs import Grid , Column
33
31
34
32
# This is imported like this for backwards compat. Careful if changing.
50
48
51
49
52
50
# don't break backwards compatibility
53
- sign_in = sign_in
54
- update_plot_options = update_session_plot_options
51
+ sign_in = session . sign_in
52
+ update_plot_options = session . update_session_plot_options
55
53
56
54
57
55
def _plot_option_logic (plot_options_from_call_signature ):
@@ -66,7 +64,7 @@ def _plot_option_logic(plot_options_from_call_signature):
66
64
"""
67
65
default_plot_options = copy .deepcopy (DEFAULT_PLOT_OPTIONS )
68
66
file_options = tools .get_config_file ()
69
- session_options = get_session_plot_options ()
67
+ session_options = session . get_session_plot_options ()
70
68
plot_options_from_call_signature = copy .deepcopy (plot_options_from_call_signature )
71
69
72
70
# Validate options and fill in defaults w world_readable and sharing
0 commit comments