Skip to content

Commit 763aec1

Browse files
authored
Merge pull request #869 from plotly/renovate/minor-deps
Update dependency plotly.js to v1.45.2
2 parents 145bf8a + 1a6ee66 commit 763aec1

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

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.2",
1616
"immutability-helper": "^3.0.0",
1717
"plotly-icons": "1.3.4",
18-
"plotly.js": "1.44.4",
18+
"plotly.js": "1.45.2",
1919
"prop-types": "^15.7.2",
2020
"raf": "^3.4.1",
2121
"react-color": "^2.17.0",

src/default_panels/GraphSubplotsPanel.js

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,17 @@ const GraphSubplotsPanel = (props, {localize: _}) => (
5555
<Numeric label={_('Z')} attr="aspectratio.z" step={0.1} />
5656
</VisibilitySelect>
5757
</PlotlySection>
58-
58+
<PlotlySection name={_('Projection')}>
59+
<Dropdown
60+
label={_('Type')}
61+
attr="camera.projection.type"
62+
options={[
63+
{label: _('Perspective'), value: 'perspective'},
64+
{label: _('Orthographic'), value: 'orthographic'},
65+
]}
66+
clearable={false}
67+
/>
68+
</PlotlySection>
5969
<PlotlySection name={_('Canvas')}>
6070
<ColorPicker label={_('Plot Background')} attr="bgcolor" />
6171
</PlotlySection>

0 commit comments

Comments
 (0)