1. David McClosky
  2. waterworks


David McClosky  committed d821eff

Modernize code and remove unnecessary import

  • Participants
  • Parent commits 962a994
  • Branches default

Comments (0)

Files changed (1)

File FigUtil.py

View file
  • Ignore whitespace
 """Tools for creating tables and figures in papers."""
-from sets import Set
 import sys
 def dict_to_table(d, headers=True, x_header='', reverse=False):
     """Convert dict with (x, y) as keys to a 2D table."""
-    all_x = Set()
-    all_y = Set()
+    all_x = set()
+    all_y = set()
     for x, y in d.keys():