File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1010except ImportError :
1111 Image = None
1212
13- from pygmt .base_plotting import BasePlotting
1413from pygmt .clib import Session
1514from pygmt .exceptions import GMTError , GMTInvalidInput
1615from pygmt .helpers import (
2726SHOWED_FIGURES = []
2827
2928
30- class Figure (BasePlotting ):
29+ class Figure ():
3130 """
3231 A GMT figure to handle all plotting.
3332
@@ -372,3 +371,21 @@ def _repr_html_(self):
372371 base64_png = base64 .encodebytes (raw_png )
373372 html = '<img src="data:image/png;base64,{image}" width="{width}px">'
374373 return html .format (image = base64_png .decode ("utf-8" ), width = 500 )
374+
375+ from pygmt .src import ( # pylint: disable=import-outside-toplevel
376+ basemap ,
377+ coast ,
378+ colorbar ,
379+ contour ,
380+ grdcontour ,
381+ grdimage ,
382+ grdview ,
383+ image ,
384+ inset ,
385+ legend ,
386+ logo ,
387+ meca ,
388+ plot ,
389+ plot3d ,
390+ text ,
391+ )
You can’t perform that action at this time.
0 commit comments