From 63da2871fcb7757f837d7295a6540a33c36f455f Mon Sep 17 00:00:00 2001 From: Corentin Le Molgat Date: Mon, 17 Jan 2022 09:27:54 +0100 Subject: [PATCH] sync constraint_solver doc --- ortools/constraint_solver/doc/routing_svg.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/ortools/constraint_solver/doc/routing_svg.py b/ortools/constraint_solver/doc/routing_svg.py index 8e2610cd3d..7f54b84a32 100755 --- a/ortools/constraint_solver/doc/routing_svg.py +++ b/ortools/constraint_solver/doc/routing_svg.py @@ -442,8 +442,7 @@ class SVGPrinter(object): # pylint: disable=too-many-instance-attributes print(r'') color = self._color_palette.value_from_name('black') loc = self._data.locations[self._data.depot] - self._svg.draw_circle(loc, self._radius, self._stroke_width, color, - 'white') + self._svg.draw_circle(loc, self._radius, self._stroke_width, color, 'white') self._svg.draw_text(self._data.depot, loc, self._radius, 'none', color) def draw_depots(self): @@ -461,8 +460,7 @@ class SVGPrinter(object): # pylint: disable=too-many-instance-attributes # print end color = self._color_palette.value_from_name('black') loc = self._data.locations[0] - self._svg.draw_circle(loc, self._radius, self._stroke_width, color, - 'white') + self._svg.draw_circle(loc, self._radius, self._stroke_width, color, 'white') self._svg.draw_text(0, loc, self._radius, 'none', color) def draw_locations(self):