Using Matplotlib Magic Functions Which Code Starts With