Configuration

We've just covered some examples of matplotlib customization. Hand in hand with this topic is that of configuration—the tweaking of predefined values to override default behaviors. The matplotlib module offers two ways to override the default values for the configuration settings—you can either run the control files, or run the control parameters that are stored in-memory to make changes to a running instance.

The run control for matplotlib

While commonly expanded to the run control, the .rc extension and -rc suffix trace their origins to 1965 and the Multics (short for Multiplexed Information and Computing Service) operating system, where rc stood for the run command. Like many software systems that were developed on UNIX- or BSD-based ...

Get Mastering matplotlib now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.