Skip to content

Commit 1babc45

Browse files
committed
small update
1 parent 6add0fd commit 1babc45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_posts/plotly_js/fundamentals/plotly-js-3-changes/2024-10-09-plotly-js-3-changes.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ Plotly.newPlot('bar-chart', data, layout);
117117

118118
The `layout.scene.cameraposition` attribute on 3D plots has been removed. Use `layout.scene.camera` instead.
119119

120-
If you are using `cameraposition`, you'll need to make some changes to it for it work with the `camera` attribute. Here's an example of converting a `cameraposition` to `camera`. This example uses [gl-mat4](https://www.npmjs.com/package/gl-mat4#fromquatoutmat4-qquat4).
120+
If you are using `cameraposition`, you'll need to update it for it work with the `camera` attribute. Here's an example of converting a `cameraposition` to `camera`. This example uses [gl-mat4](https://www.npmjs.com/package/gl-mat4#fromquatoutmat4-qquat4).
121121

122122
```js
123123
var m4FromQuat = require('gl-mat4/fromQuat');

0 commit comments

Comments
 (0)