File tree Expand file tree Collapse file tree 2 files changed +19
-61
lines changed Expand file tree Collapse file tree 2 files changed +19
-61
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 10
10
except ImportError :
11
11
Image = None
12
12
13
- from pygmt .base_plotting import BasePlotting
14
13
from pygmt .clib import Session
15
14
from pygmt .exceptions import GMTError , GMTInvalidInput
16
15
from pygmt .helpers import (
27
26
SHOWED_FIGURES = []
28
27
29
28
30
- class Figure (BasePlotting ):
29
+ class Figure ():
31
30
"""
32
31
A GMT figure to handle all plotting.
33
32
@@ -372,3 +371,21 @@ def _repr_html_(self):
372
371
base64_png = base64 .encodebytes (raw_png )
373
372
html = '<img src="data:image/png;base64,{image}" width="{width}px">'
374
373
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