Skip to content

Commit

Permalink
add border for plot_xbs() panels
Browse files Browse the repository at this point in the history
  • Loading branch information
zdelrosario committed Nov 16, 2023
1 parent 16f588b commit a4fd04f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions grama/spc.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
geom_line,
geom_hline,
geom_point,
element_rect,
facet_grid,
theme,
theme_minimal,
Expand Down Expand Up @@ -276,6 +277,7 @@ def plot_xbs(df, group, var, n_side=9, n_delta=6, color="full"):
values=dict(LCL="dashed", UCL="dashed", center="solid"),
)
+ theme_uqbook()
+ theme(panel_border=element_rect(color="black", fill=None, size=0.5))
+ guides(color=None)
+ facet_grid(
"_var~.",
Expand Down Expand Up @@ -327,6 +329,7 @@ def plot_xbs(df, group, var, n_side=9, n_delta=6, color="full"):
values=dict(LCL="dashed", UCL="dashed", center="solid"),
)
+ theme_uqbook()
+ theme(panel_border=element_rect(color="black", fill=None, size=0.5))
+ guides(color=None)
+ facet_grid(
"_var~.",
Expand Down

0 comments on commit a4fd04f

Please sign in to comment.