How to use 'matplotlib figure size' in Python

Every line of 'matplotlib figure size' code snippets is scanned for vulnerabilities by our powerful machine learning engine that combs millions of open source libraries, ensuring your Python code is secure.

All examples are scanned by Snyk Code

By copying the Snyk Code Snippets you agree to
23def figsize(sizex, sizey):
24 """Set the default figure size to be [sizex, sizey].
25 This is just an easy to remember, convenience wrapper that sets::
26 matplotlib.rcParams['figure.figsize'] = [sizex, sizey]
27 """
28 import matplotlib
29 matplotlib.rcParams['figure.figsize'] = [sizex, sizey]

Related snippets