diff --git a/graphslam/edge/base_edge.py b/graphslam/edge/base_edge.py index 3dc2330..c41e4eb 100644 --- a/graphslam/edge/base_edge.py +++ b/graphslam/edge/base_edge.py @@ -175,7 +175,7 @@ def plot(self, color=''): raise NotImplementedError def approx_equal(self, other, tol=1e-6): - """Check whether two poses edges approximately equal. + """Check whether two edges are approximately equal. Parameters ---------- diff --git a/graphslam/graph.py b/graphslam/graph.py index e2826b0..6434780 100644 --- a/graphslam/graph.py +++ b/graphslam/graph.py @@ -350,7 +350,7 @@ def plot(self, vertex_color='r', vertex_marker='o', vertex_markersize=3, edge_co plt.show() def approx_equal(self, other, tol=1e-6): - """Check whether two graphs are (approximately) equal. + """Check whether two graphs are approximately equal. Parameters ---------- diff --git a/tests/test_base_edge.py b/tests/test_base_edge.py index f09d369..f22bf8a 100644 --- a/tests/test_base_edge.py +++ b/tests/test_base_edge.py @@ -128,9 +128,7 @@ def test_plot(self): e.plot() def test_approx_equal(self): - """Test that the ``approx_equal`` method works as expected. - - """ + """Test that the ``approx_equal`` method works as expected.""" p1 = PoseR2([1, 2]) p2 = PoseR2([3, 4]) estimate = PoseR2([0, 0])