diff --git a/src/sage/plot/arrow.py b/src/sage/plot/arrow.py index 8e6c8c6b470..a2e4030aa99 100644 --- a/src/sage/plot/arrow.py +++ b/src/sage/plot/arrow.py @@ -405,10 +405,7 @@ def __call__(self, renderer, gc, tpath, affine, rgbFace): vert1, code1 = path.vertices, path.codes import numpy as np - if np.array_equal(vert1, tpath.vertices) and np.array_equal(code1, tpath.codes): - return True - else: - return False + return np.array_equal(vert1, tpath.vertices) and np.array_equal(code1, tpath.codes) class ConditionalStroke(pe.RendererBase):