Skip to content

Commit 48fb21e

Browse files
committed
Returned g123 to its normal state
1 parent bceb950 commit 48fb21e

1 file changed

Lines changed: 4 additions & 12 deletions

File tree

malariagen_data/anoph/g123.py

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,6 @@ def plot_g123_gwss_track(
330330
sizing_mode: gplt_params.sizing_mode = gplt_params.sizing_mode_default,
331331
width: gplt_params.width = gplt_params.width_default,
332332
height: gplt_params.height = 200,
333-
circle_kwargs: Optional[gplt_params.circle_kwargs] = None,
334333
show: gplt_params.show = True,
335334
x_range: Optional[gplt_params.x_range] = None,
336335
output_backend: gplt_params.output_backend = gplt_params.output_backend_default,
@@ -388,22 +387,15 @@ def plot_g123_gwss_track(
388387
output_backend=output_backend,
389388
)
390389

391-
circle_kwargs_mutable = dict(circle_kwargs) if circle_kwargs else {}
392-
circle_kwargs_mutable["size"] = circle_kwargs_mutable.get("size", 3)
393-
circle_kwargs_mutable["line_width"] = circle_kwargs_mutable.get("line_width", 1)
394-
circle_kwargs_mutable["line_color"] = circle_kwargs_mutable.get(
395-
"line_color", "black"
396-
)
397-
circle_kwargs_mutable["fill_color"] = circle_kwargs_mutable.get(
398-
"fill_color", None
399-
)
400-
401390
# plot G123
402391
fig.scatter(
403392
x=x,
404393
y=g123,
394+
size=3,
405395
marker="circle",
406-
**circle_kwargs_mutable,
396+
line_width=1,
397+
line_color="black",
398+
fill_color=None,
407399
)
408400

409401
# tidy up the plot

0 commit comments

Comments
 (0)