Added figure and axis objects to pyplot initializer