Skip to content

Commit bf7079b

Browse files
committed
Code Cleanup
1 parent 5f52acb commit bf7079b

File tree

1 file changed

+1
-28
lines changed

1 file changed

+1
-28
lines changed

Grapher.py

Lines changed: 1 addition & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -295,16 +295,13 @@ def Main():
295295

296296
for line in yList:
297297
splitter = line.strip('(')
298-
299298
splitter = splitter.strip(')')
300299
splitter = splitter.split(',')
301300
splitterIntX = (float(splitter[0]))
302301
splitterIntY = (float(splitter[1]))
303302
xx.append(splitterIntX)
304303
yy.append(splitterIntY)
305-
306-
307-
304+
308305
#creates the lines
309306
dotMrk = values1['dot']
310307
sizeOfMrk = values1['size']
@@ -372,8 +369,6 @@ def Main():
372369
if dotMrk == 'Diamond':
373370
p.line(xx,var, legend=yhead[i],line_color=ccolor)
374371
p.diamond(xx,var, legend=yhead[i],fill_color=ccolor,line_color=ccolor,size= markSize)
375-
376-
377372

378373
#testing...
379374
print(yhead[i])
@@ -397,28 +392,6 @@ def Main():
397392
elif lloc == 'Bottom Left':
398393
p.legend.location ="bottom_left"
399394

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-
'''
422395
axvi = values1['axis']
423396
if axvi == 'Both Axis Visibile':
424397
p.yaxis.visible = True

0 commit comments

Comments
 (0)