# Setting a different title for each frame in an animation

**URL:** https://discourse.paraview.org/t/setting-a-different-title-for-each-frame-in-an-animation/1899
**Category:** ParaView Support
**Tags:** python, vtk
**Created:** [May 22, 2019, 1:33am UTC](https://discourse.paraview.org/t/setting-a-different-title-for-each-frame-in-an-animation/1899 "2019-05-22T01:33:05Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![bqp](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/b/e9a140/32.png) [@bqp](https://discourse.paraview.org/u/bqp)
#### Post date: [May 22, 2019, 1:33am UTC](https://discourse.paraview.org/t/setting-a-different-title-for-each-frame-in-an-animation/1899/1 "2019-05-22T01:33:06Z")

</div>

I have a folder of legacy VTK files that are enumerated as file\_0000.vtk, file\_0001.vtk, and so on.

I am interested in creating an animation using this series of files, and I already know how to do this just by opening the files series in the Paraview GUI and then opening the animation view. What I would like to do, however, is the following: I want each frame in the animation to have a different title. Specifically, I want the title of each frame in the animation to be the value of a corresponding parameter I have stashed in a numpy .npz file sitting in the same directory.

I have dug around the forum, and the closest discussion I could find to my question is “[Show text field changing every time step from programmable filter](https://discourse.paraview.org/t/show-text-field-changing-every-time-step-from-programmable-filter/1469).” My desire, however, is that instead of displaying the time value on each frame, I want to display a parameter (a double precision float) corresponding to that vtk file instead.

If anyone has any hints about how to go about doing this, that would be greatly appreciated. I’m currently running Paraview 5.6.0 on Windows 10.

---

<div class="post-metadata">

### Author: ![gromaxe](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/g/90ced4/32.png) [@gromaxe](https://discourse.paraview.org/u/gromaxe)
#### Post date: [May 22, 2019, 3:35am UTC](https://discourse.paraview.org/t/setting-a-different-title-for-each-frame-in-an-animation/1899/2 "2019-05-22T03:35:58Z")

</div>

Hello!

The first thought that comes to mind is opening array of parameters and add Python Annotation filter which will display element of array with index equal to timestep.

In my project it looks like this:  
PythonAnnotation  
Array Association → Row Data  
Expression:  
“{}”.format(input.RowData[“datetime”].GetValue(0))

I haven’t opened .npz in Paraview, if it won’t work, try to convert it to .csv
