figure with use pyplot in interactive mode.