diff --git a/panel/pane/vega.py b/panel/pane/vega.py index 9021edc81f..06411c2aa3 100644 --- a/panel/pane/vega.py +++ b/panel/pane/vega.py @@ -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')