File size: 950 Bytes
5f59ba1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
"""
Specific parameters and values to customize the look of the app

The possible color maps are
    ['Pastel1', 'Pastel2', 'Paired', 'Accent', 'Dark2', 'Set1', 'Set2', 'Set3', 'tab10', 'tab20', 'tab20b','tab20c']

"""

# Initial value
redraw_auto = True

# Turtle parameters
step = 10.0

# Number of the maximum of colors and color map
color_length = 3
color_map = "Set1"

# Other
renderer = 'plotly'  # 'matplot' or 'bokeh' or 'plotly'
return_type = 'figure'  # 'figure' or 'image'
if (renderer, return_type) not in [('matplot', 'image'), ('matplot', 'figure'),
                                   ('plotly', 'image'), ('plotly', 'figure'),
                                   ('bokeh', 'image')]:
    raise NotImplementedError("The current combination of renderer and return_type is not implemented")

save_files = False
verbose = False    # Set to true to see more logs
show_more = False  # Set to true to see more details "locally"
show_3d = True