Add the frame of a plot to el, with the box for its layers inside (see PlotBox). Call fit with the size of the element and the theme before the first draw, and again on each resize and new theme.
el
fit
Add the frame of a plot to
el, with the box for its layers inside (see PlotBox). Callfitwith the size of the element and the theme before the first draw, and again on each resize and new theme.