Skip to content

Commit

Permalink
lighter gray face color for coverage and ruff format
Browse files Browse the repository at this point in the history
  • Loading branch information
danellecline committed Sep 15, 2024
1 parent adae284 commit db2a127
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pbp/meta_gen/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ def plot_daily_coverage(
# plot.xaxis.set_major_locator(
# MaxNLocator(nbins=min(15, len(daily_sum_df.index.values) - 1))
# )
plot.axes.set_facecolor("lightgrey")
plot.axes.set_facecolor("#E4E4F1")
# Rotate the x-axis labels for better readability
plt.xticks(rotation=45)
# Set both x and y axis tick label font size to 6
Expand Down
4 changes: 3 additions & 1 deletion tests/test_meta_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,9 @@ def test_iclisten_generator():
assert len(json_objects) == 145

# There should also be a coverage plot in the base json directory
coverage_plot = json_dir / f"{InstrumentType.ICLISTEN.lower()}_coverage_20230718_20230718.jpg"
coverage_plot = (
json_dir / f"{InstrumentType.ICLISTEN.lower()}_coverage_20230718_20230718.jpg"
)
assert coverage_plot.exists()


Expand Down

0 comments on commit db2a127

Please sign in to comment.