Set matplotlib parameters for creating publication quality graphics.

Usage

figstyle([rel_width, screen_dpi, aspect_ratio, max_width])

Parameters

rel_width : float, optional, default = 0.75
The relative width of the plot (from 0 to 1) wih respect to max_width`.
screen_dpi : int, optional, default = 114
The screen resolution of the display in dpi, which determines the size of the plot on the display.
aspect_ratio : float, optional, default = 4/3
The aspect ratio of the plot.
max_width : float, optional, default = 7.48031
The maximum width of the usable area of a journal page in inches.

Description

This function sets a variety of matplotlib parameters for creating publication quality graphics. The default parameters are tailored to AGU/Wiley-Blackwell journals that accept relative widths of 0.5, 0.75, or 1. To reset the maplotlib parameters to their default values, use

matplotlib.pyplot.style.use('default')

Tags: python
Edit me