avoid import

This commit is contained in:
CarloLucibello 2018-03-28 09:50:10 -07:00
parent 8bc28d472f
commit dd6842522f
2 changed files with 1 additions and 2 deletions

View File

@ -15,7 +15,6 @@ using Base.Meta
import Showoff
import StatsBase
import JSON
import Base.Iterators: filter
using Requires

View File

@ -162,7 +162,7 @@ function addUnicodeSeries!(o, d::KW, addlegend::Bool, xlim, ylim)
color = d[:linecolor] in UnicodePlots.color_cycle ? d[:linecolor] : :auto
# add the series
x, y = Plots.unzip(collect(filter(xy->isfinite(xy[1])&&isfinite(xy[2]), zip(x,y))))
x, y = Plots.unzip(collect(Base.Iterators.filter(xy->isfinite(xy[1])&&isfinite(xy[2]), zip(x,y))))
func(o, x, y; color = color, name = label)
end