fix gr_display

This commit is contained in:
shipengcheng1230 2019-05-12 13:14:03 -04:00
parent f742ae4c88
commit 405df5da8b

View File

@ -860,7 +860,7 @@ function gr_display(sp::Subplot{GRBackend}, w, h, viewport_canvas)
legendn += 1
if typeof(series[:label]) <: Array
legendi += 1
lab = series[:label][i]
lab = series[:label][legendi]
else
lab = series[:label]
end