You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When updating a plot dynamically, as in the example below, the size of the image should
be kept at the size set by the user. Do not replace with the standard size on every frame.
from cdb.graphics.plot import *
import numpy as np
import time
out=0
for i in np.linspace(1.0, 4.0, 100):
out=display(plot($\sin( @(i)*x )\cos(2 x)$, ($x$, -6.28, 6.28), samples=300, grid=True), out)
time.sleep(0.01)
The text was updated successfully, but these errors were encountered:
When updating a plot dynamically, as in the example below, the size of the image should
be kept at the size set by the user. Do not replace with the standard size on every frame.
The text was updated successfully, but these errors were encountered: