Python script to plot ucv