I am using several subplots. In these subplots data is plotted using imshow
. The options I pass to imshow
are identical for almost all of the subplots. However, they pollute my code due to the length of the options.
The options I use include:
extent
cmap
norm
origin
interpolation
To have a better overview of my code I would like to define the options once and call them for each subplot. What is a pythonic way to do this?