pygmt.set_display

pygmt.set_display(method=None)[source]

Set the display method.

Parameters

method (str or None) –

The method to display an image. Choose from:

  • external: PDF preview in an external program [default]

  • notebook: PNG preview [default in Jupyter notebooks]

  • none: Disable image preview