Tag Archive for 'settings'

Adjust settings for matplotlib using rc and matplotlibrc

The matplotlibrc file contains many useful parameters for tweaking your setup to your liking, and it’s worth at least skimming through to get an idea of what it contains. Editing the file makes more permanent changes, while using the pylab rcParams dictionary or rc() and rcdefaults() functions lets you make and revert changes on the fly.

View the rc parameters by using

import pylab as p
print p.rcParams

Examples ensue.
Continue reading ‘Adjust settings for matplotlib using rc and matplotlibrc’