Created
March 29, 2016 13:12
-
-
Save ScottPJones/8122d2da3c7ecfa0e3dc to your computer and use it in GitHub Desktop.
Compose & Gadfly problems in v0.5
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 22:05 $ julia | |
| _ | |
| _ _ _(_)_ | A fresh approach to technical computing | |
| (_) | (_) (_) | Documentation: http://docs.julialang.org | |
| _ _ _| |_ __ _ | Type "?help" for help. | |
| | | | | | | |/ _` | | | |
| | | |_| | | | (_| | | Version 0.5.0-dev+3301 (2016-03-28 22:55 UTC) | |
| _/ |\__'_|_|_|\__'_| | Commit 9066e43 (0 days old master) | |
| |__/ | x86_64-apple-darwin15.4.0 | |
| julia> Pkg.clone("/j/DataStructures.jl") | |
| INFO: Initializing package repository /Users/scott/.julia/v0.5 | |
| INFO: Cloning METADATA from https://github.com/JuliaLang/METADATA.jl | |
| INFO: Cloning DataStructures from /j/DataStructures.jl | |
| INFO: Computing changes... | |
| INFO: No packages to install, update or remove | |
| INFO: Package database updated | |
| julia> Pkg.checkout("DataStructures","spj/fixv05") | |
| INFO: Checking out DataStructures spj/fixv05... | |
| INFO: Pulling DataStructures latest spj/fixv05... | |
| INFO: No packages to install, update or remove | |
| julia> Pkg.clone("/j/Compose.jl") | |
| INFO: Cloning Compose from /j/Compose.jl | |
| INFO: Computing changes... | |
| INFO: Installing ColorTypes v0.2.1 | |
| INFO: Installing Colors v0.6.3 | |
| INFO: Installing Compat v0.7.12 | |
| INFO: Installing FixedPointNumbers v0.1.2 | |
| INFO: Installing Iterators v0.1.9 | |
| INFO: Installing JSON v0.5.0 | |
| INFO: Installing Measures v0.0.2 | |
| INFO: Installing Reexport v0.0.3 | |
| INFO: Package database updated | |
| julia> Pkg.checkout("Compose","merged") | |
| INFO: Checking out Compose merged... | |
| INFO: Pulling Compose latest merged... | |
| INFO: No packages to install, update or remove | |
| julia> Pkg.add("Gadfly") | |
| INFO: Installing ArrayViews v0.6.4 | |
| INFO: Installing Calculus v0.1.14 | |
| INFO: Installing Codecs v0.1.5 | |
| INFO: Installing Contour v0.1.0 | |
| INFO: Installing DataArrays v0.2.20 | |
| INFO: Installing DataFrames v0.7.0 | |
| INFO: Installing Dates v0.4.4 | |
| INFO: Installing Distances v0.3.0 | |
| INFO: Installing Distributions v0.8.10 | |
| INFO: Installing Docile v0.5.23 | |
| INFO: Installing DualNumbers v0.2.2 | |
| INFO: Installing FixedSizeArrays v0.0.10 | |
| INFO: Installing GZip v0.2.18 | |
| INFO: Installing Gadfly v0.4.2 | |
| INFO: Installing Grid v0.4.0 | |
| INFO: Installing Hexagons v0.0.4 | |
| INFO: Installing KernelDensity v0.1.2 | |
| INFO: Installing Loess v0.0.6 | |
| INFO: Installing NaNMath v0.2.1 | |
| INFO: Installing Optim v0.4.4 | |
| INFO: Installing PDMats v0.4.1 | |
| INFO: Installing Showoff v0.0.6 | |
| INFO: Installing SortingAlgorithms v0.0.6 | |
| INFO: Installing StatsBase v0.8.0 | |
| INFO: Installing StatsFuns v0.2.0 | |
| INFO: Installing WoodburyMatrices v0.1.5 | |
| INFO: Package database updated | |
| julia> Pkg.checkout("Gadfly") | |
| INFO: Checking out Gadfly master... | |
| INFO: Pulling Gadfly latest master... | |
| INFO: Removing Dates v0.4.4 | |
| julia> using Gadfly | |
| INFO: Precompiling module Gadfly... | |
| WARNING: Method definition (::Type{ArrayViews.UnsafeContiguousView})(Ptr{#T<:Any}, Int64, NTuple{#N<:Any, Int64}) in module ArrayViews at /Users/scott/.julia/v0.5/ArrayViews/src/arrviews.jl:18 overwritten at /Users/scott/.julia/v0.5/ArrayViews/src/arrviews.jl:26. | |
| WARNING: Method definition (::Type{DataArrays.FastPerm})(#O<:Base.Order.Ordering, #V<:AbstractArray{T<:Any, 1}) in module DataArrays at /Users/scott/.julia/v0.5/DataArrays/src/pooleddataarray.jl:598 overwritten at /Users/scott/.julia/v0.5/DataArrays/src/pooleddataarray.jl:601. | |
| WARNING: Method definition PooledDataVecs(DataArrays.PooledDataArray{#S<:Any, #R<:Integer, #N<:Any}, AbstractArray{#S<:Any, #N<:Any}) in module DataArrays at /Users/scott/.julia/v0.5/DataArrays/src/pooleddataarray.jl:645 overwritten at /Users/scott/.julia/v0.5/DataArrays/src/pooleddataarray.jl:650. | |
| WARNING: Method definition map!(Union{Function, DataType}, DataArrays.DataArray, Base.Range) in module DataArrays at /Users/scott/.julia/v0.5/DataArrays/src/broadcast.jl:211 overwritten at /Users/scott/.julia/v0.5/DataArrays/src/broadcast.jl:211. | |
| WARNING: Method definition map!(Union{Function, DataType}, DataArrays.PooledDataArray, Base.Range) in module DataArrays at /Users/scott/.julia/v0.5/DataArrays/src/broadcast.jl:211 overwritten at /Users/scott/.julia/v0.5/DataArrays/src/broadcast.jl:211. | |
| WARNING: Method definition rep(AbstractArray{T<:Any, 1}) in module DataArrays at /Users/scott/.julia/v0.5/DataArrays/src/extras.jl:83 overwritten at /Users/scott/.julia/v0.5/DataArrays/src/extras.jl:98. | |
| WARNING: Base.FileOffset is deprecated, use Int64 instead. | |
| likely near /Users/scott/.julia/v0.5/GZip/src/zlib_h.jl:86 | |
| WARNING: Base.FileOffset is deprecated, use Int64 instead. | |
| likely near /Users/scott/.julia/v0.5/GZip/src/zlib_h.jl:88 | |
| WARNING: Base.FileOffset is deprecated, use Int64 instead. | |
| likely near /Users/scott/.julia/v0.5/GZip/src/zlib_h.jl:88 | |
| WARNING: New definition | |
| write(GZip.GZipStream, Array{#T<:Any, N<:Any}) at /Users/scott/.julia/v0.5/GZip/src/GZip.jl:456 | |
| is ambiguous with: | |
| write(Base.IO, Array{UInt8, N<:Any}) at io.jl:154. | |
| To fix, define | |
| write(GZip.GZipStream, Array{UInt8, N<:Any}) | |
| before the new definition. | |
| WARNING: New definition | |
| write(GZip.GZipStream, Array{#T<:Any, N<:Any}) at /Users/scott/.julia/v0.5/GZip/src/GZip.jl:456 | |
| is ambiguous with: | |
| write(Base.IO, Array{UInt8, N<:Any}) at io.jl:154. | |
| To fix, define | |
| write(GZip.GZipStream, Array{UInt8, N<:Any}) | |
| before the new definition. | |
| WARNING: Base.LambdaStaticData is deprecated, use LambdaInfo instead. | |
| likely near /Users/scott/.julia/v0.5/Docile/src/Utilities.jl:122 | |
| WARNING: New definition | |
| write(GZip.GZipStream, Array{#T<:Any, N<:Any}) at /Users/scott/.julia/v0.5/GZip/src/GZip.jl:456 | |
| is ambiguous with: | |
| write(Base.IO, Array{UInt8, N<:Any}) at io.jl:154. | |
| To fix, define | |
| write(GZip.GZipStream, Array{UInt8, N<:Any}) | |
| before the new definition. | |
| WARNING: Method definition (::Type{Distributions.MvNormalKnownCov})(#Cov<:PDMats.AbstractPDMat) in module Distributions at /Users/scott/.julia/v0.5/Distributions/src/multivariate/mvnormal.jl:149 overwritten at /Users/scott/.julia/v0.5/Distributions/src/multivariate/mvnormal.jl:152. | |
| WARNING: Method definition (::Type{Gadfly.Theme})() in module Gadfly at /Users/scott/.julia/v0.5/Gadfly/src/varset.jl:49 overwritten at /Users/scott/.julia/v0.5/Gadfly/src/varset.jl:53. | |
| WARNING: Method definition (::Type{Gadfly.Data})() in module Gadfly at /Users/scott/.julia/v0.5/Gadfly/src/varset.jl:49 overwritten at /Users/scott/.julia/v0.5/Gadfly/src/varset.jl:53. | |
| WARNING: Method definition (::Type{Gadfly.Aesthetics})() in module Gadfly at /Users/scott/.julia/v0.5/Gadfly/src/varset.jl:49 overwritten at /Users/scott/.julia/v0.5/Gadfly/src/varset.jl:53. | |
| WARNING: Method definition copy(Gadfly.Aesthetics) in module Gadfly at /Users/scott/.julia/v0.5/Gadfly/src/varset.jl:67 overwritten at /Users/scott/.julia/v0.5/Gadfly/src/aesthetics.jl:199. | |
| WARNING: Method definition f(Any) in module Scale at /Users/scott/.julia/v0.5/Gadfly/src/scale.jl:153 overwritten at /Users/scott/.julia/v0.5/Gadfly/src/scale.jl:159. | |
| WARNING: Method definition (::Type{Gadfly.Geom.HexagonalBinGeometry})() in module Geom at /Users/scott/.julia/v0.5/Gadfly/src/geom/hexbin.jl:11 overwritten at /Users/scott/.julia/v0.5/Gadfly/src/geom/hexbin.jl:15. | |
| WARNING: Method definition Type(Array, Type{Gadfly.Geom.HexagonalBinGeometry}) in module Geom overwritten. | |
| WARNING: Method definition (::Type{#FSA<:FixedSizeArrays.FixedArray})(#X<:Any) in module FixedSizeArrays at /Users/scott/.julia/v0.5/FixedSizeArrays/src/constructors.jl:20 overwritten at /Users/scott/.julia/v0.5/FixedSizeArrays/src/constructors.jl:63. | |
| WARNING: Method definition evaluate(Distances.BhattacharyyaDist, #T<:Number, #T<:Number) in module Distances at /Users/scott/.julia/v0.5/Distances/src/bhattacharyya.jl:38 overwritten at /Users/scott/.julia/v0.5/Distances/src/bhattacharyya.jl:44. | |
| WARNING: Method definition abs2(DualNumbers.Dual4) in module DualNumbers at /Users/scott/.julia/v0.5/DualNumbers/src/dual_n.jl:78 overwritten at /Users/scott/.julia/v0.5/DualNumbers/src/dual_n.jl:154. | |
| WARNING: Method definition (::Type{Gadfly.Stat.ContourStatistic})() in module Stat at /Users/scott/.julia/v0.5/Gadfly/src/statistics.jl:1462 overwritten at /Users/scott/.julia/v0.5/Gadfly/src/statistics.jl:1466. | |
| WARNING: Method definition Type(Array, Type{Gadfly.Stat.ContourStatistic}) in module Stat overwritten. | |
| WARNING: Method definition input_aesthetics(Gadfly.Stat.ViolinStatistic) in module Stat at /Users/scott/.julia/v0.5/Gadfly/src/statistics.jl:1641 overwritten at /Users/scott/.julia/v0.5/Gadfly/src/statistics.jl:1646. | |
| WARNING: New definition | |
| write(GZip.GZipStream, Array{#T<:Any, N<:Any}) at /Users/scott/.julia/v0.5/GZip/src/GZip.jl:456 | |
| is ambiguous with: | |
| write(Base.IO, Array{UInt8, N<:Any}) at io.jl:154. | |
| To fix, define | |
| write(GZip.GZipStream, Array{UInt8, N<:Any}) | |
| before the new definition. | |
| julia> plot(x=1:10, y=sin(2*pi*(1:10)/10)) | |
| Error showing value of type Gadfly.Plot: | |
| ERROR: BoundsError: attempt to access (3,2,true) | |
| at index [4] | |
| in plain_precision_heuristic(::Array{Float64,1}) at /Users/scott/.julia/v0.5/Showoff/src/Showoff.jl:97 | |
| in showoff(::Array{Float64,1}, ::Symbol) at /Users/scott/.julia/v0.5/Showoff/src/Showoff.jl:130 | |
| in identity_formatter(::Array{Float64,1}) at /Users/scott/.julia/v0.5/Gadfly/src/scale.jl:76 | |
| in render(::Gadfly.Guide.XTicks, ::Gadfly.Theme, ::Gadfly.Aesthetics, ::Bool) at /Users/scott/.julia/v0.5/Gadfly/src/guide.jl:585 | |
| in #render_prepared#34(::Bool, ::Bool, ::Any, ::Gadfly.Plot, ::Gadfly.Coord.Cartesian, ::Gadfly.Aesthetics, ::Array{Gadfly.Aesthetics,1}, ::Array{Array{Gadfly.StatisticElement,1},1}, ::Array{Array{Gadfly.Aesthetics,1},1}, ::Array{Array{Gadfly.Data,1},1}, ::Dict{Symbol,Gadfly.ScaleElement}, ::Array{Gadfly.GuideElement,1}) at /Users/scott/.julia/v0.5/Gadfly/src/Gadfly.jl:876 | |
| in render(::Gadfly.Plot) at /Users/scott/.julia/v0.5/Gadfly/src/Gadfly.jl:803 | |
| [inlined code] from /Users/scott/.julia/v0.5/Gadfly/src/Gadfly.jl:913 | |
| in display(::Base.REPL.REPLDisplay{Base.REPL.LineEditREPL}, ::MIME{symbol("text/html")}, ::Gadfly.Plot) at /Users/scott/.julia/v0.5/Gadfly/src/Gadfly.jl:1061 | |
| [inlined code] from ./expr.jl:8 | |
| in display(::Gadfly.Plot) at /Users/scott/.julia/v0.5/Gadfly/src/Gadfly.jl:1013 | |
| in print_response(::Base.Terminals.TTYTerminal, ::Any, ::Void, ::Bool, ::Bool, ::Void) at ./REPL.jl:134 | |
| in print_response(::Base.REPL.LineEditREPL, ::Any, ::Void, ::Bool, ::Bool) at ./REPL.jl:121 | |
| in (::Base.REPL.##18#19{Bool,Base.#parse_input_line,Base.REPL.LineEditREPL,Base.LineEdit.Prompt})(::Base.LineEdit.MIState, ::Base.AbstractIOBuffer{Array{UInt8,1}}, ::Bool) at ./REPL.jl:628 | |
| [inlined code] from ./LineEdit.jl:1099 | |
| in run_interface(::Base.Terminals.TTYTerminal, ::Base.LineEdit.ModalInterface) at ./LineEdit.jl:1570 | |
| in run_frontend(::Base.REPL.LineEditREPL, ::Base.REPL.REPLBackendRef) at ./REPL.jl:875 | |
| in run_repl(::Base.REPL.LineEditREPL, ::Any) at ./REPL.jl:166 | |
| in _start() at ./client.jl:360 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment