Skip to content

Commit

Permalink
Comment out plotting (windows tests don't exit)
Browse files Browse the repository at this point in the history
  • Loading branch information
vatai committed Aug 31, 2023
1 parent adba5e1 commit a65feea
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tests/test_simulation.py
Original file line number Diff line number Diff line change
Expand Up @@ -597,13 +597,13 @@ def test_time_evolution(self):
prod_prob = self.sim.product_probability(obs, rhos)
result, _ = self.sim.product_yield(prod_prob, self.time, k)

fig, axs = plt.subplots(2)
plt.sca(axs[0])
plt.plot(self.time, result)
# fig, axs = plt.subplots(2)
# plt.sca(axs[0])
# plt.plot(self.time, result)

plt.sca(axs[1])
plt.spy(H)
plt.show()
# plt.sca(axs[1])
# plt.spy(H)
# plt.show()


if __name__ == "__main__":
Expand Down

0 comments on commit a65feea

Please sign in to comment.