diff --git a/examples/example_16/ulens_model_fit.py b/examples/example_16/ulens_model_fit.py index f45fb353..614f29c2 100644 --- a/examples/example_16/ulens_model_fit.py +++ b/examples/example_16/ulens_model_fit.py @@ -38,7 +38,7 @@ except Exception: raise ImportError('\nYou have to install MulensModel first!\n') -__version__ = '0.34.1' +__version__ = '0.34.2' class UlensModelFit(object): @@ -3180,7 +3180,7 @@ def _second_Y_axis_warnings(self, flux, labels, A_values, A_min, A_max): "side) Y-axis scale are from {:} to {:},\nbut the range " "of plotted magnifications is from {:} to {:}, hence, " "the second scale is not plotted") - args = [np.min(A_values), np.max(A_values), A_min[0], A_max[0]] + args = [np.min(A_values), np.max(A_values), A_min, A_max] warnings.warn(msg.format(*args)) return True