Skip to content

Commit cf9d8d6

Browse files
author
minjk-bl
committed
Fix bugs on Chart Style app
1 parent 316eaa1 commit cf9d8d6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

js/m_visualize/ChartSetting.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,11 @@ define([
2929
this.config.dataview = false;
3030

3131
this.state = {
32-
figureWidth: 12,
33-
figureHeight: 8,
32+
figureWidth: '12',
33+
figureHeight: '8',
3434
styleSheet: '',
3535
fontName: '',
36-
fontSize: 10,
36+
fontSize: '10',
3737
...this.state
3838
}
3939
}
@@ -124,7 +124,7 @@ define([
124124
generateImportCode() {
125125
var code = new com_String();
126126
code.appendLine('import matplotlib.pyplot as plt');
127-
code.append('%matplotlib inline');
127+
code.appendLine('%matplotlib inline');
128128
code.appendLine('import seaborn as sns');
129129
return [code.toString()];
130130
}

0 commit comments

Comments
 (0)