@@ -183,11 +183,11 @@ export interface ValidateTemplateResult {
183183/**
184184 * Create a new plot at `root`. Replaces any existing plot.
185185 *
186- * @param root - graph div id or element
187- * @param data - trace data array
188- * @param layout - layout overrides
189- * @param config - config overrides
190- * @returns the graph div once the plot has rendered
186+ * @param root - Graph div id or element
187+ * @param data - Trace data array
188+ * @param layout - Layout overrides
189+ * @param config - Config overrides
190+ * @returns The graph div once the plot has rendered
191191 */
192192export function newPlot (
193193 root : Root ,
@@ -199,9 +199,9 @@ export function newPlot(
199199 * Create a new plot at `root` from a figure-shaped object containing
200200 * `data`/`layout`/`config`/`frames`. Replaces any existing plot.
201201 *
202- * @param root - graph div id or element
203- * @param figure - figure -shaped object
204- * @returns the graph div once the plot has rendered
202+ * @param root - Graph div id or element
203+ * @param figure - Figure -shaped object
204+ * @returns The graph div once the plot has rendered
205205 */
206206export function newPlot (
207207 root : Root ,
@@ -217,17 +217,17 @@ export function purge(root: Root): void;
217217/**
218218 * Update trace properties (style) on the existing plot.
219219 *
220- * @param aobj - update object whose keys are attribute paths
221- * @param traces - trace index/indices to update (defaults to all)
220+ * @param aobj - Update object whose keys are attribute paths
221+ * @param traces - Trace index/indices to update (defaults to all)
222222 */
223223export function restyle ( root : Root , aobj : Data , traces ?: number [ ] | number ) : Promise < PlotlyHTMLElement > ;
224224
225225/**
226226 * Update both trace and layout properties in a single call.
227227 *
228- * @param traceUpdate - per -trace updates
229- * @param layoutUpdate - layout updates
230- * @param traces - trace index/indices `traceUpdate` applies to
228+ * @param traceUpdate - Per -trace updates
229+ * @param layoutUpdate - Layout updates
230+ * @param traces - Trace index/indices `traceUpdate` applies to
231231 */
232232export function update (
233233 root : Root ,
@@ -239,8 +239,8 @@ export function update(
239239/**
240240 * Add one or more traces to an existing plot.
241241 *
242- * @param traces - trace (s) to add
243- * @param newIndices - position (s) in `data` where the traces should land
242+ * @param traces - Trace (s) to add
243+ * @param newIndices - Position (s) in `data` where the traces should land
244244 */
245245export function addTraces (
246246 root : Root ,
@@ -254,8 +254,8 @@ export function deleteTraces(root: Root, indices: number[] | number): Promise<Pl
254254/**
255255 * Reorder existing traces.
256256 *
257- * @param currentIndices - current trace indices to move
258- * @param newIndices - destination indices; if omitted, traces move to the end
257+ * @param currentIndices - Current trace indices to move
258+ * @param newIndices - Destination indices; if omitted, traces move to the end
259259 */
260260export function moveTraces (
261261 root : Root ,
@@ -307,8 +307,8 @@ export function register(modules: PlotlyModule | PlotlyModule[]): void;
307307/**
308308 * Animate to a frame, frame group, or sequence of frames.
309309 *
310- * @param frameOrGroupNameOrFrameList - frame name, group name, or list of either
311- * @param opts - animation options (frame timing, transition, mode, …)
310+ * @param frameOrGroupNameOrFrameList - Frame name, group name, or list of either
311+ * @param opts - Animation options (frame timing, transition, mode, …)
312312 */
313313export function animate (
314314 root : Root ,
0 commit comments