Skip to content

Commit

Permalink
Fixed import inside Vega pane
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr committed Mar 16, 2019
1 parent 18c71b6 commit f9d1f61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion panel/pane/vega.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def _get_model(self, doc, root=None, parent=None, comm=None):
'the notebook kernel and ensure you load '
'it as part of the extension using:'
'\n\npn.extension(\'vega\')\n')
from ..models.plots import VegaPlot
from ..models.vega import VegaPlot
else:
VegaPlot = getattr(sys.modules['panel.models.vega'], 'VegaPlot')

Expand Down

0 comments on commit f9d1f61

Please sign in to comment.