Hides a parameter after the control panel is drawn. Useful for callback functions, i.e. toggling the visibility of a parameter based on the value of another parameter. Hidden parameters can be re-shown with Params.show()
.
Parameters
name — str, required
The name of the parameter to hide.
charwick
Jul 04, 2024 at 15:08This code hides the
'rent'
parameter depending on whether the'city'
parameter is checked.