Bugfix 537 vert xaxis #538
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Pull Request Testing
Describe testing already performed for these changes:
generated plots via command line for the following cases:
no xlim (xmin, xmax) range for x-axis (Plotly determines xmin, xmax labels/values on x-axis)
specified various (xmin, xmin) values via xlim setting in YAML and verified the x-axis labels are consistent with what was requested
- integer and float values used
- float values are rounded to nearest int
- temporarily "dumped" x, and y values into a pandas dataframe and plotted these values in a jupyter notebook to verify that the plot and vertical plot using simple Plotly scatter plot produce appropriate plots (indicating that the x- and y- values used in the vertical plot are correct)
installed METplotpy bugfix_537_vert_axis fix to METplotpy on 'dakota' and 'mohawk'
The following data was used to generate the plots via command line:
vert_line_plot_data.txt
The following YAML config files were used:
No range specified, Plotly generates the x-axis labels
no_range_specified.yaml.txt
Decimal values for range:
decimals_range.yaml.txt
Integer values for range:
integer_range.yaml.txt
Plots generated from above config files:
No range specified plot:
Decimal range specified (-1.5, 3), step of 1.1 - rounding of floats to closest int:
Integer range specified (-2,2):

For Michelle H:
- verify plotting of vertical plots is correct via METviewer
- code updates on METviewer on both 'dakota' and 'mohawk'
For Julie P:
- verify that code changes look OK
- I fixed some typos and removed some redundant code
Do these changes include sufficient documentation updates, ensuring that no errors or warnings exist in the build of the documentation? [NA]
Do these changes include sufficient testing updates? [NA]
Will this PR result in changes to the test suite? [No]
If yes, describe the new output and/or changes to the existing output:
Do these changes introduce new SonarQube findings? [Yes]
If yes, please describe:
Expect the Quality Gate to fail due to Coverage value falling below threshold
Please complete this pull request review by [Fill in date].
Pull Request Checklist
See the METplus Workflow for details.
Select: Reviewer(s) and Development issue
Select: Milestone as the version that will include these changes
Select: Coordinated METplus-X.Y Support project for bugfix releases or METplotpy-X.Y.Z Development project for official releases