Merge 97bc68f15450ac52aaee313f84e88e67cc987941 into d892c575968db1b562c5d0b7f6c12ba2074d9199

This commit is contained in:
Fredrik Ekre 2016-08-29 07:30:51 +00:00 committed by GitHub
commit 7a54fbb727
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