Using Matplotlib Magic Functions Which Code Reflects