##// END OF EJS Templates
fixed vmin and vmax outside LogNorm due to deprecation
rflores -
r1735:fc643c085446
parent child
Show More
@@ -250,10 +250,10 class DenRTIPlot(RTIPlot):
250 if numpy.log10(self.zmin)<0:
250 if numpy.log10(self.zmin)<0:
251 self.zmin=1
251 self.zmin=1
252 ax.plt = ax.pcolormesh(x, y, z[n].T * self.factors[n],
252 ax.plt = ax.pcolormesh(x, y, z[n].T * self.factors[n],
253 vmin=self.zmin,
253 #vmin=self.zmin,
254 vmax=self.zmax,
254 #vmax=self.zmax,
255 cmap=self.cmaps[n],
255 cmap=self.cmaps[n],
256 norm=colors.LogNorm()
256 norm=colors.LogNorm(vmin=self.zmin,vmax=self.zmax)
257 )
257 )
258
258
259 else:
259 else:
@@ -261,10 +261,10 class DenRTIPlot(RTIPlot):
261 self.zmin, self.zmax = self.zlimits[n]
261 self.zmin, self.zmax = self.zlimits[n]
262 ax.plt.remove()
262 ax.plt.remove()
263 ax.plt = ax.pcolormesh(x, y, z[n].T * self.factors[n],
263 ax.plt = ax.pcolormesh(x, y, z[n].T * self.factors[n],
264 vmin=self.zmin,
264 #vmin=self.zmin,
265 vmax=self.zmax,
265 #vmax=self.zmax,
266 cmap=self.cmaps[n],
266 cmap=self.cmaps[n],
267 norm=colors.LogNorm()
267 norm=colors.LogNorm(vmin=self.zmin,vmax=self.zmax)
268 )
268 )
269
269
270
270
General Comments 0
You need to be logged in to leave comments. Login now