Skip to content

Commit 0cf3a2a

Browse files
committed
doc: fix typo issues in tooltips
1 parent d09e1a3 commit 0cf3a2a

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

hydroecolstm/interface/data_frame.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -115,9 +115,9 @@ def __create_widgets(self):
115115
self.show_data.grid(row=3, column=2, padx = 10,
116116
pady=(5,5), sticky="w")
117117
CTkToolTip(self.show_data, delay=0.1, bg_color = 'orange',
118-
text_color = 'black', anchor = 'w',
118+
text_color = 'black', anchor = 'w', wraplength=500,
119119
message= 'Click here to have a look at the data (using pandastable)' +
120-
'here you can also visualize the data with differnt type of plots')
120+
'here you can also visualize the data with different type of plots')
121121

122122
# check to load/unload
123123
self.check_static_data = ctk.IntVar(value=0)
@@ -128,7 +128,7 @@ def __create_widgets(self):
128128

129129
self.checkbox_static_data.grid(row=4, column=2, padx = 10, pady=(5,5), sticky="w")
130130
CTkToolTip(self.checkbox_static_data, delay=0.1, bg_color = 'orange',
131-
text_color = 'black', anchor = 'w',
131+
text_color = 'black', anchor = 'w', wraplength=500,
132132
message= 'If you check this box, data from the selected \n' +
133133
'static data file will be used, uncheck means data will \n' +
134134
'not be used')
@@ -142,7 +142,7 @@ def __create_widgets(self):
142142
text_color="black", height=175, width = 175)
143143
self.select_input_feature.grid(row=1, column=0, padx = 10, pady=(5,5), sticky="w")
144144
CTkToolTip(self.select_input_feature_label, delay=0.1, bg_color = 'orange',
145-
text_color = 'black', anchor = 'w',
145+
text_color = 'black', anchor = 'w', wraplength=500,
146146
message= 'Select input features for the neural network. \n' +
147147
'You can select as many input features as you want')
148148

@@ -151,7 +151,7 @@ def __create_widgets(self):
151151
text="3. Select target features")
152152
self.select_target_feature_label.grid(row=0, column=2, padx = 10, pady=(5,5), sticky="w")
153153
CTkToolTip(self.select_target_feature_label, delay=0.1, bg_color = 'orange',
154-
text_color = 'black', anchor = 'w',
154+
text_color = 'black', anchor = 'w', wraplength=500,
155155
message= 'Select target features (model outputs). \n' +
156156
'You can select as many target features as you want')
157157
self.select_target_feature = CTkListbox(master=self.tabview.tab("2. Filter data"),
@@ -164,7 +164,7 @@ def __create_widgets(self):
164164
text="2. Select object id")
165165
self.object_id_label.grid(row=2, column=0, padx = 10, pady=(5,5), sticky="w")
166166
CTkToolTip(self.object_id_label, delay=0.1, bg_color = 'orange',
167-
text_color = 'black', anchor = 'w',
167+
text_color = 'black', anchor = 'w', wraplength=500,
168168
message= 'Select object id (basin id) that you want to put into the model. \n' +
169169
'You can select as many object ids as you want')
170170
self.object_id = CTkListbox(master=self.tabview.tab("2. Filter data"),
@@ -185,7 +185,7 @@ def __create_widgets(self):
185185
year=2010, month=1, day=1, font=ctk.CTkFont(size=14))
186186
self.end_train.grid(row= 4,column=2, padx=30, pady=10, sticky='e')
187187
CTkToolTip(self.select_date_train, delay=0.1, bg_color = 'orange',
188-
text_color = 'black', anchor='w',
188+
text_color = 'black', anchor='w', wraplength=500,
189189
message='Select starting date (upper calender box) and \n' +
190190
'ending date (lower calendar box) of the training period. \n'+
191191
'Training data are used to fit model parameters.')

0 commit comments

Comments
 (0)