coordinate labels in a bokeh backend
See original GitHub issueThe latitude longitude labels in a geoviews Image have a weird formatting issue.
- Labels are formatted scientific.
- It is just not about label formatting, the values are multiplied by 10^5.
The last plot in bokeh examples page is a good demonstration of this issue. http://geo.holoviews.org/Working_with_Bokeh.html
one could also reproduce with a xarray sample data
import xarray as xr
import holoviews as hv
import geoviews as gv
T_data = xr.tutorial.load_dataset('air_temperature')
gT_data = gv.Dataset(T_data.isel(time=0))
gv.Image(gT_data,kdims=['lon','lat'])
if one plots the same data using holoviews using hv.Image(gT_data)
the latitude labels/longitude labels are right but then overlaying coastlines is not available. Hence, I think there might be an easy fix for someone who knows geoviews/holoviews in depth.
some of the consequences i face are
- Utility of hover tool is limited as the coordinate information displayed is useless.
- It also stops a user from making interactive plots using a stream. although there is a fix by dividing coordinates by 100000. An example of 1,2 here
- it also makes overlaying a Point or a Path unnatural, one has to pass latitude , longitude values multipled by 10^5.
Issue Analytics
- State:
- Created 6 years ago
- Comments:8 (3 by maintainers)
Top Results From Across the Web
Labels in Bokeh - GeeksforGeeks
In this article, we will be learning about Labels in Bokeh. Labels are the short words or phrases that are used in order...
Read more >figure — Bokeh 2.4.1 Documentation
A label for the x-axis. ... only in backends capable of bidirectional communication (server, notebook). ... Specify the output backend for the plot...
Read more >How can I add label to a Bokeh barchart? - Stack Overflow
I wanted to plot a bar chart with labels (that is value of 'Number') annotated on the top for each bar and proceeded...
Read more >Introduction to plotting with Bokeh - BE/Bi 103 a
This kind of glyph requires that we specify which column of the data source will serve to place the glyphs along the x...
Read more >Plotting with Bokeh — HoloViews v1.15.3
Here's an example of HoloViews Elements using a Bokeh backend, with bokeh's ... provide control over the scaling of the plot dimensions and...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
oh great it works! after latest holoviews master and bokeh 0.12.10
will create a new issue for hover Thanks
No, you just need latest HoloViews master or a dev release as well.