Fix missing dependency "centroiding" of webplot

Set import centroiding conditionally to avoid the dependency issue if
webplot runs locally on Chromebook.

clean up unnecessary space line by the way.

BUG=chromium:563725
TEST=manual test

Change-Id: Id6a1c8c743c121392ff6ed46e7d22c0909bd6b72
Reviewed-on: https://chromium-review.googlesource.com/316468
Commit-Ready: Pin-chih Lin <johnylin@chromium.org>
Tested-by: Pin-chih Lin <johnylin@chromium.org>
Reviewed-by: Charlie Mooney <charliemooney@chromium.org>
Reviewed-by: Shyh-In Hwang <josephsih@chromium.org>
2 files changed