how to make “reset()” more effective
Open
- Dominant language
- Python
- Stars
- 1.4k
- Forks
- 316
- Avg merge
- 7h 44m
- Merged PRs (30d)
- 5
Description
Here’s the part of my code:
```
def anim():
ms = pts.mlab_source
for i in range(490):
scalars = X_minMax[:,i+1]
print(i)
ms.reset(scalars=scalars)
pts.module_manager.source.save_output('./results/output'+str(i)+'.vtk')
yield
```
When I run it in local, it runs effectively, however, when I use django running this code,
`ms.reset(scalars=scalars)`
this sentence will take a long time, and I don’t know what happens, is there a way to replace it or make it quicker?
thanks for your answer!
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.