Skip to content

Commit 4062789

Browse files
author
minjk-bl
committed
Chart - import option fix
1 parent fc90c85 commit 4062789

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

src/matplotlib/plot.js

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ define([
127127

128128
// Box 1. Import
129129
var accBoxImport = this.createOptionContainer('Import Options');
130-
// accBoxImport.setOpenBox(true);
130+
accBoxImport.setOpenBox(true);
131131
sbTagString.clear();
132132
sbTagString.appendFormatLine('<div class="{0}">', 'vp-import-box');
133133
// figure size
@@ -141,8 +141,6 @@ define([
141141
sbTagString.appendFormatLine('<label for="{0}" class="{1}">{2}</label>', 'vp_plStyle', '', 'Style sheet');
142142
sbTagString.appendFormatLine('<input type="text" id="{0}" placeholder="{1}">', 'vp_plStyle', 'style name');
143143
sbTagString.appendLine('</div>');
144-
// divider
145-
sbTagString.appendLine('<hr style="margin: 5px 0;"/>');
146144
// system font
147145
sbTagString.appendLine('<div>');
148146
sbTagString.appendFormatLine('<label for="{0}" class="{1}">{2}</label>', 'vp_plFontName', '', 'System font');
@@ -152,11 +150,11 @@ define([
152150
sbTagString.appendLine('<div>');
153151
sbTagString.appendFormatLine('<label for="{0}" class="{1}">{2}</label>', 'vp_plFontSize', '', 'Font size');
154152
sbTagString.appendFormatLine('<input type="number" id="{0}" placeholder="{1}" value="{2}">', 'vp_plFontSize', 'size', 10);
155-
sbTagString.appendLine('</div>');
156-
// import button
157-
sbTagString.appendLine('<div>');
158153
sbTagString.appendFormatLine('<input type="button" id="{0}" class="{1}" value="{2}">', 'vp_plImportRun', 'vp-button activated vp-pl-import-run', 'Apply');
159154
sbTagString.appendLine('</div>');
155+
// // apply button
156+
// sbTagString.appendLine('<div>');
157+
// sbTagString.appendLine('</div>');
160158

161159
sbTagString.appendLine('</div>');
162160
accBoxImport.appendContent(sbTagString.toString());

0 commit comments

Comments
 (0)