Fixed
- Fix
AttributeError: module 'plotly.graph_objs' has no attribute 'FigureWidget'
exception onfrom plotly.graph_objs import *
whenipywidgets
is not installed. Error also occurred when importingplotly.figure_factor
. It is now possible to importplotly.graph_objs.FigureWidget
whenipywidgets
is not installed, and an informativeImportError
exception will be raised in theFigureWidget
constructor (#2443, #1111). - Fix
TypeError: unhashable type: 'Template'
duringFigure
construction whenplotly.io.templates.default
is set to aTemplate
object rather than a string.