##// END OF EJS Templates
fix faraday plots
rflores -
r1733:67f6900b4a62
parent child
Show More
@@ -826,7 +826,7 class SpectrogramPlot(Plot):
826 826 cmap=plt.get_cmap(self.colormap)
827 827 )
828 828 else:
829 ax.collections.remove(ax.collections[0])
829 ax.plt.remove()
830 830 ax.plt = ax.pcolormesh(x, y, z[n].T,
831 831 vmin=self.zmin,
832 832 vmax=self.zmax,
@@ -90,7 +90,7 class RTIDPPlot(RTIPlot):
90 90 else:
91 91 if self.zlimits is not None:
92 92 self.zmin, self.zmax = self.zlimits[n]
93 ax.collections.remove(ax.collections[0])
93 ax.plt.remove()
94 94 ax.plt = ax.pcolormesh(x, y, z[n].T * self.factors[n],
95 95 vmin=self.zmin,
96 96 vmax=self.zmax,
@@ -177,7 +177,7 class RTILPPlot(RTIPlot):
177 177 else:
178 178 if self.zlimits is not None:
179 179 self.zmin, self.zmax = self.zlimits[n]
180 ax.collections.remove(ax.collections[0])
180 ax.plt.remove()
181 181 ax.plt = ax.pcolormesh(x, y, z[n].T * self.factors[n],
182 182 vmin=self.zmin,
183 183 vmax=self.zmax,
@@ -259,7 +259,7 class DenRTIPlot(RTIPlot):
259 259 else:
260 260 if self.zlimits is not None:
261 261 self.zmin, self.zmax = self.zlimits[n]
262 ax.collections.remove(ax.collections[0])
262 ax.plt.remove()
263 263 ax.plt = ax.pcolormesh(x, y, z[n].T * self.factors[n],
264 264 vmin=self.zmin,
265 265 vmax=self.zmax,
@@ -346,7 +346,7 class ETempRTIPlot(RTIPlot):
346 346 else:
347 347 if self.zlimits is not None:
348 348 self.zmin, self.zmax = self.zlimits[n]
349 ax.collections.remove(ax.collections[0])
349 ax.plt.remove()
350 350 ax.plt = ax.pcolormesh(x, y, z[n].T * self.factors[n],
351 351 vmin=self.zmin,
352 352 vmax=self.zmax,
General Comments 0
You need to be logged in to leave comments. Login now