set automatic values in Legend for OUTPUT using Plaxis Python

Hi,

I want to set automatic values in the legend for OUTPUT using Plaxis Python.

I tried this:

g_o.Plots[-1].LegendSettings.MinValue.Automatic = True
g_o.Plots[-1].LegendSettings.MaxValue.Automatic = True

it doesn't give any error, but also doesn't work.
What command should I use?

Many thanks in advance!