Skip to content

Commit 045e3a6

Browse files
authored
Merge pull request #13158 from meeseeksmachine/auto-backport-of-pr-13150-on-v3.0.x
Backport PR #13150 on branch v3.0.x (Remove unused add_dicts from example.)
2 parents 38efc4d + ee8ae3a commit 045e3a6

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

examples/text_labels_and_annotations/arrow_demo.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,6 @@
2323
lettered_bases_to_rates = {v: 'r' + v for k, v in rates_to_bases.items()}
2424

2525

26-
def add_dicts(d1, d2):
27-
"""Adds two dicts and returns the result."""
28-
result = d1.copy()
29-
result.update(d2)
30-
return result
31-
32-
3326
def make_arrow_plot(data, size=4, display='length', shape='right',
3427
max_arrow_width=0.03, arrow_sep=0.02, alpha=0.5,
3528
normalize_data=False, ec=None, labelcolor=None,

0 commit comments

Comments
 (0)