fig2 = pylab.figure()
ax1 = fig1.add_subplot(111)
ax2 = fig2.add_subplot(111)
ax1.scatter(list(range(10)), list(range(10)), c=list(range(10)), alpha=0.2)
im = ax2.scatter(list(range(10)), list(range(10)), c=list(range(10)), alpha=1.0)
fig1.colorbar(im, ax=ax1)
fig1.show()
Partially transparent scatter plot, but with a solid color bar