Skip to content

Commit 1b5bbd7

Browse files
committed
Change plot background color
1 parent fa651d0 commit 1b5bbd7

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

‎benchmark/analyzer/lakeborn.py‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,9 @@ def relplot(
214214
# The plots live in a subfigure so that a suptitle added later on the
215215
# parent figure is laid out above the legend instead of overlapping it.
216216
fig = plt.figure(
217-
figsize=(aspect * height * n_cols, height * n_rows), layout="constrained"
217+
figsize=(aspect * height * n_cols, height * n_rows),
218+
layout="constrained",
219+
facecolor="none",
218220
)
219221
subfig = fig.subfigures()
220222
axes = subfig.subplots(
@@ -230,6 +232,7 @@ def relplot(
230232
enumerate(row_levels), enumerate(col_levels)
231233
):
232234
ax = axes[row_idx, col_idx]
235+
ax.set_facecolor("none")
233236

234237
facet_df = data
235238
if row is not None:

0 commit comments

Comments
 (0)