Skip to content

Commit

Permalink
Add edge around circles in plots
Browse files Browse the repository at this point in the history
  • Loading branch information
hannahbaumann authored and richardjgowers committed Dec 7, 2023
1 parent 63a9e03 commit ff77668
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cinnabar/plotting.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def _master_plot(
bootstrap_x_uncertainty: bool = False,
bootstrap_y_uncertainty: bool = False,
statistic_type: str = "mle",
scatter_kwargs: dict = {"s": 10, "marker": "o"},
scatter_kwargs: dict = {"s": 20, "marker": "o"},
):
"""Handles the aesthetics of the plots in one place.
Expand Down Expand Up @@ -98,7 +98,7 @@ def _master_plot(
statistic_type : str, default 'mle'
the type of statistic to use, either 'mle' (i.e. sample statistic)
or 'mean' (i.e. bootstrapped mean statistic)
scatter_kwargs : dict, default {"s": 10, "marker": "o"}
scatter_kwargs : dict, default {"s": 20, "marker": "o"}
arguments to control plt.scatter()
Returns
Expand Down Expand Up @@ -169,7 +169,7 @@ def _master_plot(
elinewidth=2.0,
zorder=1,
)
plt.scatter(x, y, color=color, zorder=2, **scatter_kwargs)
plt.scatter(x, y, color=color, zorder=2, edgecolors='dimgrey', linewidths=0.7, **scatter_kwargs)

# Label points
texts = []
Expand Down

0 comments on commit ff77668

Please sign in to comment.