diff --git a/Makefile b/Makefile index 53ffaf6..f2f1763 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,3 @@ all: @rm -f src/*.cov - @julia --project --threads 6 make.jl + @julia --project --color=yes --threads 6 make.jl diff --git a/replication/construction_diagrams/construction_diagrams.jl b/replication/construction_diagrams/construction_diagrams.jl index 283dfd0..e2f9e13 100644 --- a/replication/construction_diagrams/construction_diagrams.jl +++ b/replication/construction_diagrams/construction_diagrams.jl @@ -1,7 +1,6 @@ using MondrianForests using PyPlot using Random -using Revise rcParams = PyPlot.PyDict(PyPlot.matplotlib."rcParams") rcParams["text.usetex"] = true diff --git a/replication/piet_diagram/piet_diagram.jl b/replication/piet_diagram/piet_diagram.jl index b6451b9..2815304 100644 --- a/replication/piet_diagram/piet_diagram.jl +++ b/replication/piet_diagram/piet_diagram.jl @@ -1,7 +1,6 @@ using MondrianForests using PyPlot using Random -using Revise rcParams = PyPlot.PyDict(PyPlot.matplotlib."rcParams") rcParams["text.usetex"] = true diff --git a/replication/theorem_diagrams/theorem_diagrams.jl b/replication/theorem_diagrams/theorem_diagrams.jl index 4898bb4..784f7b7 100644 --- a/replication/theorem_diagrams/theorem_diagrams.jl +++ b/replication/theorem_diagrams/theorem_diagrams.jl @@ -1,7 +1,6 @@ using MondrianForests using PyPlot using Random -using Revise rcParams = PyPlot.PyDict(PyPlot.matplotlib."rcParams") rcParams["text.usetex"] = true diff --git a/replication/weather/weather_cv.jl b/replication/weather/weather_cv.jl index 0f8afdd..ed75453 100644 --- a/replication/weather/weather_cv.jl +++ b/replication/weather/weather_cv.jl @@ -1,4 +1,3 @@ -using Revise using CSV using DataFrames using PyPlot diff --git a/shell.nix b/shell.nix new file mode 100644 index 0000000..52ce8e7 --- /dev/null +++ b/shell.nix @@ -0,0 +1,15 @@ +let +pkgs = import { }; +in pkgs.mkShell { + buildInputs = with pkgs; [ + cacert + julia + python3Packages.matplotlib + texlive.combined.scheme-full + git + ]; + shellHook = '' + # run this to link Julia PyCall package to nixpkgs python3 + #julia --color=yes -e 'using Pkg; ENV["PYTHON"]="${pkgs.python3}/bin/python3"; Pkg.build("PyCall")' + ''; +}