Moved setupPie into the draw function.
This code is only used to prepare the plot for drawing; inlining it is cleaner and will allow us to get rid of some plugin-global variables that existed only to give setupPie a way to share data with the draw function.
Showing
Please
register
or
sign in
to comment