def _show_cmap(cmap):
 from .rcmod import axes_style
 with axes_style('white'):
  (f, ax) = plt.subplots(figsize=(8.25, 0.75))
 ax.set(xticks=[], yticks=[])
 x = np.linspace(0, 1, 256)[np.newaxis, :]
 ax.pcolormesh(x, cmap=cmap)

def _show_cmap ( cmap ) : from . rcmod import axes_style with axes_style ( 'white' ) : ( f , ax ) = plt . subplots ( figsize = ( 8.25 , 0.75 ) ) ax . set ( xticks = [ ] , yticks = [ ] ) x = np . linspace ( 0 , 1 , 256 ) [ np . newaxis , : ] ax . pcolormesh ( x , cmap = cmap )
show a continuous matplotlib colormap .