From 138bb276fb815109c9d845e2a23491b6bdc8fa26 Mon Sep 17 00:00:00 2001 From: rachelmbrubaker <84355699+rachelmbrubaker@users.noreply.github.com> Date: Mon, 25 Sep 2023 13:09:16 -0600 Subject: [PATCH] Add PT for the timeTables for time lib fixes (#68) --- plugins/matplotlib/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/matplotlib/README.md b/plugins/matplotlib/README.md index 7981d3bf4..17cac284b 100644 --- a/plugins/matplotlib/README.md +++ b/plugins/matplotlib/README.md @@ -23,7 +23,7 @@ from deephaven import time_table from deephaven.plugin.matplotlib import TableAnimation # Create a ticking table with the sin function -tt = time_table("00:00:01").update(["x=i", "y=Math.sin(x)"]) +tt = time_table("PT00:00:01").update(["x=i", "y=Math.sin(x)"]) fig = plt.figure() # Create a new figure ax = fig.subplots() # Add an axes to the figure @@ -51,7 +51,7 @@ import matplotlib.pyplot as plt from deephaven import time_table from deephaven.plugin.matplotlib import TableAnimation -tt = time_table("00:00:01").update( +tt = time_table("PT00:00:01").update( ["x=Math.random()", "y=Math.random()", "z=Math.random()*50"] ) @@ -88,7 +88,7 @@ import matplotlib.pyplot as plt from deephaven import time_table from deephaven.plugin.matplotlib import TableAnimation -tt = time_table("00:00:01").update( +tt = time_table("PT00:00:01").update( ["x=i", "y=Math.sin(x)", "z=Math.cos(x)", "r=Math.random()", "s=Math.random()*100"] )