Legend size pvbash


I am using Paraview 5.47 on Ubuntu 18.04 LTS.
I have recorded my file.py in order to save my set of instructions (some camera adjustments and save a screenshot). When I open Paraview and I load the state everything works fine.
But when I use pvbash, it saves the file.png with a over-sized legend bar.
It seems that some options (that I don’t adjust during the file.py recording) must be set for the colour legend bar.
Please let me know, if you have an experiences in merit.


typo: I mean 5.7 paraview version