Commit 7779af65 authored by Mario's avatar Mario
Browse files

fixing single value "lines"

parent 29a0511e
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -1060,6 +1060,15 @@ class Plot(object):
            x = dict_line["x"]
            y = dict_line["y"]

            try:
                len(x)
            except TypeError:
                x = np.array([x])
            try:
                len(y)
            except TypeError:
                y = np.array([y])

            if self.x_axis_scale == "log":
                x = np.array(np.abs(x))
            else: