def Pcolor(xs, ys, zs, pcolor=True, contour=False, **options):
 _Underride(options, linewidth=3, cmap=matplotlib.cm.Blues)
 (X, Y) = np.meshgrid(xs, ys)
 Z = zs
 x_formatter = matplotlib.ticker.ScalarFormatter(useOffset=False)
 axes = pyplot.gca()
 axes.xaxis.set_major_formatter(x_formatter)
 if pcolor:
  pyplot.pcolormesh(X, Y, Z, **options)
 if contour:
  cs = pyplot.contour(X, Y, Z, **options)
  pyplot.clabel(cs, inline=1, fontsize=10)

def Pcolor ( xs , ys , zs , pcolor = True , contour = False , ** options ) : _Underride ( options , linewidth = 3 , cmap = matplotlib . cm . Blues ) ( X , Y ) = np . meshgrid ( xs , ys ) Z = zs x_formatter = matplotlib . ticker . ScalarFormatter ( useOffset = False ) axes = pyplot . gca ( ) axes . xaxis . set_major_formatter ( x_formatter ) if pcolor : pyplot . pcolormesh ( X , Y , Z , ** options ) if contour : cs = pyplot . contour ( X , Y , Z , ** options ) pyplot . clabel ( cs , inline = 1 , fontsize = 10 )
makes a pseudocolor plot .