##// END OF EJS Templates
ax.plt.remove(), se añaden 3 lineas de codigo
avaldez -
r1785:6f1a660b8ab2
parent child
Show More
@@ -354,7 +354,12 class GenericRTIPlot(Plot):
354 else:
354 else:
355 if self.zlimits is not None:
355 if self.zlimits is not None:
356 self.zmin, self.zmax = self.zlimits[n]
356 self.zmin, self.zmax = self.zlimits[n]
357 ax.plt.remove()
357
358 try:
359 ax.collections.remove(ax.collections[0])
360 except:
361 pass
362 # ax.plt.remove()
358 ax.plt = ax.pcolormesh(x, y, z[n].T * self.factors[n],
363 ax.plt = ax.pcolormesh(x, y, z[n].T * self.factors[n],
359 vmin=self.zmin,
364 vmin=self.zmin,
360 vmax=self.zmax,
365 vmax=self.zmax,
General Comments 0
You need to be logged in to leave comments. Login now