-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgoogle_gui_visual_class_import.py
78 lines (52 loc) · 3.51 KB
/
google_gui_visual_class_import.py
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
class visual():
def __init__(self,tab):
self.tab=tab
def phot(self):
import tkinter as tk
import google_photo_class as graph
close_label=graph.adjclose_label()
hlpct_label=graph.hlpct_label()
pctchg_label=graph.pctchange_label()
volume_label=graph.volume_label()
label11=tk.Label(self.tab,text='Visualization',justify=tk.CENTER,font=('Arial Bold Italic',40))
label11.grid(column=0,row=0,columnspan=9)
label12=tk.Label(self.tab,text='Carat vs Price',font=('Arial Bold Italic',20))
label12.grid(column=0,row=1,ipadx=30)
button=tk.Button(self.tab,text='Histogram',height=3,width=10,command=close_label.histplot)
button.grid(column=0,row=2,pady=20,ipadx=30)
button=tk.Button(self.tab,text='Scatterplot Colorless',height=3,width=10,command=close_label.implot)
button.grid(column=0,row=3,pady=20,ipadx=30)
button=tk.Button(self.tab,text='Scatterplot Color',height=3,width=10,command=close_label.displot)
button.grid(column=0,row=4,pady=20,ipadx=30)
button=tk.Button(self.tab,text='Scatterplot Cut',height=3,width=10,command=close_label.datasetplot)
button.grid(column=0,row=5,pady=20,ipadx=30)
label13=tk.Label(self.tab,text='Cut vs Price',font=('Arial Bold Italic',20))
label13.grid(column=1,row=1,ipadx=30)
button=tk.Button(self.tab,text='Countplot',height=3,width=10,command=hlpct_label.histplot)
button.grid(column=1,row=2,pady=20,ipadx=30)
button=tk.Button(self.tab,text='Boxplot',height=3,width=10,command=hlpct_label.implot)
button.grid(column=1,row=3,pady=20,ipadx=30)
button=tk.Button(self.tab,text='Violinplot',height=3,width=10,command=hlpct_label.displot)
button.grid(column=1,row=4,pady=20,ipadx=30)
button=tk.Button(self.tab,text='Violinplot',height=3,width=10,command=hlpct_label.datasetplot)
button.grid(column=1,row=5,pady=20,ipadx=30)
label14=tk.Label(self.tab,text='Color vs Price',font=('Arial Bold Italic',20))
label14.grid(column=2,row=1,ipadx=30)
button=tk.Button(self.tab,text='Countplot',height=3,width=10,command=pctchg_label.histplot)
button.grid(column=2,row=2,pady=20,ipadx=30)
button=tk.Button(self.tab,text='Boxplot',height=3,width=10,command=pctchg_label.implot)
button.grid(column=2,row=3,pady=20,ipadx=30)
button=tk.Button(self.tab,text='Violinplot',height=3,width=10,command=pctchg_label.displot)
button.grid(column=2,row=4,pady=20,ipadx=30)
button=tk.Button(self.tab,text='Violinplot',height=3,width=10,command=pctchg_label.datasetplot)
button.grid(column=2,row=5,pady=20,ipadx=30)
label15=tk.Label(self.tab,text='Clarity vs Price',font=('Arial Bold Italic',20))
label15.grid(column=3,row=1,ipadx=30)
button=tk.Button(self.tab,text='Countplot',height=3,width=10,command=volume_label.histplot)
button.grid(column=3,row=2,pady=20,ipadx=30)
button=tk.Button(self.tab,text='Boxplot',height=3,width=10,command=volume_label.implot)
button.grid(column=3,row=3,pady=20,ipadx=30)
button=tk.Button(self.tab,text='Violinplot',height=3,width=10,command=volume_label.displot)
button.grid(column=3,row=4,pady=20,ipadx=30)
button=tk.Button(self.tab,text='Violinplot',height=3,width=10,command=pctchg_label.datasetplot)
button.grid(column=3,row=5,pady=20,ipadx=30)