Full code that generated the error
.. gmtplot::
:language: python
import pygmt
fig = pygmt.Figure()
fig.coast(projection="G10/52/12c", region="g", frame="g", land="gray")
fig.show()
Full error message
Exception occurred:
File "/Users/seisman/OSS/gmt/sphinx_gmt/sphinx_gmt/gmtplot.py", line 262, in eval_python
catch_display.output.data
AttributeError: 'NoneType' object has no attribute 'data'
The exceptions are most likely due to the redesign of the PyGMT's Figure.show() method in GenericMappingTools/pygmt#529. The main differences between the old and new Figure.show() method is that, the new Figure.show() method no longer returns the image.
Full code that generated the error
Full error message
The exceptions are most likely due to the redesign of the PyGMT's
Figure.show()method in GenericMappingTools/pygmt#529. The main differences between the old and newFigure.show()method is that, the newFigure.show()method no longer returns the image.