Skip to content

Commit

Permalink
ex16: correction in _second_Y_axis_warnings() from Raphael
Browse files Browse the repository at this point in the history
  • Loading branch information
rpoleski committed Nov 23, 2023
1 parent a03cce4 commit 7bc1c08
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/example_16/ulens_model_fit.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit 7bc1c08

Please sign in to comment.