summaryrefslogtreecommitdiff
path: root/python-graphics/plotter.py
diff options
context:
space:
mode:
Diffstat (limited to 'python-graphics/plotter.py')
-rw-r--r--python-graphics/plotter.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/python-graphics/plotter.py b/python-graphics/plotter.py
index b2bc029..6ab8275 100644
--- a/python-graphics/plotter.py
+++ b/python-graphics/plotter.py
@@ -1,4 +1,5 @@
import matplotlib.pyplot as plt
+from sympy.plotting import plot
import numpy as np
@@ -58,3 +59,8 @@ def plot_points(data):
# show the plot
plt.show()
+
+
+def plot_user(data):
+ plot(data["expr"])
+