Commit 9e1acacc authored by kberry's avatar kberry
Browse files

minor doc fix and removed unnecessary imports

parent fd9b529a
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -51,7 +51,7 @@ def calculate_slope(x1, x2):
    Returns
    Returns
    -------
    -------
    : dataframe
    : dataframe
      A dataframe with the slope between x1 and x2 for each row.
      A dataframe with the slope between the points in x1 and x2 for each row.
    """
    """
    slopes = (x2.y.values - x1.y.values)/(x2.x.values-x1.x.values)
    slopes = (x2.y.values - x1.y.values)/(x2.x.values-x1.x.values)
    return pd.DataFrame(slopes, columns=['slope'])
    return pd.DataFrame(slopes, columns=['slope'])
+0 −1
Original line number Original line Diff line number Diff line
@@ -8,7 +8,6 @@ import numpy as np
import numpy.testing
import numpy.testing
import pandas as pd
import pandas as pd
from autocnet.transformation import transformations
from autocnet.transformation import transformations
from autocnet.fileio import utils


class TestHomography(unittest.TestCase):
class TestHomography(unittest.TestCase):