Skip to content

Commit

Permalink
Python: updated our Lorenz Python script.
Browse files Browse the repository at this point in the history
Don't generate a 3D plot, so that we can also run our script from a Python shell.
  • Loading branch information
agarny committed Nov 19, 2019
1 parent b0a6ecc commit 08c7c1a
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions models/tests/python/lorenz.py
@@ -1,8 +1,6 @@
import os

import OpenCOR as oc
import matplotlib.pyplot as plt
from mpl_toolkits import mplot3d


def run_simulation(file_name):
Expand All @@ -28,10 +26,6 @@ def run_simulation(file_name):
y = states['main/y'].values()
z = states['main/z'].values()

print(' - Generate 3D plot...')

plt.axes(projection='3d').plot3D(x, y, z)

return simulation


Expand Down

0 comments on commit 08c7c1a

Please sign in to comment.