plt imshow figsize code example
Example 1: plt figsize
plt.figure(figsize=(20,10))
Example 2: matplotlib.pyplot imshow size
from matplotlib import pyplot as plt
plt.figure(figsize = (20,2))
plt.imshow(random.rand(8, 90), interpolation='nearest')