fix prepare object

This commit is contained in:
Fredrik Ekre 2016-08-29 09:24:20 +02:00
parent d892c57596
commit 97bc68f154
2 changed files with 6 additions and 5 deletions

View File

@ -333,3 +333,9 @@ function _display(plt::Plot{PGFPlotsBackend})
# cleanup # cleanup
PGFPlots.cleanup(plt.o) PGFPlots.cleanup(plt.o)
end end
function prepared_object(plt::Plot{PGFPlotsBackend})
prepare_output(plt)
_make_pgf_plot!(plt)
plt.o
end

View File

@ -251,11 +251,6 @@ function prepare_output(plt::Plot)
_update_plot_object(plt) _update_plot_object(plt)
end end
function prepared_object(plt::Plot)
prepare_output(plt)
plt.o
end
# -------------------------------------------------------------------- # --------------------------------------------------------------------
# plot to a Subplot # plot to a Subplot