idaholab / raven

RAVEN is a flexible and multi-purpose probabilistic risk analysis, validation and uncertainty quantification, parameter optimization, model reduction and data knowledge-discovering framework.
https://raven.inl.gov/
Apache License 2.0
212 stars 131 forks source link

[DEFECT] Opt Path labels with a lot of underscores are illegible if too long #2329

Closed GabrielSoto-INL closed 3 weeks ago

GabrielSoto-INL commented 1 month ago

Thank you for the defect report

Defect Description

When using the optimization path plot, if the var names are too long the y-labels are not legible. Example from the HERON "optimization_settings" regression test: 1-opt_path_old

Steps to Reproduce

Run a RAVEN optimization script with an Outstreams node subtype OptPath, code example below from the HERON optimization settings regression test:

<OutStreams>
    <Plot name="opt_path" subType="OptPath">
      <source>opt_soln</source>
      <vars>GRO_capacities, VaR_0.05_NPV</vars>
    </Plot>
  </OutStreams>

A current RAVEN example exists in the workshop documentation

Expected Behavior

Y-labels should be legible even if names are long. Particularly, HERON uses a lot of strings joined by underscores. It would be good to split the strings by the underscores.

Screenshots and Input Files

No response

OS

Windows

OS Version

No response

Dependency Manager

PIP

For Change Control Board: Issue Review

For Change Control Board: Issue Closure

dylanjm commented 3 weeks ago

Approved to close via #2330