Skip to content

Commit

Permalink
Merge pull request #274 from novonordisk-research/Fix-#270-Bokeh-radius
Browse files Browse the repository at this point in the history
Radius decreased in plot and more points in pareto front
  • Loading branch information
sqbl authored Sep 13, 2024
2 parents 01d1880 + 2f7efec commit 88e6813
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ProcessOptimizer/plots.py
Original file line number Diff line number Diff line change
Expand Up @@ -2237,7 +2237,7 @@ def plot_Pareto_bokeh(
objective_names = [obj1, obj2]

# Obtain the 'recipe' from the optimizer
pop, logbook, front = optimizer.NSGAII(MU=40)
pop, logbook, front = optimizer.NSGAII(MU=100)
pop = np.asarray(pop)
pop = np.asarray(
optimizer.space.inverse_transform(
Expand Down Expand Up @@ -2299,7 +2299,7 @@ def plot_Pareto_bokeh(
r1 = p.circle(
list(data_observed_dict.keys())[0],
list(data_observed_dict.keys())[1],
radius=1,
radius=0.2,
source=source_observed,
legend_label="Observed datapoints",
fill_alpha=0.4,
Expand All @@ -2317,7 +2317,7 @@ def plot_Pareto_bokeh(
r2 = p.circle(
list(data_calculated_dict.keys())[0],
list(data_calculated_dict.keys())[1],
radius=1,
radius=0.2,
source=source_calculated,
color="red",
legend_label="Estimated Pareto front",
Expand Down

0 comments on commit 88e6813

Please sign in to comment.