Grdimage function not working

I’ve built the Pygmt with gdal and according to the api that should allow the grdimage function to have an image file path that should show up with a generated visualization. However, this isn’t working. If anyone has ideas can you please let me know? Thanks.