@@ -295,16 +295,13 @@ def Main():
295
295
296
296
for line in yList :
297
297
splitter = line .strip ('(' )
298
-
299
298
splitter = splitter .strip (')' )
300
299
splitter = splitter .split (',' )
301
300
splitterIntX = (float (splitter [0 ]))
302
301
splitterIntY = (float (splitter [1 ]))
303
302
xx .append (splitterIntX )
304
303
yy .append (splitterIntY )
305
-
306
-
307
-
304
+
308
305
#creates the lines
309
306
dotMrk = values1 ['dot' ]
310
307
sizeOfMrk = values1 ['size' ]
@@ -372,8 +369,6 @@ def Main():
372
369
if dotMrk == 'Diamond' :
373
370
p .line (xx ,var , legend = yhead [i ],line_color = ccolor )
374
371
p .diamond (xx ,var , legend = yhead [i ],fill_color = ccolor ,line_color = ccolor ,size = markSize )
375
-
376
-
377
372
378
373
#testing...
379
374
print (yhead [i ])
@@ -397,28 +392,6 @@ def Main():
397
392
elif lloc == 'Bottom Left' :
398
393
p .legend .location = "bottom_left"
399
394
400
-
401
-
402
-
403
- #show the graph
404
- '''
405
- p.add_tools(HoverTool(
406
- tooltips=[
407
- ( 'date', '@date{%F}' ),
408
- ( 'close', '$@{adj close}{%0.2f}' ), # use @{ } for field names with spaces
409
- ( 'volume', '@volume{0.00 a}' ),
410
- ],
411
-
412
- formatters={
413
- 'date' : 'datetime', # use 'datetime' formatter for 'date' field
414
- 'adj close' : 'printf', # use 'printf' formatter for 'adj close' field
415
- # use default 'numeral' formatter for other fields
416
- },
417
-
418
- # display a tooltip whenever the cursor is vertically in line with a glyph
419
- mode='vline'
420
- ))
421
- '''
422
395
axvi = values1 ['axis' ]
423
396
if axvi == 'Both Axis Visibile' :
424
397
p .yaxis .visible = True
0 commit comments