From d158786cdce3f964dd26ed1186dee423e3d03f2c Mon Sep 17 00:00:00 2001 From: Andrew Scott Date: Fri, 3 Jun 2022 14:07:40 -0400 Subject: [PATCH] Remove matplotlib import, update docstring for find_mode_put() --- hash_map_sc.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/hash_map_sc.py b/hash_map_sc.py index 04830f6..05b08d3 100644 --- a/hash_map_sc.py +++ b/hash_map_sc.py @@ -5,8 +5,6 @@ # Due Date: 2022-06-03 # Description: HashMap implementation using Separate Chaining - -import matplotlib from a6_include import ( DynamicArray, LinkedList, @@ -78,7 +76,7 @@ class HashMap: node.value = value def find_mode_put(self, key: str, value: object) -> None: - """Adds (or updates) a key/value pair to the hash map + """Alternative put() method to help find_mode() track frequency Parameters ----------