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

Reliability Diagram show_legend setting should work with True/False rather than 1/0 values #455

Closed
23 tasks
bikegeek opened this issue Jul 15, 2024 · 1 comment
Assignees
Labels
type: enhancement Improve something that it is currently doing

Comments

@bikegeek
Copy link
Collaborator

Describe the Enhancement

From METplus Discussions:
dtcenter/METplus#2616

The show_legends setting only works when 0/1 is used, rather than False/True due to this code in reliability.py:

line_trace = go.Scatter(x=x_points_index_adj,
                               y=y_points,
                               showlegend=self.config_obj.show_legend[series.idx] == 1,

This code does not match with what is collected by the reliability_config.py code:

self.show_legend = self._get_show_legend()

which accept True/False values

Time Estimate

Estimate the amount of work required here.
Issues should represent approximately 1 to 3 days of work.

Sub-Issues

Consider breaking the enhancement down into sub-issues.

  • Add a checkbox for each sub-issue here.

Relevant Deadlines

List relevant project deadlines here or state NONE.

Funding Source

Define the source of funding and account keys here or state NONE.

Define the Metadata

Assignee

  • Select engineer(s) or no engineer required
  • Select scientist(s) or no scientist required

Labels

  • Review default alert labels
  • Select component(s)
  • Select priority
  • Select requestor(s)

Milestone and Projects

  • Select Milestone as a METplotpy-X.Y.Z version, Consider for Next Release, or Backlog of Development Ideas
  • For a METplotpy-X.Y.Z version, select the METplotpy-X.Y.Z Development project

Define Related Issue(s)

Consider the impact to the other METplus components.

Enhancement Checklist

See the METplus Workflow for details.

  • Complete the issue definition above, including the Time Estimate and Funding Source.
  • Fork this repository or create a branch of develop.
    Branch name: feature_<Issue Number>_<Description>
  • Complete the development and test your changes.
  • Add/update log messages for easier debugging.
  • Add/update unit tests.
  • Add/update documentation.
  • Add any new Python packages to the METplus Components Python Requirements table.
  • Push local changes to GitHub.
  • Submit a pull request to merge into develop.
    Pull request: feature <Issue Number> <Description>
  • Define the pull request metadata, as permissions allow.
    Select: Reviewer(s) and Development issue
    Select: Milestone as the next official version
    Select: METplotpy-X.Y.Z Development project for development toward the next official release
  • Iterate until the reviewer(s) accept and merge your changes.
  • Delete your fork or branch.
  • Close this issue.
@bikegeek bikegeek added type: enhancement Improve something that it is currently doing alert: NEED ACCOUNT KEY Need to assign an account key to this issue alert: NEED MORE DEFINITION Not yet actionable, additional definition required alert: NEED CYCLE ASSIGNMENT Need to assign to a release development cycle labels Jul 15, 2024
@bikegeek bikegeek added this to the METplotpy-3.0.0 milestone Jul 15, 2024
@bikegeek bikegeek self-assigned this Jul 15, 2024
@bikegeek bikegeek moved this from 🟢 Ready to 📋 Backlog in METplus-Analysis-6.0.0 Development Aug 22, 2024
@bikegeek bikegeek removed this from the METplotpy-3.0.0 milestone Dec 19, 2024
@github-project-automation github-project-automation bot moved this to 🩺 Needs Triage in METplus-6.1.0 Development Jan 28, 2025
@JohnHalleyGotway JohnHalleyGotway moved this from 🩺 Needs Triage to 🟢 Ready in METplus-6.1.0 Development Jan 28, 2025
@bikegeek bikegeek moved this from 🟢 Ready to 🔎 In review in METplus-6.1.0 Development Jan 30, 2025
@bikegeek
Copy link
Collaborator Author

bikegeek commented Feb 5, 2025

This is addressed in bugfix #482 which addresses all plots and also allows METviewer to generate 1 or '1'

@bikegeek bikegeek closed this as completed Feb 5, 2025
@github-project-automation github-project-automation bot moved this from 🔎 In review to 🏁 Done in METplus-6.1.0 Development Feb 5, 2025
@bikegeek bikegeek removed alert: NEED ACCOUNT KEY Need to assign an account key to this issue alert: NEED MORE DEFINITION Not yet actionable, additional definition required alert: NEED CYCLE ASSIGNMENT Need to assign to a release development cycle labels Feb 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement Improve something that it is currently doing
Projects
Status: 🏁 Done
Development

No branches or pull requests

1 participant