avoid import
This commit is contained in:
parent
8bc28d472f
commit
dd6842522f
@ -15,7 +15,6 @@ using Base.Meta
|
|||||||
import Showoff
|
import Showoff
|
||||||
import StatsBase
|
import StatsBase
|
||||||
import JSON
|
import JSON
|
||||||
import Base.Iterators: filter
|
|
||||||
|
|
||||||
using Requires
|
using Requires
|
||||||
|
|
||||||
|
|||||||
@ -162,7 +162,7 @@ function addUnicodeSeries!(o, d::KW, addlegend::Bool, xlim, ylim)
|
|||||||
color = d[:linecolor] in UnicodePlots.color_cycle ? d[:linecolor] : :auto
|
color = d[:linecolor] in UnicodePlots.color_cycle ? d[:linecolor] : :auto
|
||||||
|
|
||||||
# add the series
|
# 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)
|
func(o, x, y; color = color, name = label)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user