Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add state bar #416

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open

Add state bar #416

wants to merge 8 commits into from

Conversation

iaraota
Copy link
Collaborator

@iaraota iaraota commented Sep 9, 2024

This PR introduces a statebar configuration option, allowing users to choose to display the green/red bar for a selected state of time series plots in the "All" state tab.

Example

See this page for an example plot with the "Locked" state indicated by the bar. The configuration file should include:

[tab-blrms]
name = Ground motion BLRMS overview
statebar = Locked
shortname = Ground BLRMS overview
parent = SEI
...

@iaraota iaraota self-assigned this Sep 9, 2024
Copy link

codecov bot commented Sep 9, 2024

Codecov Report

Attention: Patch coverage is 62.96296% with 10 lines in your changes missing coverage. Please review.

Project coverage is 49.30%. Comparing base (720bd0c) to head (fbd46f6).
Report is 13 commits behind head on master.

Files with missing lines Patch % Lines
gwsumm/plot/builtin.py 16.67% 5 Missing ⚠️
gwsumm/tabs/data.py 57.14% 3 Missing ⚠️
gwsumm/tabs/builtin.py 84.62% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #416      +/-   ##
==========================================
- Coverage   49.64%   49.30%   -0.35%     
==========================================
  Files          60       60              
  Lines        8823     8810      -13     
==========================================
- Hits         4380     4343      -37     
- Misses       4443     4467      +24     
Flag Coverage Δ
Linux 49.30% <62.96%> (-0.35%) ⬇️
macOS 49.30% <62.96%> (?)
python3.10 49.30% <62.96%> (-0.35%) ⬇️
python3.11 49.30% <62.96%> (-0.35%) ⬇️
python3.9 49.30% <62.96%> (-0.34%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants