Closed philippjfr closed 5 years ago
Code snippet that does produce the error:
data_df = pd.read_csv(input_param.hurricane_path_file, delimiter=',', header=0, parse_dates=['Datetime'])
gvpath = gv.Path([data_df], kdims=['Longitude', 'Latitude'], vdims=['Datetime','Pressure','Max_Wind_Speed','Radius',
'Direction_Degrees','Direction_Speed'],
crs=proj).redim.range(Max_Wind_Speed=(35, 155))
gvpoint = gv.Points(data_df, kdims=['Longitude', 'Latitude'], vdims=['Datetime','Pressure','Max_Wind_Speed','Radius',
'Direction_Degrees','Direction_Speed'],
crs=proj).redim.range(Max_Wind_Speed=(35, 155))
annot = PolyAndPointAnnotator(path_type=Path, polys=gvpath, points=gvpoint,
point_columns=['Pressure','Max_Wind_Speed'],
tile_url='https://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{Z}/{Y}/{X}',
crs=proj)
(annot.tiles * annot.polys * annot.points + annot.point_table).cols(1)
proj = ccrs.PlateCarree()
hurricane_path_file = florence.txt
Can't reproduce this anymore, please reopen if you can @kcpevey.
For some reason points are not draggable when using the annotators but when running through the drawing tools notebook it works fine.