diff --git a/.travis.yml b/.travis.yml index da45839a..abf00122 100644 --- a/.travis.yml +++ b/.travis.yml @@ -17,10 +17,12 @@ addons: packages: - at-spi2-core - libgtk-3-dev - - texlive-base - xauth - xvfb +env: + - GKS_ENCODING="utf8" + cache: directories: - $HOME/.julia/artifacts diff --git a/Project.toml b/Project.toml index 26d82018..1b164cc1 100644 --- a/Project.toml +++ b/Project.toml @@ -55,7 +55,6 @@ GeometryTypes = "4d00f742-c7ba-57c2-abde-4428a4b178cb" Gtk = "4c0ca9eb-093a-5379-98c5-f87ac0bbbf44" ImageMagick = "6218d12a-5da1-5696-b52f-db25d2ecc6d1" Images = "916415d5-f1e6-5110-898d-aaa5f9f070e0" -LaTeXStrings = "b964fa9f-0449-5b57-a5c2-d3ea65f4040f" LibGit2 = "76f85450-5226-5b5a-8eaa-529ad045b433" OffsetArrays = "6fe1bfb0-de20-5000-8ca7-80f57d26f881" PGFPlotsX = "8314cec4-20b6-5062-9cdb-752b83310925" @@ -69,4 +68,4 @@ UnicodePlots = "b8865327-cd53-5732-bb35-84acbb429228" VisualRegressionTests = "34922c18-7c2a-561c-bac1-01e79b2c4c92" [targets] -test = ["FileIO", "GeometryTypes", "Gtk", "ImageMagick", "Images", "LaTeXStrings", "LibGit2", "OffsetArrays", "PGFPlotsX", "HDF5", "Random", "RDatasets", "StaticArrays", "StatsPlots", "Test", "UnicodePlots", "VisualRegressionTests"] +test = ["FileIO", "GeometryTypes", "Gtk", "ImageMagick", "Images", "LibGit2", "OffsetArrays", "PGFPlotsX", "HDF5", "Random", "RDatasets", "StaticArrays", "StatsPlots", "Test", "UnicodePlots", "VisualRegressionTests"] diff --git a/src/examples.jl b/src/examples.jl index 5ae70450..a1592df8 100644 --- a/src/examples.jl +++ b/src/examples.jl @@ -895,13 +895,13 @@ const _examples = PlotExample[ [ quote begin - using Plots, LaTeXStrings + using Plots default( titlefont = (20, "times"), legendfontsize = 18, guidefont = (18, :darkgreen), tickfont = (12, :orange), - guide = L"x", + guide = "x", framestyle = :zerolines, yminorgrid = true ) @@ -909,9 +909,9 @@ const _examples = PlotExample[ [sin, cos], -2π, 2π, - label = [L"sin(\theta)" L"cos(\theta)"], + label = ["sin(θ)" "cos(θ)"], title = "Trigonometric Functions", - xlabel = L"\theta", + xlabel = "θ", linewidth = 2, legend = :outertopleft, ) diff --git a/test/runtests.jl b/test/runtests.jl index e5c74b58..9b36f097 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -8,7 +8,6 @@ using Gtk using LibGit2 using GeometryTypes using Dates -using LaTeXStrings include("test_hdf5plots.jl") include("test_pgfplotsx.jl")