For me, this works to save a figure to the specified absolute file path with a jpeg output. Can you share the code you are using?
import pygmt
fig = pygmt.Figure()
fig.basemap(frame=True, region=[0, 1, 0, 1], projection="X10c")
fig.savefig("/home/User/Documents/test-save-fig.jpg")