Py-pde Status Indicator #611
-
I am trying to use py-pde for a reinforcement learning project, which requires 100s of calls to eq.solve(). However, eq.solve() outputs a status bar when I use it as below: Is there a way to turn off or suppress this status bar, or the "loading widget" update? The status bar is eating memory and slowing down the algorithm. I have tried many standard ways to suppress output in python, including import shutup/shutup.please() and redirecting output, without success. thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
The status bar is called a progress bar in the terminology used by the package. The progress bar is implemented as a tracker, and is enabled by default. To disable the progress bar, simply add the argument |
Beta Was this translation helpful? Give feedback.
-
Worked, thanks! |
Beta Was this translation helpful? Give feedback.
The status bar is called a progress bar in the terminology used by the package. The progress bar is implemented as a tracker, and is enabled by default. To disable the progress bar, simply add the argument
tracker=None
when calling thesolve
method of the PDE.