From c763f723095ada3fc1c683929a410ef533cfa93d Mon Sep 17 00:00:00 2001 From: Andrew Guschin Date: Tue, 6 Apr 2021 14:50:56 +0400 Subject: =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=B8=D0=BB=20=D0=BF?= =?UTF-8?q?=D0=BE=D0=BB=D1=8C=D0=B7=D0=BE=D0=B2=D0=B0=D1=82=D0=B5=D0=BB?= =?UTF-8?q?=D1=8C=D1=81=D0=BA=D0=B8=D0=B5=20=D0=B3=D1=80=D0=B0=D1=84=D1=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- python-graphics/plotter.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'python-graphics/plotter.py') 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"]) + -- cgit v1.2.3