Closed cwsimmon closed 3 years ago
To Reproduce Steps to reproduce the behavior:
Expected behavior The configuration of the tile plot should be able to be saved and reused in another tile plot. The color maps should be displayed correctly and consistently.
Tested with VERDI_2.1_linux64_20210707.tar.gz and confirmed that the issue has not resolved. Changed the "Number Format" to "-2.1f" and applied to the tile plot. Shown as below.
Loaded the saved configuration to another tile plot and found that an added level "0.0" to the color scale. Shown as below:
Retested with VERDI_2.1_linux64_20210809.tar.gz and confirmed that the issue has not resolved. Changed the "Number Format" to "-2.1f" and customized a color map to the tile plot, shown as below. Saved the above customized configuration and loaded it to another tile plot, found that the color map configuration was changed, shown as below:
Retested with VERDI_2.1_linux64_20210906.tar.gz & VERDI_2.1_win64_20210906.zip & VERDI_2.1_linux64_20210920.tar.gz , confirmed that the issue has resolved. Saved the customized configuration (with the number format changed to 2.1f), then loaded into a tile plot, found that the color map configuration was consistent with the previous one.
Reported by Russ Bullock
After creating a tile plot, I configured the color map scale to run from 280 to 320. I saved this configuration and closed the plot. I created the theta tile plot once again, loaded the previously saved configuration and correctly got the same plot I closed previously. The default setting for the numeric format for contour values shown in the legend is “-2.3f”. I then configured the color map to change the legend number format to “-2.1f” and got a good plot. I then saved this second configuration and closed the plot. When I tile plot theta again and load this second saved configuration, the plot has incorrect color contour values in the legend. The second configuration file has a spurious added level to the color scale with a value of “0.0”. This is not just a problem with MPAS output data. The same error occurs for other data sources. Essentially, a saved configuration will be invalid if it is a numeric format modification of a previously saved configuration. This bug was noted in previous version of Verdi. Multiple modifications of the color map scale work OK.