perf: Postpone bokeh.models import #987
Annotations
4 errors
Test Examples:
examples/user_guide/Geometries.ipynb#L1
examples/user_guide/Geometries.ipynb::Cell 1
Notebook cell execution failed
Cell 1: Cell execution caused an exception
Input:
(gf.ocean + gf.land + gf.ocean * gf.land * gf.coastline * gf.borders).cols(3)
Traceback:
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
File ~/work/geoviews/geoviews/.pixi/envs/test-310/lib/python3.10/site-packages/IPython/core/formatters.py:977, in MimeBundleFormatter.__call__(self, obj, include, exclude)
974 method = get_real_method(obj, self.print_method)
976 if method is not None:
--> 977 return method(include=include, exclude=exclude)
978 return None
979 else:
File ~/work/geoviews/geoviews/.pixi/envs/test-310/lib/python3.10/site-packages/holoviews/core/dimension.py:1275, in Dimensioned._repr_mimebundle_(self, include, exclude)
1268 def _repr_mimebundle_(self, include=None, exclude=None):
1269 """
1270 Resolves the class hierarchy for the class rendering the
1271 object using any display hooks registered on Store.display
1272 hooks. The output of all registered display_hooks is then
1273 combined and returned.
1274 """
-> 1275 return Store.render(self)
File ~/work/geoviews/geoviews/.pixi/envs/test-310/lib/python3.10/site-packages/holoviews/core/options.py:1423, in Store.render(cls, obj)
1421 data, metadata = {}, {}
1422 for hook in hooks:
-> 1423 ret = hook(obj)
1424 if ret is None:
1425 continue
File ~/work/geoviews/geoviews/.pixi/envs/test-310/lib/python3.10/site-packages/holoviews/ipython/display_hooks.py:287, in pprint_display(obj)
285 if not ip.display_formatter.formatters['text/plain'].pprint:
286 return None
--> 287 return display(obj, raw_output=True)
File ~/work/geoviews/geoviews/.pixi/envs/test-310/lib/python3.10/site-packages/holoviews/ipython/display_hooks.py:258, in display(obj, raw_output, **kwargs)
256 elif isinstance(obj, (Layout, NdLayout, AdjointLayout)):
257 with option_state(obj):
--> 258 output = layout_display(obj)
259 elif isinstance(obj, (HoloMap, DynamicMap)):
260
|
Test Examples:
examples/user_guide/Geometries.ipynb#L1
examples/user_guide/Geometries.ipynb::Cell 2
Notebook cell execution failed
Cell 2: Cell execution caused an exception
Input:
graticules = cf.NaturalEarthFeature(
category='physical',
name='graticules_30',
scale='110m')
(gf.ocean() * gf.land() * gv.Feature(graticules, group='Lines') * gf.borders * gf.coastline).opts(
opts.Feature('Lines', projection=ccrs.Robinson(), facecolor='none', edgecolor='gray'))
Traceback:
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
File ~/work/geoviews/geoviews/.pixi/envs/test-310/lib/python3.10/site-packages/IPython/core/formatters.py:977, in MimeBundleFormatter.__call__(self, obj, include, exclude)
974 method = get_real_method(obj, self.print_method)
976 if method is not None:
--> 977 return method(include=include, exclude=exclude)
978 return None
979 else:
File ~/work/geoviews/geoviews/.pixi/envs/test-310/lib/python3.10/site-packages/holoviews/core/dimension.py:1275, in Dimensioned._repr_mimebundle_(self, include, exclude)
1268 def _repr_mimebundle_(self, include=None, exclude=None):
1269 """
1270 Resolves the class hierarchy for the class rendering the
1271 object using any display hooks registered on Store.display
1272 hooks. The output of all registered display_hooks is then
1273 combined and returned.
1274 """
-> 1275 return Store.render(self)
File ~/work/geoviews/geoviews/.pixi/envs/test-310/lib/python3.10/site-packages/holoviews/core/options.py:1423, in Store.render(cls, obj)
1421 data, metadata = {}, {}
1422 for hook in hooks:
-> 1423 ret = hook(obj)
1424 if ret is None:
1425 continue
File ~/work/geoviews/geoviews/.pixi/envs/test-310/lib/python3.10/site-packages/holoviews/ipython/display_hooks.py:287, in pprint_display(obj)
285 if not ip.display_formatter.formatters['text/plain'].pprint:
286 return None
--> 287 return display(obj, raw_output=True)
File ~/work/geoviews/geoviews/.pixi/envs/test-310/lib/python3.10/site-packages/holoviews/ipython/display_hooks.py:255, in display(obj, raw_output, **kwargs)
253 elif isinstance(obj, (CompositeOverlay, ViewableElement)):
254 with option_state(obj):
-->
|
Test Examples:
examples/user_guide/Geometries.ipynb#L1
examples/user_guide/Geometries.ipynb::Cell 3
Notebook cell execution failed
Cell 3: Cell execution caused an exception
Input:
gv.output(backend='bokeh')
(gf.ocean * gf.land.options(scale='110m', global_extent=True) * gv.Feature(graticules, group='Lines') +
gf.ocean * gf.land.options(scale='50m', global_extent=True) * gv.Feature(graticules, group='Lines'))
Traceback:
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
File ~/work/geoviews/geoviews/.pixi/envs/test-310/lib/python3.10/site-packages/IPython/core/formatters.py:977, in MimeBundleFormatter.__call__(self, obj, include, exclude)
974 method = get_real_method(obj, self.print_method)
976 if method is not None:
--> 977 return method(include=include, exclude=exclude)
978 return None
979 else:
File ~/work/geoviews/geoviews/.pixi/envs/test-310/lib/python3.10/site-packages/holoviews/core/dimension.py:1275, in Dimensioned._repr_mimebundle_(self, include, exclude)
1268 def _repr_mimebundle_(self, include=None, exclude=None):
1269 """
1270 Resolves the class hierarchy for the class rendering the
1271 object using any display hooks registered on Store.display
1272 hooks. The output of all registered display_hooks is then
1273 combined and returned.
1274 """
-> 1275 return Store.render(self)
File ~/work/geoviews/geoviews/.pixi/envs/test-310/lib/python3.10/site-packages/holoviews/core/options.py:1423, in Store.render(cls, obj)
1421 data, metadata = {}, {}
1422 for hook in hooks:
-> 1423 ret = hook(obj)
1424 if ret is None:
1425 continue
File ~/work/geoviews/geoviews/.pixi/envs/test-310/lib/python3.10/site-packages/holoviews/ipython/display_hooks.py:287, in pprint_display(obj)
285 if not ip.display_formatter.formatters['text/plain'].pprint:
286 return None
--> 287 return display(obj, raw_output=True)
File ~/work/geoviews/geoviews/.pixi/envs/test-310/lib/python3.10/site-packages/holoviews/ipython/display_hooks.py:258, in display(obj, raw_output, **kwargs)
256 elif isinstance(obj, (Layout, NdLayout, AdjointLayout)):
257 with option_state(obj):
--> 258 output = layout_display�[49
|
Test Examples
Process completed with exit code 1.
|
Loading