This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import matplotlib.pyplot as plt | |
from matplotlib.gridspec import GridSpec | |
from numpy.random import randint | |
# Generate array of random values | |
data = randint(0, | |
high=100, | |
size=(100, 100)) | |
# GridSpec object. second column will hold colorbar |