We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 316eaa1 commit cf9d8d6Copy full SHA for cf9d8d6
js/m_visualize/ChartSetting.js
@@ -29,11 +29,11 @@ define([
29
this.config.dataview = false;
30
31
this.state = {
32
- figureWidth: 12,
33
- figureHeight: 8,
+ figureWidth: '12',
+ figureHeight: '8',
34
styleSheet: '',
35
fontName: '',
36
- fontSize: 10,
+ fontSize: '10',
37
...this.state
38
}
39
@@ -124,7 +124,7 @@ define([
124
generateImportCode() {
125
var code = new com_String();
126
code.appendLine('import matplotlib.pyplot as plt');
127
- code.append('%matplotlib inline');
+ code.appendLine('%matplotlib inline');
128
code.appendLine('import seaborn as sns');
129
return [code.toString()];
130
0 commit comments