diff --git a/schainpy/model/graphics/jroplot_parameters.py b/schainpy/model/graphics/jroplot_parameters.py index 38a9b3f..9575826 100644 --- a/schainpy/model/graphics/jroplot_parameters.py +++ b/schainpy/model/graphics/jroplot_parameters.py @@ -354,7 +354,12 @@ class GenericRTIPlot(Plot): else: if self.zlimits is not None: self.zmin, self.zmax = self.zlimits[n] - ax.plt.remove() + + try: + ax.collections.remove(ax.collections[0]) + except: + pass + # ax.plt.remove() ax.plt = ax.pcolormesh(x, y, z[n].T * self.factors[n], vmin=self.zmin, vmax=self.zmax,