New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
KeyError: 'show_bounds' when setting projection #433
Comments
I get the same error. In my case, I also get it with 1.6.6. Versions:
Notes:
|
Thanks. I'll release a fix later today. |
Note that this is already fixed on master. |
Hi, KeyError Traceback (most recent call last) /Applications/anaconda3/envs/idap/lib/python3.7/site-packages/holoviews/core/dimension.py in repr_mimebundle(self, include, exclude) /Applications/anaconda3/envs/idap/lib/python3.7/site-packages/holoviews/core/options.py in render(cls, obj) /Applications/anaconda3/envs/idap/lib/python3.7/site-packages/holoviews/ipython/display_hooks.py in pprint_display(obj) /Applications/anaconda3/envs/idap/lib/python3.7/site-packages/holoviews/ipython/display_hooks.py in display(obj, raw_output, **kwargs) /Applications/anaconda3/envs/idap/lib/python3.7/site-packages/holoviews/ipython/display_hooks.py in wrapped(element) /Applications/anaconda3/envs/idap/lib/python3.7/site-packages/holoviews/ipython/display_hooks.py in element_display(element, max_frames) /Applications/anaconda3/envs/idap/lib/python3.7/site-packages/holoviews/ipython/display_hooks.py in render(obj, **kwargs) /Applications/anaconda3/envs/idap/lib/python3.7/site-packages/holoviews/plotting/renderer.py in components(self, obj, fmt, comm, **kwargs) /Applications/anaconda3/envs/idap/lib/python3.7/site-packages/panel/viewable.py in _render_model(self, doc, comm) /Applications/anaconda3/envs/idap/lib/python3.7/site-packages/panel/viewable.py in get_root(self, doc, comm) /Applications/anaconda3/envs/idap/lib/python3.7/site-packages/panel/layout.py in _get_model(self, doc, root, parent, comm) /Applications/anaconda3/envs/idap/lib/python3.7/site-packages/panel/layout.py in _get_objects(self, model, old_objects, doc, root, comm) /Applications/anaconda3/envs/idap/lib/python3.7/site-packages/panel/pane/holoviews.py in _get_model(self, doc, root, parent, comm) /Applications/anaconda3/envs/idap/lib/python3.7/site-packages/panel/pane/holoviews.py in _render(self, doc, comm, root) /Applications/anaconda3/envs/idap/lib/python3.7/site-packages/holoviews/plotting/bokeh/renderer.py in get_plot(self_or_cls, obj, doc, renderer, **kwargs) /Applications/anaconda3/envs/idap/lib/python3.7/site-packages/holoviews/plotting/renderer.py in get_plot(self_or_cls, obj, doc, renderer, comm, **kwargs) /Applications/anaconda3/envs/idap/lib/python3.7/site-packages/geoviews/plotting/bokeh/plot.py in init(self, element, **params) /Applications/anaconda3/envs/idap/lib/python3.7/site-packages/geoviews/plotting/bokeh/plot.py in init(self, element, **params) /Applications/anaconda3/envs/idap/lib/python3.7/site-packages/holoviews/plotting/plot.py in init(self, overlay, ranges, batched, keys, group_counter, **params) /Applications/anaconda3/envs/idap/lib/python3.7/site-packages/geoviews/plotting/plot.py in _get_projection(self, obj) KeyError: 'projection' Out[6]: |
You'll have to upgrade to GeoViews 1.7.0 or 1.8.0 (depending on which bokeh version you are using). |
Thanks for your prompt response. I get the following error when I try to install Geoviews 1.7.0 ResolvePackageNotFound:
Thanks. |
For now it's only available on the pyviz channel:
|
I tried "conda install -c pyviz geoviews>=1.7" but still I have same issue. KeyError Traceback (most recent call last) ~\AppData\Roaming\Python\Python37\site-packages\holoviews\core\dimension.py in repr_mimebundle(self, include, exclude) ~\AppData\Roaming\Python\Python37\site-packages\holoviews\core\options.py in render(cls, obj) ~\AppData\Roaming\Python\Python37\site-packages\holoviews\ipython\display_hooks.py in pprint_display(obj) ~\AppData\Roaming\Python\Python37\site-packages\holoviews\ipython\display_hooks.py in display(obj, raw_output, **kwargs) ~\AppData\Roaming\Python\Python37\site-packages\holoviews\ipython\display_hooks.py in wrapped(element) ~\AppData\Roaming\Python\Python37\site-packages\holoviews\ipython\display_hooks.py in element_display(element, max_frames) ~\AppData\Roaming\Python\Python37\site-packages\holoviews\ipython\display_hooks.py in render(obj, **kwargs) ~\AppData\Roaming\Python\Python37\site-packages\holoviews\plotting\renderer.py in components(self, obj, fmt, comm, **kwargs) ~\AppData\Roaming\Python\Python37\site-packages\panel\viewable.py in _render_model(self, doc, comm) ~\AppData\Roaming\Python\Python37\site-packages\panel\viewable.py in get_root(self, doc, comm) ~\AppData\Roaming\Python\Python37\site-packages\panel\layout.py in _get_model(self, doc, root, parent, comm) ~\AppData\Roaming\Python\Python37\site-packages\panel\layout.py in _get_objects(self, model, old_objects, doc, root, comm) ~\AppData\Roaming\Python\Python37\site-packages\panel\pane\holoviews.py in _get_model(self, doc, root, parent, comm) ~\AppData\Roaming\Python\Python37\site-packages\panel\pane\holoviews.py in _render(self, doc, comm, root) ~\AppData\Roaming\Python\Python37\site-packages\holoviews\plotting\bokeh\renderer.py in get_plot(self_or_cls, obj, doc, renderer, **kwargs) ~\AppData\Roaming\Python\Python37\site-packages\holoviews\plotting\renderer.py in get_plot(self_or_cls, obj, doc, renderer, comm, **kwargs) C:\ProgramData\Anaconda3\lib\site-packages\geoviews\plotting\bokeh\plot.py in init(self, element, **params) C:\ProgramData\Anaconda3\lib\site-packages\geoviews\plotting\bokeh\plot.py in init(self, element, **params) ~\AppData\Roaming\Python\Python37\site-packages\holoviews\plotting\plot.py in init(self, overlay, ranges, batched, keys, group_counter, **params) C:\ProgramData\Anaconda3\lib\site-packages\geoviews\plotting\plot.py in _get_projection(self, obj) KeyError: 'projection' :Overlay |
@akchaudhary57 Could you actually print the output of |
ALL software version info
geoviews 1.7.0a3
bokeh 1.4.0
Description of expected behavior and the observed behavior
Complete, minimal, self-contained example code that reproduces the issue
This will plot correctly:
But this will throw an error:
Stack traceback and/or browser JavaScript console output
I'll also note that running the broken code above on gv 1.6.6 does not throw an error
The text was updated successfully, but these errors were encountered: