You can use the jt command to change the theme of a new Python code file. Open a new Python file and in the first line, type %matplotlib inline. In the next line, type the jt command and your preferred theme.