From 4f1dfa942c86121903087011a666b27ced3c5eea Mon Sep 17 00:00:00 2001 From: Antony Lee Date: Thu, 10 Jan 2019 20:03:16 +0100 Subject: [PATCH] Remove unused add_dicts from example. --- examples/text_labels_and_annotations/arrow_demo.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/examples/text_labels_and_annotations/arrow_demo.py b/examples/text_labels_and_annotations/arrow_demo.py index 2f6b5933b007..cc1f8dd127a6 100644 --- a/examples/text_labels_and_annotations/arrow_demo.py +++ b/examples/text_labels_and_annotations/arrow_demo.py @@ -23,13 +23,6 @@ lettered_bases_to_rates = {v: 'r' + v for k, v in rates_to_bases.items()} -def add_dicts(d1, d2): - """Adds two dicts and returns the result.""" - result = d1.copy() - result.update(d2) - return result - - def make_arrow_plot(data, size=4, display='length', shape='right', max_arrow_width=0.03, arrow_sep=0.02, alpha=0.5, normalize_data=False, ec=None, labelcolor=None,