You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I saw that ColoredPoints was a part of the Winston package and tried to make a plot with it, but Julia seems to not register its existence?
julia> Points
Points (constructor with 2 methods)
julia> ColoredPoints
UndefVarError(:ColoredPoints)
I checked Wiston.jl and nothing looks out of order.
type ColoredPoints <: SymbolDataComponent
attr::PlotAttributes
x
y
s
c
function ColoredPoints(x, y, s, c, args...; kvs...)
self = new(Dict())
iniattr(self)
kw_init(self, args...; kvs...)
self.x = x
self.y = y
self.s = s
self.c = c
self
end
end
kw_defaults(::ColoredPoints) = @Dict(
:symbolkind => config_value("Points","symbolkind"),
:symbolsize => config_value("Points","symbolsize"),
)
limits(self::ColoredPoints, window::BoundingBox) =
bounds_within(self.x, self.y, window)
function make(self::ColoredPoints, context::PlotContext)
x, y = project(context.geom, self.x, self.y)
GroupPainter(getattr(self,:style), ColoredSymbolsPainter(x, y, self.s, self.c))
end
function ColoredPoints(x::Real, y::Real, args...)
return ColoredPoints([x], [y], args...)
end
I'm using JuliaStudio 0.4.5. Version Info:
julia> versioninfo()
Julia Version 0.3.0
Commit 7681878 (2014-08-20 20:43 UTC)
Platform Info:
System: Windows (x86_64-w64-mingw32)
CPU: Intel(R) Core(TM) i7-3537U CPU @ 2.00GHz
WORD_SIZE: 64
BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Sandybridge)
LAPACK: libopenblas
LIBM: libopenlibm
LLVM: libLLVM-3.3
The text was updated successfully, but these errors were encountered:
I saw that ColoredPoints was a part of the Winston package and tried to make a plot with it, but Julia seems to not register its existence?
I checked Wiston.jl and nothing looks out of order.
I'm using JuliaStudio 0.4.5. Version Info:
The text was updated successfully, but these errors were encountered: