You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<code>Plotly.makeTemplate</code> copies the style information from a figure. It does this by returning a <code>template</code> object which can be passed to the <code>layout.template</code> attribute of another figure.
367
+
<br/><br/>
368
+
<fieldsetclass="signatures">
369
+
<legend>Signature</legend>
370
+
<dl>
371
+
<dt><code>Plotly.makeTemplate(figure)</code></dt>
372
+
<dd>
373
+
<dl>
374
+
<dt><code>figure</code></dt>
375
+
<dd>a plot object, with <code>{data, layout}</code> members
<em>This function has comparable performance to <ahref="#plotlyreact"><code>Plotly.react</code></a> and is faster than redrawing the whole plot with <ahref="#plotlynewplot"><code>Plotly.newPlot</code></a>.</em><br/><br/>
0 commit comments