I am new to matplotlib, and have get stuck in colormaps.

In matplotlib how do I get the whole array of RGB colors for a specific colormap, let's say for "hot". For example if I was in MATLAB I would have just done this:

# in matlab
c = hot(256);
disp(c)

Any ideas?

Edit
Report