fix display
This commit is contained in:
parent
f11d5b1e63
commit
8636718c88
@ -26,6 +26,7 @@ function surface_to_vecs(x::AVec, y::AVec, s::Union{AMat, Surface})
|
|||||||
return xn, yn, zn
|
return xn, yn, zn
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Base.display(pgfx_plot::PGFPlotsXPlot) = display(pgfx_plot.the_plot)
|
||||||
function Base.show(io::IO, mime::MIME, pgfx_plot::PGFPlotsXPlot)
|
function Base.show(io::IO, mime::MIME, pgfx_plot::PGFPlotsXPlot)
|
||||||
show(io::IO, mime, pgfx_plot.the_plot)
|
show(io::IO, mime, pgfx_plot.the_plot)
|
||||||
end
|
end
|
||||||
@ -705,8 +706,5 @@ function _show(io::IO, mime::MIME"application/x-tex", plt::Plot{PGFPlotsXBackend
|
|||||||
end
|
end
|
||||||
|
|
||||||
function _display(plt::Plot{PGFPlotsXBackend})
|
function _display(plt::Plot{PGFPlotsXBackend})
|
||||||
# fn = string(tempname(),".svg")
|
|
||||||
# PGFPlotsX.pgfsave(fn, plt.o)
|
|
||||||
# open_browser_window(fn)
|
|
||||||
plt.o
|
plt.o
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user