diff --git a/mesaPlot/plot.py b/mesaPlot/plot.py index 3f0c243..f248c53 100644 --- a/mesaPlot/plot.py +++ b/mesaPlot/plot.py @@ -5719,7 +5719,7 @@ def plotKip3( if show_mass_loc: self._showMassLoc( - m, fig, ax, np.linspace(xmin, xmax, np.count_nonzero(modInd)), modInd + m, fig, ax, data_x, modInd ) self._setYLim(ax, ax.get_ylim(), yrng) @@ -5997,6 +5997,7 @@ def _rebinKipDataX(self, data, x, lin_x, nan=False, nan_value=1): sorter = np.argsort(x) ind = np.searchsorted(x, lin_x, sorter=sorter, side="left") + s_ind = sorter[ind] # When flipping the ages we may end up with points at the edge