@@ -21,16 +21,15 @@ define([
2121] , function ( importCss , com_util , com_Const , com_String , PopupComponent ) {
2222
2323 const importTemplates = {
24- 'pre-processing ' : [
24+ 'data-analysis ' : [
2525 { i0 : 'numpy' , i1 : 'np' , type : 'module' } ,
2626 { i0 : 'pandas' , i1 : 'pd' , type : 'module' } ,
2727 {
2828 i0 : 'matplotlib.pyplot' , i1 : 'plt' , type : 'module'
2929 , include : [
3030 '%matplotlib inline'
3131 ]
32- } ,
33- { i0 : 'seaborn' , i1 : 'sns' , type : 'module' }
32+ }
3433 ] ,
3534 'machine-learning' : [
3635 { i0 : 'sklearn.model_selection' , i1 : 'train_test_split' , type : 'function' } ,
@@ -56,7 +55,7 @@ define([
5655 }
5756
5857 this . state = {
59- tabType : 'pre-processing ' ,
58+ tabType : 'data-analysis ' ,
6059 importMeta : [ ] ,
6160 ...savedData ,
6261 ...this . state
@@ -142,7 +141,7 @@ define([
142141 // tab buttons
143142 page . appendLine ( '<div class="vp-tab-box">' ) ;
144143 page . appendFormatLine ( '<div class="vp-tab-button {0}" data-tab="{1}">{2}</div>'
145- , this . state . tabType == 'pre-processing ' ?'vp-tab-selected' :'' , 'pre-processing ' , 'Pre-processing ' ) ;
144+ , this . state . tabType == 'data-analysis ' ?'vp-tab-selected' :'' , 'data-analysis ' , 'Data Analysis ' ) ;
146145 page . appendFormatLine ( '<div class="vp-tab-button {0}" data-tab="{1}">{2}</div>'
147146 , this . state . tabType == 'machine-learning' ?'vp-tab-selected' :'' , 'machine-learning' , 'Machine Learning' ) ;
148147 page . appendLine ( '</div>' ) ;
0 commit comments