Show plot marker if there's only one data point

This commit is contained in:
DarkPhoenix
2019-07-26 12:29:10 +03:00
parent 530dd1c03b
commit ae8fb25d3f

View File

@@ -235,7 +235,11 @@ class GraphFrame(wx.Frame):
elif max_y_this is not None:
max_y = max(max_y, max_y_this)
self.subplot.plot(xs, ys)
if len(xs) == 1 and len(ys) == 1:
self.subplot.plot(xs, ys, '.')
else:
self.subplot.plot(xs, ys)
if target is None:
legend.append(self.getObjName(fit))
else: