M is right, you can use --TerminalIPythonApp.matplotlib that should
apply only to the terminal frontend. --IPKernelApp.matplotlib would
apply only to the kernel.
Usually when I have a question like that, I use the following (replace
matplotlib by whatever option you need) to see all the options
available.
$ python -m ipykernel --help-all | grep matplotlib | grep '\-\-' and
$ ipython --help-all | grep matplotlib | grep '\-\-'
all the --UpperCase.lowercase are command line flags with equivalent
c.UpperCase.lowercase you can use in config files.
Obviously the one that appear in both of the above command affect
Terminal and notebook (technically ipykernel) at the same time, those
that appear only in one affect only said command.
--
M (the other one).
>
https://groups.google.com/d/msgid/jupyter/CAM3SX47HGyyXiySu9EU1bzFkGCAz_RHO1-5At%2B4V883PqhPgDQ%40mail.gmail.com.