Skip to content

Commit

Permalink
Fix plot issue with rescale parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
ebachelet committed Nov 18, 2024
1 parent 9aa164d commit a0c02c1
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions pyLIMA/fits/ML_fit.py
Original file line number Diff line number Diff line change
Expand Up @@ -1269,15 +1269,17 @@ def fit_outputs(self, bokeh_plot=None, bokeh_plot_name=None,

if self.model.photometry:
matplotlib_lightcurves, bokeh_lightcurves = pyLIMA_plots.plot_lightcurves(
self.model, self.fit_results['best_model'], bokeh_plot=bokeh_plot)
self.model, self.fit_results['best_model'][self.model_parameters_index],
bokeh_plot=bokeh_plot)
matplotlib_geometry, bokeh_geometry = pyLIMA_plots.plot_geometry(self.model,
self.fit_results[
'best_model'],
'best_model'][self.model_parameters_index],
bokeh_plot=bokeh_plot)

if self.model.astrometry:
matplotlib_astrometry, bokeh_astrometry = pyLIMA_plots.plot_astrometry(
self.model, self.fit_results['best_model'], bokeh_plot=bokeh_plot)
self.model, self.fit_results['best_model'][
self.model_parameters_index], bokeh_plot=bokeh_plot)

parameters = [key for ind, key in enumerate(self.model.model_dictionnary.keys())
if ('fsource' not in key) and ('fblend' not in key) and (
Expand Down

0 comments on commit a0c02c1

Please sign in to comment.