Skip to content

Commit

Permalink
Merge pull request #387 from PSLmodels/bokeh-341-warning
Browse files Browse the repository at this point in the history
Fix warning from using deprecated method with size argument
  • Loading branch information
jdebacker authored Apr 21, 2024
2 parents df4c3c0 + ac525cd commit cc4d6a7
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions ccc/calculator.py
Original file line number Diff line number Diff line change
Expand Up @@ -1379,7 +1379,7 @@ def range_plot(
source=base_source,
)
# Add circles for means
p.circle(
p.scatter(
"positions",
"means",
size=12,
Expand All @@ -1388,15 +1388,15 @@ def range_plot(
legend_label="Baseline",
)
# Add circles for maxes and mins
p.circle(
p.scatter(
"positions",
"mins",
size=12,
color=BLUE,
source=base_source,
legend_label="Baseline",
)
p.circle(
p.scatter(
"positions",
"maxes",
size=12,
Expand All @@ -1416,7 +1416,7 @@ def range_plot(
source=reform_source,
)
# Add circles for means
p.circle(
p.scatter(
"positions",
"means",
size=12,
Expand All @@ -1425,15 +1425,15 @@ def range_plot(
legend_label="Reform",
)
# Add circles for maxes and mins
p.circle(
p.scatter(
"positions",
"mins",
size=12,
color=RED,
source=reform_source,
legend_label="Reform",
)
p.circle(
p.scatter(
"positions",
"maxes",
size=12,
Expand Down Expand Up @@ -1744,7 +1744,7 @@ def bubble_widget(
p.outline_line_alpha = 1
p.outline_line_color = "black"

p.circle(
p.scatter(
x="rate",
y="short_category",
color=BLUE,
Expand Down Expand Up @@ -1808,7 +1808,7 @@ def bubble_widget(
p2.xaxis.major_tick_line_width = 3
p2.xaxis.minor_tick_line_color = "orange"

p2.circle(
p2.scatter(
x="rate",
y="short_category",
color=RED,
Expand Down Expand Up @@ -2120,7 +2120,7 @@ def asset_bubble(
p.outline_line_alpha = 1
p.outline_line_color = "black"

p.circle(
p.scatter(
x="baseline",
y="short_category",
color=BLUE,
Expand Down Expand Up @@ -2201,7 +2201,7 @@ def asset_bubble(
p2.xaxis.major_tick_line_width = 3
p2.xaxis.minor_tick_line_color = "orange"

p2.circle(
p2.scatter(
x="baseline",
y="short_category",
color=RED,
Expand Down

0 comments on commit cc4d6a7

Please sign in to comment.