Skip to content

Commit

Permalink
Ensure GeoBoxEditCallback retains vdims (#425)
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr committed Jan 9, 2020
1 parent 7093995 commit 5df9239
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion geoviews/plotting/bokeh/callbacks.py
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ def _process_msg(self, msg):
return msg

boxes = msg['data']
data = {'x0': [], 'y0': [], 'x1': [], 'y1': []}
data = dict(boxes, x0=[], y0=[], x1=[], y1=[])
for extent in zip(boxes['x0'], boxes['y0'], boxes['x1'], boxes['y1']):
x0, y0, x1, y1 = project_extents(extent, proj, element.crs)
data['x0'].append(x0)
Expand Down

0 comments on commit 5df9239

Please sign in to comment.