matplotlib.figure.Figure.set_figwidth

Figure.set_figwidth(val, forward=True)[source]

Set the width of the figure in inches.

Parameters:
valfloat
forwardbool

See set_size_inches.

© 2012–2023 Matplotlib Development Team. All rights reserved.
Licensed under the Matplotlib License Agreement.
https://matplotlib.org/stable/api/_as_gen/matplotlib.figure.Figure.set_figwidth.html