Skip to content

Commit

Permalink
Add the Python implementation of the Contour plot #363
Browse files Browse the repository at this point in the history
  • Loading branch information
TatianaBurek committed Jan 31, 2022
1 parent fcfbd7a commit 3b7bf97
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions java/edu/ucar/metviewer/jobManager/ContourJobManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,8 @@ protected Map<String, Object> createInfoMap(MVPlotJob job, int intNumDepSeries)
@Override
protected Map<String, Object> createYamlInfoMap(MVPlotJob job) throws ValidationException {
Map<String, Object> yamlInfo = super.createYamlInfoMap( job);
if (job.getDiffSeries1Count() == 0) {
yamlInfo.put("contour_diff", "False");
}else {
yamlInfo.put("contour_diff", "True");
}
yamlInfo.put("color_palette", job.getColorPalette());

yamlInfo.put("color_palette", job.getColorPalette().replace(".", "_"));
yamlInfo.put("contour_intervals", job.getContourIntervals());
yamlInfo.put("add_color_bar", job.getAddColorBar() ? "True" : "False");
yamlInfo.put("reverse_y", job.getReverseY() ? "True" : "False");
Expand Down

0 comments on commit 3b7bf97

Please sign in to comment.