How to change the coloured cpt file to gray coloured cpt

I am trying to make a gray color map using pygmt. While using cmap=‘dem1’ it gives me the nice coloured map with higher resolution.
Moreover while I am trying the cmap=‘gray’ it lost the resolution so i am trying to change dem1 to gray color.
However while i am changing the makecpt of dem1 as x=pygmt.makecpt(cmap=‘dem1’,series=’-1000/1000/0.1’,continuous=True) it doesnot give the gray coloured image

If anbody will suggest a better solution for the same, it will be very helpful.
My script is

fig = pygmt.Figure()
fig.basemap(region=region, projection=“M8c”, frame=[“Wsne”, “x1+lLatitude(°)”, “y1+lLongutide(°)”])
x=pygmt.makecpt(cmap=‘dem1’,series=’-1000/1000/0.1’,continuous=True)
topo_data = “@earth_relief_30s
fig.grdimage(grid=topo_data,region=region,cmap=x,projection=‘M8c’,shading=False)