don't add .tex to .tikz
If we reach this point, we already checked if the extension is existent. This used to append `.tex` if saving as `.tikz` file, which is unwanted.
This commit is contained in:
parent
7a6617efe3
commit
2c3f79783d
@ -45,7 +45,6 @@ end
|
||||
eps(fn::AbstractString) = eps(current(), fn)
|
||||
|
||||
function tex(plt::Plot, fn::AbstractString)
|
||||
fn = addExtension(fn, "tex")
|
||||
io = open(fn, "w")
|
||||
show(io, MIME("application/x-tex"), plt)
|
||||
close(io)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user