awacke1 commited on
Commit
e01b70f
·
1 Parent(s): ff213d0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +211 -0
app.py CHANGED
@@ -68,4 +68,215 @@ digraph G {bgcolor="#0000FF44:#FF000044" gradientangle=90
68
  style=radial,
69
  gradientangle=90];
70
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
71
  ''')
 
68
  style=radial,
69
  gradientangle=90];
70
  }
71
+ ''')
72
+
73
+ st.graphviz_chart('''
74
+ graph Color_wheel {
75
+ graph [
76
+ layout = neato
77
+ label = "Color wheel, 33 colors.\nNeato layout"
78
+ labelloc = b
79
+ fontname = "Helvetica,Arial,sans-serif"
80
+ start = regular
81
+ normalize = 0
82
+ ]
83
+ node [
84
+ shape = circle
85
+ style = filled
86
+ color = "#00000088"
87
+ fontname = "Helvetica,Arial,sans-serif"
88
+ ]
89
+ edge [
90
+ len = 2.7
91
+ color = "#00000088"
92
+ fontname = "Helvetica,Arial,sans-serif"
93
+ ]
94
+ subgraph Dark {
95
+ node [fontcolor = white width = 1.4]
96
+ center [width = 1 style = invis shape = point]
97
+ center -- darkred [label = "0°/360°"]
98
+ darkred [fillcolor = darkred]
99
+ brown [fillcolor = brown]
100
+ brown -- center [label = "30°"]
101
+ olive [fillcolor = olive]
102
+ olive -- center [label = "60°"]
103
+ darkolivegreen [fillcolor = darkolivegreen fontsize = 10]
104
+ darkolivegreen -- center [label = "90°"]
105
+ darkgreen [fillcolor = darkgreen]
106
+ darkgreen -- center [label = "120°"]
107
+ "dark hue 0.416" [color = ".416 1 .6" fontcolor = white]
108
+ "dark hue 0.416" -- center [label = "150°"]
109
+ darkcyan [fillcolor = darkcyan]
110
+ darkcyan -- center [label = "180°"]
111
+ "dark hue 0.583" [color = ".583 1 .6" fontcolor = white]
112
+ "dark hue 0.583" -- center [label = "210°"]
113
+ darkblue [fillcolor = darkblue]
114
+ darkblue -- center [label = "240°"]
115
+ "dark hue 0.750" [color = ".750 1 .6"]
116
+ "dark hue 0.750" -- center [label = "270°"]
117
+ darkmagenta [fillcolor = darkmagenta]
118
+ darkmagenta -- center [label = "300°"]
119
+ "dark hue 0.916" [color = ".916 1 .6"]
120
+ "dark hue 0.916" -- center [label = "330°"]
121
+ }
122
+ subgraph Tue {
123
+ node [width = 1.3]
124
+ "hue 0.083" -- brown
125
+ "hue 0.083" [color = ".083 1 1"]
126
+ "hue 0.125" [color = ".125 1 1"]
127
+ "hue 0.166" -- olive
128
+ "hue 0.166" [color = ".166 1 1"]
129
+ "hue 0.208" [color = ".208 1 1"]
130
+ "hue 0.250" -- darkolivegreen
131
+ "hue 0.250" [color = ".250 1 1"]
132
+ "hue 0.291" [color = ".291 1 1"]
133
+ "hue 0.333" -- darkgreen
134
+ "hue 0.333" [color = ".333 1 1"]
135
+ "hue 0.375" [color = ".375 1 1"]
136
+ "hue 0.416" -- "dark hue 0.416"
137
+ "hue 0.416" [color = ".416 1 1"]
138
+ "hue 0.458" [color = ".458 1 1"]
139
+ "hue 0.500" -- darkcyan
140
+ "hue 0.500" [color = ".500 1 1"]
141
+ "hue 0.541" [color = ".541 1 1"]
142
+ node [fontcolor = white]
143
+ "hue 0.000" [color = ".000 1 1"]
144
+ "hue 0.000" -- darkred
145
+ "hue 0.041" [color = ".041 1 1"]
146
+ "hue 0.583" -- "dark hue 0.583"
147
+ "hue 0.583" [color = ".583 1 1"]
148
+ "hue 0.625" [color = ".625 1 1"]
149
+ "hue 0.666" -- darkblue
150
+ "hue 0.666" [color = ".666 1 1"]
151
+ "hue 0.708" [color = ".708 1 1"]
152
+ "hue 0.750" -- "dark hue 0.750"
153
+ "hue 0.750" [color = ".750 1 1"]
154
+ "hue 0.791" [color = ".791 1 1"]
155
+ "hue 0.833" -- darkmagenta
156
+ "hue 0.833" [color = ".833 1 1"]
157
+ "hue 0.875" [color = ".875 1 1"]
158
+ "hue 0.916" -- "dark hue 0.916"
159
+ "hue 0.916" [color = ".916 1 1"]
160
+ "hue 0.958" [color = ".958 1 1"]
161
+ edge [len = 1]
162
+ "hue 0.000" -- "hue 0.041" -- "hue 0.083" -- "hue 0.125" -- "hue 0.166" -- "hue 0.208"
163
+ "hue 0.208" -- "hue 0.250" -- "hue 0.291" -- "hue 0.333" -- "hue 0.375" -- "hue 0.416"
164
+ "hue 0.416" -- "hue 0.458" -- "hue 0.500" --"hue 0.541" -- "hue 0.583" -- "hue 0.625"
165
+ "hue 0.625" -- "hue 0.666" -- "hue 0.708" -- "hue 0.750" -- "hue 0.791" -- "hue 0.833"
166
+ "hue 0.833" -- "hue 0.875" -- "hue 0.916" -- "hue 0.958" -- "hue 0.000"
167
+ }
168
+ subgraph Main_colors {
169
+ node [width = 2 fontsize = 20]
170
+ red [fillcolor = red fontcolor = white]
171
+ orangered [fillcolor = orangered]
172
+ orange [fillcolor = orange]
173
+ gold [fillcolor = gold]
174
+ yellow [fillcolor = yellow]
175
+ yellowgreen [fillcolor = yellowgreen]
176
+ deeppink [fillcolor = deeppink fontcolor = white]
177
+ fuchsia [label = "fuchsia\nmagenta" fillcolor = fuchsia fontcolor = white]
178
+ purple [fillcolor = purple fontcolor = white]
179
+ blue [fillcolor = blue fontcolor = white]
180
+ cornflowerblue [fillcolor = cornflowerblue]
181
+ deepskyblue [fillcolor = deepskyblue]
182
+ aqua [fillcolor = aqua label = "aqua\ncyan"]
183
+ springgreen [fillcolor = springgreen]
184
+ green [fillcolor = green]
185
+ purple -- fuchsia -- deeppink -- red
186
+ cornflowerblue -- blue -- purple
187
+ cornflowerblue -- deepskyblue -- aqua [len = 1.7]
188
+ aqua -- springgreen -- green -- yellowgreen -- yellow
189
+ yellow -- gold -- orange -- orangered -- red [len = 1.6]
190
+ orange -- "hue 0.083"
191
+ deeppink -- "hue 0.916"
192
+ deeppink -- "hue 0.875"
193
+ red -- "hue 0.000"
194
+ yellowgreen -- "hue 0.250"
195
+ blue -- "hue 0.666"
196
+ yellow -- "hue 0.166"
197
+ gold -- "hue 0.125"
198
+ green -- "hue 0.333"
199
+ springgreen -- "hue 0.416"
200
+ aqua -- "hue 0.500"
201
+ cornflowerblue -- "hue 0.583"
202
+ deepskyblue -- "hue 0.541"
203
+ purple -- "hue 0.791"
204
+ purple -- "hue 0.750"
205
+ fuchsia -- "hue 0.833"
206
+ }
207
+ subgraph Light_colors {
208
+ node [width = 2 fontsize = 20]
209
+ node [shape = circle width = 1.8]
210
+ edge [len = 2.1]
211
+ pink [fillcolor = pink]
212
+ pink -- red
213
+ lightyellow [fillcolor = lightyellow]
214
+ lightyellow -- yellow
215
+ mediumpurple [fillcolor = mediumpurple]
216
+ mediumpurple -- purple
217
+ violet [fillcolor = violet]
218
+ violet -- fuchsia
219
+ hotpink [fillcolor = hotpink]
220
+ hotpink -- deeppink
221
+ "light hue 0.250" [color = ".250 .2 1"]
222
+ "light hue 0.250" -- yellowgreen
223
+ lightcyan [fillcolor = lightcyan]
224
+ lightcyan -- aqua
225
+ lightslateblue [fillcolor = lightslateblue]
226
+ lightslateblue -- blue
227
+ lightgreen [fillcolor = lightgreen]
228
+ lightgreen -- green
229
+ lightskyblue [fillcolor = lightskyblue]
230
+ lightskyblue -- deepskyblue
231
+ peachpuff [fillcolor = peachpuff]
232
+ peachpuff -- orange
233
+ "light hue 0.416" [color = ".416 .2 1"]
234
+ "light hue 0.416" -- springgreen
235
+ }
236
+ subgraph Tints {
237
+ node [width = 1]
238
+ edge [len = 2.4]
239
+ "hue 0 tint" -- pink
240
+ "hue 0 tint" [color = "0 .1 1"]
241
+ "hue 0.041 tint" [color = ".041 .1 1"]
242
+ "hue 0.083 tint" -- peachpuff
243
+ "hue 0.083 tint" [color = ".083 .1 1"]
244
+ "hue 0.125 tint" [color = ".125 .1 1"]
245
+ "hue 0.166 tint" -- lightyellow
246
+ "hue 0.166 tint" [color = ".166 .1 1"]
247
+ "hue 0.208 tint" [color = ".208 .1 1"]
248
+ "hue 0.250 tint" -- "light hue 0.250"
249
+ "hue 0.250 tint" [color = ".250 .1 1"]
250
+ "hue 0.291 tint" [color = ".291 .1 1"]
251
+ "hue 0.333 tint" -- lightgreen
252
+ "hue 0.333 tint" [color = ".333 .1 1"]
253
+ "hue 0.375 tint" [color = ".375 .1 1"]
254
+ "hue 0.416 tint" -- "light hue 0.416"
255
+ "hue 0.416 tint" [color = ".416 .1 1"]
256
+ "hue 0.458 tint" [color = ".458 .1 1"]
257
+ "hue 0.5 tint" -- lightcyan
258
+ "hue 0.5 tint" [color = ".5 .1 1"]
259
+ "hue 0.541 tint" -- lightskyblue
260
+ "hue 0.541 tint" [color = ".541 .1 1"]
261
+ "hue 0.583 tint" [color = ".583 .1 1"]
262
+ "hue 0.625 tint" [color = ".625 .1 1"]
263
+ "hue 0.666 tint" -- lightslateblue
264
+ "hue 0.666 tint" [color = ".666 .1 1"]
265
+ "hue 0.708 tint" [color = ".708 .1 1"]
266
+ "hue 0.750 tint" -- mediumpurple
267
+ "hue 0.750 tint" [color = ".750 .1 1"]
268
+ "hue 0.791 tint" [color = ".791 .1 1"]
269
+ "hue 0.833 tint" -- violet
270
+ "hue 0.833 tint" [color = ".833 .1 1"]
271
+ "hue 0.875 tint" [color = ".875 .1 1"]
272
+ "hue 0.916 tint" -- hotpink
273
+ "hue 0.916 tint" [color = ".916 .1 1"]
274
+ "hue 0.958 tint" [color = ".958 .1 1"]
275
+ edge [len = 2]
276
+ "hue 0 tint" -- "hue 0.041 tint" -- "hue 0.083 tint" -- "hue 0.125 tint" -- "hue 0.166 tint" -- "hue 0.208 tint"
277
+ "hue 0.208 tint" -- "hue 0.250 tint" -- "hue 0.291 tint" -- "hue 0.333 tint" -- "hue 0.375 tint" -- "hue 0.416 tint"
278
+ "hue 0.416 tint" -- "hue 0.458 tint" -- "hue 0.5 tint" --"hue 0.541 tint" -- "hue 0.583 tint" -- "hue 0.625 tint"
279
+ "hue 0.625 tint" -- "hue 0.666 tint" -- "hue 0.708 tint" -- "hue 0.750 tint" -- "hue 0.791 tint" -- "hue 0.833 tint"
280
+ "hue 0.833 tint" -- "hue 0.875 tint" -- "hue 0.916 tint" -- "hue 0.958 tint" -- "hue 0 tint"
281
+ }
282
  ''')