Closed eshwen closed 4 years ago
If a user specifies dataset_order as a list in their plotting config file, fast-plotter complains at this line https://github.com/FAST-HEP/fast-plotter/blob/814f0f765c6699ffbea7db63ed33334470f7bc5c/fast_plotter/utils.py#L132 as lists don't have the startswith() attribute. This line should be at the top of the function: https://github.com/FAST-HEP/fast-plotter/blob/814f0f765c6699ffbea7db63ed33334470f7bc5c/fast_plotter/utils.py#L140
dataset_order
startswith()
Also, when specifying dataset_order as a list, the datasets are actually plotted in reverse order.
If a user specifies
dataset_order
as a list in their plotting config file, fast-plotter complains at this line https://github.com/FAST-HEP/fast-plotter/blob/814f0f765c6699ffbea7db63ed33334470f7bc5c/fast_plotter/utils.py#L132 as lists don't have thestartswith()
attribute. This line should be at the top of the function: https://github.com/FAST-HEP/fast-plotter/blob/814f0f765c6699ffbea7db63ed33334470f7bc5c/fast_plotter/utils.py#L140Also, when specifying
dataset_order
as a list, the datasets are actually plotted in reverse order.