Contour Font Sizes

Hi! I’m new to PyGMT and just starting to figure things out and get started with plotting some contour plots. I was wondering if there is an easy way to change the font size of the contour labels? I found pygmt.config to control these following parameters, but haven’t been able to find one that changes contour font size.
pygmt.config(FONT = ‘18p’)
Is there also a good source to find all of these pygmt.config params? I looked at the source code but didn’t seem to find a full list. Thank you!

This is the list of configuration parameters:

But to control contour annotation sizes, you should use a string input to the annotation parameter in pygmt.Figure.contour (for pygmt.Figure.grdcontour you could use string or list). For example, annotation="10+f18p" would make the contour labels every 10 units apart with a 18 point font.

Hi Meghan! Thank you so much for your response! This helps immensely and solves the problem.