Using Matplotlib Magic Functions Which Code Set