For questions, use https://discourse.holoviz.org/ instead! This chat is for informal discussions and debugging sessions with developers of the HoloViz.org tools (HoloViews, Datashader, Panel, hvPlot, GeoViews, Param, etc.), but user questions should go to the HoloViz Discourse site so that others won't have to ask them again.
philippjfr on highlight_operation
Use df._meta for empty df (compare)
philippjfr on highlight_operation
Fix reduce on empty element Null test over mask area (compare)
jlstevens on highlight_operation
Unchained transformers (compare)
philippjfr on highlight_operation
Correctly look up vdims (compare)
philippjfr on highlight_operation
Fix flake (compare)
philippjfr on highlight_operation
Remove vdims reference (compare)
master
into release candidate shape in ~2 weeks and then to get a release out early in the week of the 23rd (before the U.S. Thanksgiving holiday). Let me know how I can help out with review / testing of other PRs.
hv.Tiles
element, and one thing I'm running into is that the mapbox library that plotly uses expects coordinates in lat/lon (even though they are displayed in Web Mercator). In the past I've done this with pyproj. How would you all feel about the Plotly backend using pyproj as an optional dependency for the Tiles
element? @philippjfr
scattermapbox
trace (for geo scatter plots) that's separate from the scatter
trace. Are these the same thing for Bokeh? I'm wondering if I'll need to do something special in the overlay plot logic to check whether to convert the Scatter
element into a plotly scatter
or scattermapbox
trace.
hv.Scatter
dimension values as web-mercator and would perform the conversion to lat/lon internall during display.
hv.Scatter
will be of a different type when the hv.Scatter
is overlayed with an hv.Tiles
element.
import numpy as np
import holoviews as hv
from holoviews import opts
hv.extension('bokeh')
from bokeh.models import HoverTool
from bokeh.models import CustomJSHover
ls = np.linspace(0, 10, 200)
xx, yy = np.meshgrid(ls, ls)
MyCustomZ = CustomJSHover(code='''return "test";''')
MyHover1 = HoverTool(
tooltips=[
( 'newx', '@x'),
( 'newy', '@y'),
( 'newz', '@z{custom}'),
],
formatters={
'x' : 'numeral',
'y' : 'numeral',
'@z' : MyCustomZ,
},
point_policy="follow_mouse"
)
img = hv.Image(np.sin(xx)*np.cos(yy)).opts(tools=[MyHover1])
img