deprecate plot func
@@ -740,6 +740,7 @@ class ExtendedRoadRunner(roadrunner.RoadRunner):
def plot(self, result=None, loc='upper right', show=True,
xlabel=None, ylabel=None, title=None, xlim=None, ylim=None,
xscale='linear', yscale="linear", grid=False, **kwargs):
+ warnings.warn("RoadRunner.plot is deprecated. Please use te.plot(data) instead.", DeprecationWarning)
""" Plot roadrunner simulation data.
Plot is called with simulation data to plot as the first argument. If no data is provided the data currently
@@ -956,4 +957,3 @@ def RoadRunner(*args):
return ExtendedRoadRunner(*args)
roadrunner.RoadRunner = ExtendedRoadRunner
-
