code: def draw_accuracy_elapsed(ax, data, limit=0.5):
      ax.set_title("Recall-elasped sec tradeoff", fontsize=15)
      for library, values in data.items():
          values = sorted(filter(lambda x: x[0] > limit, values))
          ax.plot(
              [acc for acc, _, _, _ in values],
              [elapsed for _, elapsed, _, _ in values],
              label=library,
              marker="o",
              markersize=3,
          )
      ax.set_xlabel("accuracy", fontsize=12)
      ax.set_ylabel("elapsed(log scale)", fontsize=12)
      ax.legend(loc="best")
  
file_path: n2/benchmarks/visualize.py
imports: import os
  import math
  import argparse
  import matplotlib.pyplot
  from collections import defaultdict
label_desc: Use image node_id 6 for calling a global function with example usage: draw_accuracy_elapsed(ax, data, limit) without return types