This PR fixes two minor issues in trellis_plots.py:
Adds to any generated dict the 'imt' key (required by eGSIM)
Fixes a minor bug whereby the ylabel key of MagnitudeDistanceSpectraTrellisSigma was mapped to the y label of the superclass MagnitudeDistanceSpectraTrellis (the bug was fixed in the latter by simply calling the class _get_ylabel method, as it should be)
Cleans up a lot of the module commented line, unused spaces and bad indentations which made the code less readable (unfortunately, these minor fixes make up most of the changes and hide the more important in the comparison)
This PR fixes two minor issues in
trellis_plots.py
:dict
the 'imt' key (required by eGSIM)ylabel
key ofMagnitudeDistanceSpectraTrellisSigma
was mapped to the y label of the superclassMagnitudeDistanceSpectraTrellis
(the bug was fixed in the latter by simply calling the class_get_ylabel
method, as it should be)