Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix plot logo and tight layout bug (JCSDA-internal#213)
Fix the fatal error that results from a batch plot input yaml file containing `plot logo` and/or `tight layout` figure settings. As described in JCSDA-internal#212 the problem is that in `src/eva/plotting/batch/base/plot_tools/figure_driver.py` both `plot logo` and `tight layout` are left in the `figure_conf` dictionary after the corresponding figure method is correctly applied. The `figure_conf` dictionary is eventually fed to `emcpy` and then `matplotlib` which is unable to parse these entries. The fix is to simply remove the entries from `figure_conf` once the requested method has been called. Testing has been done on hera using `src/eva/tests/config/testMonDataSpaceHirs4Metop-A.yaml`, which now can plot logos and use tight layout. Closes JCSDA-internal#212
- Loading branch information