From 236d583f9f087227a8e8c91b4f3737fc4a049953 Mon Sep 17 00:00:00 2001 From: Maxime Liquet <35924738+maximlt@users.noreply.github.com> Date: Wed, 24 Nov 2021 11:39:54 +0100 Subject: [PATCH] add missing _process_msg method to GeoPolyEditCallback (#539) --- geoviews/plotting/bokeh/callbacks.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/geoviews/plotting/bokeh/callbacks.py b/geoviews/plotting/bokeh/callbacks.py index fc4ec94b..ba65c435 100644 --- a/geoviews/plotting/bokeh/callbacks.py +++ b/geoviews/plotting/bokeh/callbacks.py @@ -255,6 +255,10 @@ def _update_cds_vdims(self, data): class GeoPolyEditCallback(PolyEditCallback): + def _process_msg(self, msg): + msg = super(GeoPolyEditCallback, self)._process_msg(msg) + return project_poly(self, msg) + def _update_cds_vdims(self, data): if isinstance(self.source, Shape): return