Skip to content

Commit

Permalink
Fix date annotation macro for paraview
Browse files Browse the repository at this point in the history
  • Loading branch information
xylar committed Jul 21, 2020
1 parent 117002e commit b684fdc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@

# create a new 'Python Annotation'
pythonAnnotation1 = paraview.simple.PythonAnnotation(Input=programmableFilter1)
pythonAnnotation1.ArrayAssociation = 'Row Data'
pythonAnnotation1.ArrayAssociation = 'Field Data'
pythonAnnotation1.Expression = \
'"{}".format(input.RowData["datetime"].GetValue(0))'

Expand Down

0 comments on commit b684fdc

Please sign in to comment.