Skip to content

Commit

Permalink
Merge pull request #126 from QuLogic/transparent-seed
Browse files Browse the repository at this point in the history
Add a randomness seed to transparency script
  • Loading branch information
jklymak authored Mar 29, 2023
2 parents 1affc9e + 4b6dbae commit 3d7d3ff
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/tip-transparency.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
import matplotlib.pyplot as plt
mpl.rc('axes', linewidth=1.5)

np.random.seed(123)

fig = plt.figure(figsize=(2, 2), dpi=100)
margin = 0.01
ax = fig.add_axes([margin, margin, 1-2*margin, 1-2*margin])
Expand Down

0 comments on commit 3d7d3ff

Please sign in to comment.