Skip to content

Commit

Permalink
Merge pull request #108 from MaximeBouton/master
Browse files Browse the repository at this point in the history
Removed cleanup when saving to .tex
  • Loading branch information
mykelk committed Jan 17, 2019
2 parents 292f937 + e448a79 commit fd80ae5
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/PGFPlots.jl
Expand Up @@ -771,10 +771,8 @@ function save(filename::AbstractString, o::Plottable; include_preamble::Bool=tru
cleanup(o)
elseif ext == ".tex"
save(TEX(filename, include_preamble=include_preamble), plot(o))
cleanup(o)
elseif ext == ".tikz"
save(TIKZ(filename), plot(o))
cleanup(o)
elseif ext == "." || ext == ""
error("You must specify a file extension.")
else
Expand Down

0 comments on commit fd80ae5

Please sign in to comment.