Skip to content

Commit 8ec27b2

Browse files
nicolaskruchtenVeraZab
authored andcommitted
tweaks
1 parent 30d57af commit 8ec27b2

3 files changed

Lines changed: 7 additions & 9 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"fast-isnumeric": "^1.1.1",
1616
"immutability-helper": "^2.7.1",
1717
"plotly-icons": "1.2.2",
18-
"plotly.js": "https://github.com/plotly/plotly.js/archive/master.tar.gz",
18+
"plotly.js": "https://github.com/plotly/plotly.js/archive/9bbe295.tar.gz",
1919
"prop-types": "^15.5.10",
2020
"raf": "^3.4.0",
2121
"react-color": "^2.13.8",

src/default_panels/StyleLayoutPanel.js

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -52,13 +52,11 @@ const StyleLayoutPanel = (props, {localize: _}) => (
5252
</PlotlyFold>
5353

5454
<PlotlyFold name={_('Title')}>
55-
<PlotlySection name={_('Title')} attr="title.text">
56-
<TextEditor attr="title.text" />
57-
<FontSelector label={_('Typeface')} attr="title.font.family" clearable={false} />
58-
<Numeric label={_('Font Size')} attr="title.font.size" units="px" />
59-
<ColorPicker label={_('Font Color')} attr="title.font.color" />
60-
<Numeric label={_('Horizontal Position')} showSlider step={0.02} attr="title.x" />
61-
</PlotlySection>
55+
<TextEditor attr="title.text" />
56+
<FontSelector label={_('Typeface')} attr="title.font.family" clearable={false} />
57+
<Numeric label={_('Font Size')} attr="title.font.size" units="px" />
58+
<ColorPicker label={_('Font Color')} attr="title.font.color" />
59+
<Numeric label={_('Horizontal Position')} showSlider step={0.02} attr="title.x" />
6260
</PlotlyFold>
6361

6462
<PlotlyFold name={_('Modebar')}>

src/default_panels/StyleTracesPanel.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ const StyleTracesPanel = (props, {localize: _}) => (
194194
label={_('Flatshading')}
195195
options={[{label: _('Enable'), value: true}, {label: _('Disable'), value: false}]}
196196
/>
197-
</PlotlySection>{' '}
197+
</PlotlySection>
198198
<TraceTypeSection
199199
name={_('Bar Grouping, Sizing and Spacing')}
200200
traceTypes={['bar', 'histogram']}

0 commit comments

Comments
 (0)