Fix UndefVarError: series not defined

This commit is contained in:
O01eg 2019-02-09 12:38:57 +03:00
parent 87af609a6f
commit 3a2b6296ac
No known key found for this signature in database
GPG Key ID: 8FBA74B3E78B4677

View File

@ -116,7 +116,7 @@ function addUnicodeSeries!(o, plotattributes::KW, addlegend::Bool, xlim, ylim)
x, y = if st == :straightline x, y = if st == :straightline
straightline_data(plotattributes) straightline_data(plotattributes)
elseif st == :shape elseif st == :shape
shape_data(series) shape_data(plotattributes)
else else
[collect(float(plotattributes[s])) for s in (:x, :y)] [collect(float(plotattributes[s])) for s in (:x, :y)]
end end