Set the default figure size to be [sizex, sizey]. This is just an easy to remember, convenience wrapper that sets:: matplotlib.rcParams['figure.figsize'] = [sizex, sizey]
(sizex, sizey)
| 84 | |
| 85 | |
| 86 | def figsize(sizex, sizey): |
| 87 | """Set the default figure size to be [sizex, sizey]. |
| 88 | |
| 89 | This is just an easy to remember, convenience wrapper that sets:: |
| 90 | |
| 91 | matplotlib.rcParams['figure.figsize'] = [sizex, sizey] |
| 92 | """ |
| 93 | import matplotlib |
| 94 | matplotlib.rcParams['figure.figsize'] = [sizex, sizey] |
| 95 | |
| 96 | |
| 97 | def print_figure(fig, fmt='png', bbox_inches='tight', **kwargs): |
nothing calls this directly
no outgoing calls
no test coverage detected