Removed numpy dependence in examples.

This commit is contained in:
Michael Whittaker 2021-02-07 12:07:55 -08:00
parent a4dfc6f751
commit 9f0532a7d5
3 changed files with 1 additions and 4 deletions

View file

@ -1,7 +1,6 @@
from quoracle import *
import matplotlib
import matplotlib.pyplot as plt
import numpy as np
def main():

View file

@ -2,7 +2,6 @@ from quoracle import *
import datetime
import matplotlib
import matplotlib.pyplot as plt
import numpy as np
def main():

View file

@ -8,7 +8,6 @@ from quoracle import *
import itertools
import matplotlib
import matplotlib.pyplot as plt
import numpy as np
def main():
@ -25,7 +24,7 @@ def main():
}
qs = QuorumSystem(reads=a*c + b*d)
xs = np.arange(0, 1.01, 0.01)
xs = [0.01 * i for i in range(101)]
markers = itertools.cycle(['o', 'v', '^', 'p', '*'])
fig, ax = plt.subplots(figsize=(3.25, 2.5))
for fr in dist.keys():