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
|`[revision]`|`Number`|`undefined`| When provided, causes the plot to update when the revision is incremented.|
@@ -179,6 +180,24 @@ Event handlers for specific [`plotly.js` events](https://plot.ly/javascript/plot
179
180
will put the user template into the root*\<div\>* of the resulting*plotly.js* plot,
180
181
in front of any plotly-generated elements. This could be useful for implementing plot overlays.
181
182
183
+
184
+
##Using themes
185
+
186
+
There are few pre-defined themes you can use:
187
+
* ggplot2
188
+
* seaborn
189
+
* simple_white
190
+
* plotly
191
+
* plotly_white
192
+
* plotly_dark
193
+
* presentation
194
+
* xgridoff
195
+
* ygridoff
196
+
* gridon
197
+
198
+
These themes were based on[plotly.py](https://github.com/plotly/plotly.py/tree/6f519c8fc459651e1b03704fa83bd66c804f8a67/packages/python/plotly/plotly/package_data/templates)
199
+
200
+
182
201
##Customizing the`plotly.js` bundle
183
202
184
203
By default, this library bundles`plotly.js` from the peer dependency together within the output. This results on huge outputs, for`plotly.js` itself is~3MB when bundled. It also makes the build (with`ng serve --prod`) really slow, for it minifies everything together.