Skip to content

Commit db37dae

Browse files
committed
import error
1 parent def51ce commit db37dae

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎spatialmath/base/graphics.py‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import matplotlib.pyplot as plt
2+
from spatialmath.base.vectors import getvector
23
import numpy as np
34

45
def plot_box(ax=None,
@@ -294,7 +295,7 @@ def expand_dims(dim=None, nd=2):
294295
* [A,B] -> [A, B, A, B, A, B]
295296
* [A,B,C,D,E,F] -> [A, B, C, D, E, F]
296297
"""
297-
dim = base.getvector(dim)
298+
dim = getvector(dim)
298299

299300
if nd == 2:
300301
if len(dim) == 1:

0 commit comments

Comments
 (0)