Logo Search packages:      
Sourcecode: matplotlib version File versions

colorbar_only Namespace Reference


Detailed Description

Make a colorbar as a separate figure.


Variables

tuple ax1 = fig.add_axes([0.05, 0.65, 0.9, 0.15])
tuple ax2 = fig.add_axes([0.05, 0.25, 0.9, 0.15])
list bounds = [1, 2, 4, 7, 8]
tuple cb1
tuple cb2
 cmap = mpl.cm.cool
tuple fig = pyplot.figure(figsize=(8,3))
tuple norm = mpl.colors.Normalize(vmin=5, vmax=10)


Generated by  Doxygen 1.6.0   Back to index