Skip to content

Commit

Permalink
Add PT for the timeTables for time lib fixes (#68)
Browse files Browse the repository at this point in the history
  • Loading branch information
rachelmbrubaker authored Sep 25, 2023
1 parent c83b431 commit 138bb27
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions plugins/matplotlib/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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"]
)

Expand Down Expand Up @@ -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"]
)

Expand Down

0 comments on commit 138bb27

Please sign in to comment.