We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 486930b commit ed6df48Copy full SHA for ed6df48
PlotsBase/ext/GastonExt.jl
@@ -180,13 +180,11 @@ for (mime, term) in (
180
term = String($term)
181
if plt.o ≢ nothing
182
filename = tempname() * ".$term"
183
- ret = Gaston.producefigure(plt.o; filename, term = "$term $(gaston_saveopts(plt))")
184
- if ret ≡ nothing || ret
185
- while !isfile(filename)
186
- end # avoid race condition with read in next line
187
- write(io, read(filename))
188
- end
189
- isfile(filename) && rm(filename, force = true)
+ Gaston.producefigure(plt.o; filename, term = "$term $(gaston_saveopts(plt))")
+ while !isfile(filename)
+ end # avoid race condition with read in next line
+ write(io, read(filename))
+ rm(filename; force = true)
190
end
191
return nothing
192
0 commit comments