HOW TO mark sunbdomain

hello
i am trying mark the boundary in cylindrical shape.i follow this link but i got this error
marker = lambda height, r, c, projection: c * c < r ** 2 and projection > 0 and projection < height
sphere_dofs = fem.locate_dofs_geometrical (V=V, marker=marker)
Traceback (most recent call last):

Cell In[41], line 1
sphere_dofs = fem.locate_dofs_geometrical (V=V, marker=marker)

File ~/Documents/Software/fenics-x/install/lib64/python3.10/site-packages/dolfinx/fem/bcs.py:50 in locate_dofs_geometrical
return _cpp.fem.locate_dofs_geometrical(V._cpp_object, marker) # type: ignore

TypeError: () missing 3 required positional arguments: ‘r’, ‘c’, and ‘projection’
could you please help.

https://jsdokken.com/dolfinx-tutorial/chapter3/multiple_dirichlet.html

Please make a minimal reproducible example, encapsulated with 3x`,ie.

```python
#add code here

```

Note that the lambda function that is input to

only takes in a single argument, the coordinate x, Which is a numpy array of shape (num_points, 3).

Any other input variable has to be encapsulated as a local variable in your script.