Fixed an issue with plotting dicts