diff --git a/schainpy/model/graphics/jroplot_base.py b/schainpy/model/graphics/jroplot_base.py index 9ff0764..e5b7128 100644 --- a/schainpy/model/graphics/jroplot_base.py +++ b/schainpy/model/graphics/jroplot_base.py @@ -42,8 +42,9 @@ blu_values = matplotlib.pyplot.get_cmap( 'seismic_r', 20)(numpy.arange(20))[10:15] ncmap = matplotlib.colors.LinearSegmentedColormap.from_list( 'jro', numpy.vstack((blu_values, jet_values))) -matplotlib.pyplot.register_cmap(cmap=ncmap) +matplotlib.pyplot.register_cmap(cmap=ncmap) +#matplotlib.register_cmap(cmap=ncmap) CMAPS = [plt.get_cmap(s) for s in ('jro', 'jet', 'viridis', 'plasma', 'inferno', 'Greys', 'seismic', 'bwr', 'coolwarm')] @@ -457,8 +458,8 @@ class Plot(Operation): for ax in self.axes+self.pf_axes+self.cb_axes: ax.clear() ax.firsttime = True - if hasattr(ax, 'cbar') and ax.cbar: - ax.cbar.remove() + #if hasattr(ax, 'cbar') and ax.cbar: + # ax.cbar.remove() def __plot(self): ''' @@ -663,10 +664,9 @@ class Plot(Operation): tm = getattr(dataOut, self.attr_time) if self.data and 'time' in self.xaxis and (tm - self.tmin) >= self.xrange*60*60: self.save_time = tm + self.tmin += self.xrange*60*60 #Modified by R. Flores + #self.tmin += 24*60*60 #Modified by R. Flores self.__plot() - #self.tmin += self.xrange*60*60 #Modified by R. Flores - self.tmin += 24*60*60 #Modified by R. Flores - self.data.setup() self.clear_figures()